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>Massachusetts 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 ("Powerball</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn> 15 23 43 45 56 <font class=FNTRed>07 </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('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 ("Megabucks Doubler</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>05 11 15 28 29 33</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow1 width=16%>");
document.write ("<code>SAT 02/04</code></td>");
document.write ("<td align=CENTER class=TDRow1 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('MA2')\"><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('MA2')\"><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('MA2')\"><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('MA2')\"><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 ("Cash Winfall</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTGrn>06 16 17 27 30 41</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>MON 01/23</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('MA4')\"><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('MA4')\"><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('MA4')\"><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('MA4')\"><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 ("MassCash</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTGrn>11 12 21 23 29</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('MA3')\"><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('MA3')\"><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('MA3')\"><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('MA3')\"><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 Numbers</td>");
document.write ("<td class=TDRow2 width=43%><b>");
document.write ("<font class=FNTBlu>6 6 4 9</font>");
document.write ("</b></td>");
document.write ("<td align=CENTER class=TDRow2 width=16%>");
document.write ("<code>WED 02/08</code></td>");
document.write ("<td align=CENTER class=TDRow2 width=18%>");
document.write ("<A class=LK0 href=\"JAVASCRIPT:ShowFreqChart('MAA')\"><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('MAA')\"><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('MAA')\"><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('MAA')\"><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 Numbers</td>");
document.write ("<td class=TDRow1 width=43%><b>");
document.write ("<font class=FNTBlk>5 4 4 1</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('MAC')\"><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('MAC')\"><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('MAC')\"><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('MAC')\"><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>");
}

