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>New York 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> 03 22 48 52 56 <font class=FNTRed>13 </font></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('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 ("Powerball</td>");
document.write ("<td class=TDRow2 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=TDRow2 width=16%>");
document.write ("<code>SAT 03/13</code></td>");
document.write ("<td align=CENTER class=TDRow2 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=TDRow1 width=23%>");
document.write ("Lotto</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn> 11 19 25 29 30 55 <font class=FNTRed>27 </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('NY1')\"><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('NY1')\"><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('NY1')\"><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('NY1')\"><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 ("Lotto Extra</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn>59</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>SAT 03/13</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('NY0')\"><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('NY0')\"><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('NY0')\"><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('NY0')\"><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 ("Sweet Million</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>05 09 11 20 24 37</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>MON 03/15</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('NY4')\"><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('NY4')\"><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('NY4')\"><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('NY4')\"><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 ("Take 5</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn>03 04 06 23 32</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('NY2')\"><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('NY2')\"><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('NY2')\"><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('NY2')\"><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 ("Pick 10</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>07 10 13 17 29 31 34 35 42 50<br>51 56 57 59 63 68 72 73 75 78</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('NY3')\"><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('NY3')\"><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('NY3')\"><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('NY3')\"><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 Win 4</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlu>7 0 2 5</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('NYC')\"><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('NYC')\"><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('NYC')\"><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('NYC')\"><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 Numbers</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTBlu>0 7 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('NYA')\"><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('NYA')\"><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('NYA')\"><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('NYA')\"><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 ("Win 4</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlk>3 3 6 3</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('NYD')\"><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('NYD')\"><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('NYD')\"><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('NYD')\"><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 ("Numbers</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTBlk>4 0 3</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('NYB')\"><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('NYB')\"><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('NYB')\"><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('NYB')\"><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>");
}
