function wrthead () {
	document.write('<center>\n');
	document.write('<img src=images/logo.png>\n');
	document.write('<br><table><tr>\n');
	document.write('<td><a class="btnmenu" href="index.html">Home</a></td>\n');
	document.write('<td><a class="btnmenu" href="menu.html">Menu</a></td>\n');
	document.write('<td><a class="btnmenu" href="specials.html">Activities</a></td>\n');
	document.write('<td><a class="btnmenu" href="specials.html">Specials</a></td>\n');
	document.write('<td><a class="btnmenu" href="services.html">Services</a></td>\n');
	document.write('<td><a class="btnmenu" href="events.html">Events</a></td>\n');
	document.write('<td><a class="btnmenu" href="aboutus.html">About Us</a></td>\n');
	document.write('</tr></table><img src="images/spacer.gif" height=10>\n');
	document.write('<table width=653 height=508 bgcolor=#CCCC99 background=images/menubg.png border=0 cellspacing=0 cellpadding=0>\n');
	document.write('<tr valign=top align=left>\n');
	document.write('<td width=20px>&nbsp;</td>\n');
	document.write('<td width=280px>&nbsp;</td>\n');
	document.write('<td width=48px>&nbsp;</td>\n');
	document.write('<td width=280px>&nbsp;</td>\n');
	document.write('<td>&nbsp;</td>\n');
	document.write('</tr>\n');
	document.write('<tr valign=top align=left>\n');
	document.write('<td>&nbsp;</td>\n');
	document.write('<td width=280px>\n');
	}

function wrtmiddle () {
	document.write('</td>\n');
	document.write('<td>&nbsp;</td>\n');
	document.write('<td width=280px>\n');
	}

function wrtend () {
	document.write('</td>\n');
	document.write('<td>&nbsp;</td>\n');
	document.write('</tr>\n');
	document.write('</table>\n');
	document.write('<br>&copy; 2011 High Rocks Restaurant\n');
	document.write('&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n');
	document.write('&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n');
	document.write('Web Support by <a href="http://www.northwestpages.com" target=_blank>Northwestpages.com</a>\n');
	document.write('&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n');
	document.write('&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n');
	document.write('<a href="privacy.html"><u>Privacy Statement</u></a>\n');
	document.write('</font>\n');
	}
	
var today = new Date();
var chkdate = new Date();
var showflag = "Y";
function checkdate(chkYYYY,chkMM,chkDD) {
	chkdate.setFullYear(chkYYYY);
	chkMM -= 1;
	chkdate.setMonth(chkMM);
	chkdate.setDate(chkDD);
	if (today > chkdate) {showflag = "N";}
	else {showflag = "Y";}
	}

function whoto(add_email1,add_where,add_desc) {
	document.write('<a class="tdmenu" HREF="mailto:'+add_email1+'@'+add_where+'">'+add_desc+'</a>\n');
	}
