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>Ontario 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=82 class=TDRowTitle align=CENTER><b>Features</b></td></tr>");
}
var curTime=new Date();var dow=curTime.getDay();var show_pb=(dow==0||dow==6);
function ShowBottomOfResults() {
document.write ("<tr align=LEFT><td class=TDRow1>");
document.write ("Lotto 6/49</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn> 07 09 14 24 25 44 <font class=FNTRed>28 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>SAT 03/06</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('201')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('201')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('201')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('201')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2>");
document.write ("Lotto Max</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn> 05 08 18 22 32 39 45 <font class=FNTRed>19 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>FRI 03/05</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('203')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('203')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('203')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('203')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow1>");
document.write ("Ontario 49</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn> 04 08 27 31 33 43 <font class=FNTRed>02 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>SAT 03/06</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON1')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ON1')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ON1')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ON1')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2>");
document.write ("Lottario</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn> 06 25 29 38 40 43 <font class=FNTRed>22 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>SAT 03/06</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON2')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ON2')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ON2')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ON2')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow1>");
document.write ("Early Bird</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn>01 26 32 43</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>SAT 03/06</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON7')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ON7')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ON7')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ON7')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2>");
document.write ("PayDay</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn>06 16 37 44</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>THU 03/04</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON8')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ON8')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ON8')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ON8')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow1>");
document.write ("Keno</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn>06 09 10 13 14 15 19 22 25 29<br>30 35 37 38 39 45 48 60 65 69</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>TUE 03/09</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON3')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ON3')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ON3')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ON3')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2>");
document.write ("Pick 4</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn>8 1 9 6</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>TUE 03/09</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ONC')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ONC')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ONC')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ONC')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow1>");
document.write ("Pick 3</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn>9 9 6</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>TUE 03/09</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ONA')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ONA')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ONA')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ONA')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("<tr align=LEFT><td class=TDRow2>");
document.write ("Encore</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn>2 6 5 9 2 1 5</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>TUE 03/09</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON6')\"><img border=0 vspace=1 hspace=1 alt=\"Frequency Chart\" src=\"http://www.lottochina.com/imgs/icon_chart.gif\"></A>");
document.write ("<A class=LK0 title=\"Smart Pick\" href=\"JAVASCRIPT:ShowSmartPick('ON6')\"><img border=0 vspace=1 hspace=1 alt=\"Smart Pick\" src=\"http://www.lottochina.com/imgs/icon_smart.gif\"></A>");
document.write ("<A class=LK0 title=\"Have I Won?\" href=\"JAVASCRIPT:ShowHaveIWon('ON6')\"><img border=0 vspace=1 hspace=1 alt=\"Have I Won?\" src=\"http://www.lottochina.com/imgs/icon_mf.gif\"></A>");
document.write ("<A class=LK0 title=\"Odds Calculator\" href=\"JAVASCRIPT:ShowOddsCalculate('ON6')\"><img border=0 vspace=1 hspace=1 alt=\"Odds Calculator\" src=\"http://www.lottochina.com/imgs/icon_odds.gif\"></A>");
document.write ("</td></tr>");
document.write ("</table></td></tr></table></center>");
}
