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>06 16 20 31 36 <font class=FNTRed>08</font> <font class=FNTBlu>x5</font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>SAT 03/13</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 ("MEGA Millions</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn> 03 22 48 52 56 <font class=FNTRed>13 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>TUE 03/16</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('113')\"><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('113')\"><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('113')\"><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('113')\"><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 ("Megaplier</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>4</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>TUE 03/16</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('141')\"><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('141')\"><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('141')\"><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('141')\"><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 07 09 12 29 <font class=FNTBlu>x4</font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>TUE 03/16</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>7 4 3 6</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>WED 03/17</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>1 5 0</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>WED 03/17</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>6 9 9 1</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>TUE 03/16</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>3 1 8</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>TUE 03/16</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>");
}
