function ShowTopOfResults() {
document.write ("<center><table class=TBLFeed1 width=100% border=0 cellspacing=1 cellpadding=0><tr><td class=TDBorder>");
document.write ("<table class=TBLFeed2 border=0 cellpadding=1 cellspacing=1 width=100%>");
document.write ("<tr align=CENTER><td colspan=4 class=TDTitle><b>South Carolina Lottery Results</b></td></tr>");
document.write ("<tr align=LEFT><td width=23% class=TDRowTitle><b>Game</b></td>");
document.write ("<td width=42% class=TDRowTitle><b>Results</b></td>");
document.write ("<td width=16% class=TDRowTitle align=CENTER><b>Draw Date</b></td>");
document.write ("<td width=19% class=TDRowTitle align=CENTER><b>Features</b></td></tr>");
}
function ShowBottomOfResults() {
document.write ("<tr align=LEFT><td class=TDRow1 width=23%>");
document.write ("Powerball</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>02 05 16 36 40 <font class=FNTRed>36</font> <font class=FNTBlu>x2</font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>SAT 03/31</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('101')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottofactor.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowSmartPick('101')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottofactor.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowHaveIWon('101')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottofactor.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowOddsCalculate('101')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottofactor.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2 width=23%>");
document.write ("Palmetto Cash 5</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn>06 13 14 18 23 <font class=FNTBlu>x3</font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>WED 04/04</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('SC2')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottofactor.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowSmartPick('SC2')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottofactor.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowHaveIWon('SC2')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottofactor.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowOddsCalculate('SC2')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottofactor.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow1 width=23%>");
document.write ("Midday 4</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTBlu>8 2 2 4</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>WED 04/04</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('SCC')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottofactor.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowSmartPick('SCC')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottofactor.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowHaveIWon('SCC')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottofactor.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowOddsCalculate('SCC')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottofactor.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2 width=23%>");
document.write ("Midday 3</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlu>8 2 8</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>WED 04/04</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('SCA')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottofactor.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowSmartPick('SCA')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottofactor.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowHaveIWon('SCA')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottofactor.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowOddsCalculate('SCA')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottofactor.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow1 width=23%>");
document.write ("Evening Pick 4</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTBlk>7 1 0 8</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>WED 04/04</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('SCD')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottofactor.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowSmartPick('SCD')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottofactor.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowHaveIWon('SCD')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottofactor.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowOddsCalculate('SCD')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottofactor.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2 width=23%>");
document.write ("Evening Pick 3</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlk>0 4 9</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>WED 04/04</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('SCB')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottofactor.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowSmartPick('SCB')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottofactor.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowHaveIWon('SCB')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottofactor.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowOddsCalculate('SCB')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottofactor.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("</table></td></tr></table></center>");
}

