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>California 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 ("MEGA Millions</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn> 17 23 30 37 45 <font class=FNTRed>04 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>TUE 02/07</code></td>");
document.write ("<td align=CENTER class=TDRow1 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=TDRow2 width=23%>");
document.write ("SuperLotto Plus</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn> 08 12 25 33 45 <font class=FNTRed>05 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>SAT 02/04</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('CA1')\"><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('CA1')\"><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('CA1')\"><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('CA1')\"><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 ("Fantasy 5</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>03 14 23 24 35</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>TUE 02/07</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('CA2')\"><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('CA2')\"><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('CA2')\"><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('CA2')\"><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 ("Daily 4</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlk>5 8 4 5</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>TUE 02/07</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('CAB')\"><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('CAB')\"><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('CAB')\"><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('CAB')\"><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 ("Daily 3 Midday</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTBlu>2 8 4</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>TUE 02/07</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('CAC')\"><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('CAC')\"><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('CAC')\"><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('CAC')\"><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 ("Daily 3 Evening</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlk>8 4 5</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>TUE 02/07</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('CAA')\"><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('CAA')\"><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('CAA')\"><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('CAA')\"><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 ("Daily Derby</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn><font class=FNTBlu><code>1st:</code></font> 4-Big Ben<br><font class=FNTBlu><code>2nd:</code></font> 5-California Classic<br><font class=FNTBlu><code>3rd:</code></font> 12-Lucky Charms<br><font class=FNTBlu><code>Time:</code></font> <font class=FNTRed>1:47.82</font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>TUE 02/07</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('CA3')\"><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('CA3')\"><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('CA3')\"><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('CA3')\"><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>");
}

