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=(typeof(tinbuAdServer.info.subid)!='undefined')||(typeof(pb_on)!='undefined'&&pb_on==1);
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> 02 07 09 18 23 38 <font class=FNTRed>14 </font></font>");
document.write ("<br><a class=LK4 target=_blank href='http://www.lotteryfeed.com/apps/payout.php?g=201'>(Payout)</a>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>WED 02/01</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> 08 24 28 34 37 43 45 <font class=FNTRed>21 </font></font>");
document.write ("<br><a class=LK4 target=_blank href='http://www.lotteryfeed.com/apps/payout.php?g=203'>(MaxMillions & Payout)</a>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>FRI 01/27</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> 09 11 15 34 37 47 <font class=FNTRed>07 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>WED 02/01</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> 11 12 21 26 31 39 <font class=FNTRed>08 </font></font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>SAT 01/28</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>29 31 39 40</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>SAT 01/28</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 ("Keno</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn>06 07 11 15 16 20 23 26 43 49<br>50 52 55 57 60 62 65 66 68 70</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>FRI 02/03</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
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=TDRow1>");
document.write ("Pick 4</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn>5 6 3 9</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>FRI 02/03</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
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=TDRow2>");
document.write ("Pick 3</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn>3 1 3</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>FRI 02/03</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
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=TDRow1>");
document.write ("Encore</td>");
document.write ("<td class=TDRow1><b>");
document.write ("<font class=FNTGrn>3 2 7 1 9 9 0</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1>");
document.write ("<code>FRI 02/03</code></td>");
document.write ("<td align=CENTER class=TDRow1>");
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 ("<tr align=LEFT><td class=TDRow2>");
document.write ("Poker Lotto</td>");
document.write ("<td class=TDRow2><b>");
document.write ("<font class=FNTGrn>5C-3C-10H-2C-6D</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<code>FRI 02/03</code></td>");
document.write ("<td align=CENTER class=TDRow2>");
document.write ("<A class=LK0 title=\"Frequency Chart\" href=\"JAVASCRIPT:ShowFreqChart('ON9')\"><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('ON9')\"><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('ON9')\"><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('ON9')\"><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>");
}

