function CalMenu()
{


	   monthnames = new Array(

	   "January",

	   "Februrary",

	   "March",

	   "April",

	   "May",

	   "June",

	   "July",

	   "August",

	   "September",

	   "October",

	   "November",

	   "Decemeber");

	   var linkcount=0;

	   function addlink(month, day, href) {

	   var entry = new Array(3);

	   entry[0] = month;

	   entry[1] = day;

	   entry[2] = href;

	   this[linkcount++] = entry;

	   }

	   Array.prototype.addlink = addlink;

	   linkdays = new Array();

	   monthdays = new Array(12);

	   monthdays[0]=31;

	   monthdays[1]=28;

	   monthdays[2]=31;

	   monthdays[3]=30;

	   monthdays[4]=31;

	   monthdays[5]=30;

	   monthdays[6]=31;

	   monthdays[7]=31;

	   monthdays[8]=30;

	   monthdays[9]=31;

	   monthdays[10]=30;

	   monthdays[11]=31;

	   todayDate=new Date();

	   thisday=todayDate.getDay();

	   thismonth=todayDate.getMonth();

	   thisdate=todayDate.getDate();

	   thisyear=todayDate.getYear();

	   thisyear = thisyear % 100;

	   thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));

	   if (((thisyear % 4 == 0)

	   && !(thisyear % 100 == 0))

	   ||(thisyear % 400 == 0)) monthdays[1]++;

	   startspaces=thisdate;

	   while (startspaces > 7) startspaces-=7;

	   startspaces = thisday - startspaces + 1;

	   if (startspaces < 0) startspaces+=7;

	   document.write("<table border=2 width=250  ");

	   document.write("bordercolor=black><font color=blue>");

	   document.write("<tr><td colspan=7><center><strong>"

	   + monthnames[thismonth] + " " + thisyear

	   + "</strong></font></td></tr>");

	   document.write("<tr>");

	   document.write("<td align=center>Su</td>");

	   document.write("<td align=center>M</td>");

	   document.write("<td align=center>Tu</td>");

	   document.write("<td align=center>W</td>");

	   document.write("<td align=center>Th</td>");

	   document.write("<td align=center>F</td>");

	   document.write("<td align=center>Sa</td>");

	   document.write("</tr>");

	   document.write("<tr>");

	   for (s=0;s<startspaces;s++) {

	   document.write("<td> </td>");

	   }

	   count=1;

	   while (count <= monthdays[thismonth]) {

	   for (b = startspaces;b<7;b++) {

	   linktrue=false;

	   document.write("<td align=center>");

	   for (c=0;c<linkdays.length;c++) {

	   if (linkdays[c] != null) {

	   if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) {

	   document.write("<a href=\"" + linkdays[c][2] + "\">");

	   linktrue=true;

		 }

	      }

	   }

	   if (count==thisdate) {

	   document.write("<font color='red'><strong>");

	   }

	   if (count <= monthdays[thismonth]) {

	   document.write(count);

	   }

	   else {

	   document.write(" ");

	   }

	   if (count==thisdate) {

	   document.write("</strong></font>");

	   }

	   if (linktrue)

	   document.write("</a>");

	   document.write("</td>");

	   count++;

	   }

	   document.write("</tr>");

	   document.write("<tr>");

	   startspaces=0;

	   }

	   document.write("</table></center></p>");
}







function leftMenu()
{
  document.write ('<tr>');
  //document.write ('<td width="30" valign="top" class="leftcol1"><IMG src="images/leftbar1.gif" width="30" height="165" alt=""></td>');
  document.write ('<td width="174" valign="top" class="newsrow">');
  document.write ('<table width="225" border="0" cellspacing="0" cellpadding="0">');
  document.write ('<tr>');
  document.write ('<td id="logo" align="center"><a href="http://mountsage.com/testdrill/index.php"><img border="0" src="http://www.mountsage.com/testdrill/images/mountsage.jpg" height="79" title="Mountsage.com" width="120"/></a></td>');
  document.write ('</tr>');
  document.write ('<tr>');
  document.write ('<td id="menu">');	  	
  document.write ('<img src="images/bullet.gif" title="Welcome" width="10" height="10"> <a href="index.html"><b>Welcome</b></a><br>'); 
  document.write ('<img src="images/bullet.gif" title="Field Layout" width="10" height="10"> <a href="field.html"><b>Field Layout</b></a><br>'); 
  document.write ('<img src="images/bullet.gif" title="Hawks Team Players" width="10" height="10"> <a href="hawksTeam.html"><b>Hawks Team Players</b></a><br>');
  document.write ('<img src="images/bullet.gif" title="Practice Schedule" width="10" height="10"> <a href="practice.html"><b>Practice Schedule</b></a><br>');
  document.write ('<img src="images/bullet.gif" title="Game Schedule" width="10" height="10"> <a href="gameSchedule.html"><b>Game Schedule</b></a><br>');
  document.write ('<img src="images/bullet.gif" title="Score Card" width="10" height="10"> <a href="scoreCard.html"><b>Score Card</b></a><br>');    
  //document.write ('<img src="images/bullet.gif" title="Snack Schedule" width="10" height="10"><b>Snack Schedule</b><br>');    
  //document.write ('<a href="snackPractice.html">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Practice Snack Schedule</a><br>');    
  document.write ('<img src="images/bullet.gif" title="Snack Schedule" width="10" height="10"> <a href="snackSchedule.html"><b>Snack Schedule</b></a><br>');  
  document.write ('<img src="images/bullet.gif" title="Weather Info" width="10" height="10"> <a href="weather.html"><b>Weather Info</b></a><br>');
  document.write ('<img src="images/bullet.gif" title="Tournament Info" width="10" height="10"> <a href="tournament.html"><b>Tournament Info</b></a><br>');    
  document.write ('<img src="images/bullet.gif" title="Hawks Moment" width="10" height="10"> <a href="pictures.html"><b>Hawks Moment</b> </a><br>');
  document.write ('<img src="images/bullet.gif" title="Contact us" width="10" height="10"> <a href="contactUs.html"><b>Contact us</b></a><br>');
      //document.write ('<img src="images/bullet.gif" title="End of the season Party" width="10" height="10"> <a href="endSeason.html"><b>End of the season</b></a><br>');
      document.write ('<img src="images/bullet.gif" title="From coaches..." width="10" height="10"> <a href="fromCoaches.html"><b>From coaches...</b></a><br>');
      //document.write ('<img src="images/bullet.gif" title="Previous games" width="10" height="10"><font color="white" size="2.5pt" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;Previous games</font><br>');
       
         //document.write ('<a href="march15_31.html">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/bullet.gif" width="10" height="10" border="0"><img src="images/bullet.gif" title="March 15 - 31" width="10" height="10" border="0"> March 15 - 31</a><br>');
         //document.write ('<a href="april1_15.html">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/bullet.gif" width="10" height="10" border="0"><img src="images/bullet.gif" title="April 1 - 15" width="10" height="10" border="0"> April 1 - 15</a><br>');
         //document.write ('<a href="april16_30.html">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/bullet.gif" width="10" height="10" border="0"><img src="images/bullet.gif" title="April 16 - 30" width="10" height="10" border="0"> April 16 - 30</a><br>');
         //document.write ('<a href="may1_15.html">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/bullet.gif" width="10" height="10" border="0"><img src="images/bullet.gif" title="May 1 - 15" width="10" height="10" border="0"> May 1 - 15</a><br>');
        // document.write ('<a href="may16_31.html">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/bullet.gif" width="10" height="10" border="0"><img src="images/bullet.gif" title="May 16 - 31" width="10" height="10" border="0"> May 16 - 31</a><br>');
      
	   document.write ('</td>');
      document.write ('</tr>');
      
            document.write ('<tr>');
              document.write ('<td><img src="images/newsline.gif" alt="" width="174" height="9"></td>');
            document.write ('</tr>');
            document.write ('<tr>');
              document.write ('<td id="newsbox"><h1>LATEST NEWS </h1>');
                document.write ('Welcome to Spring 2009 Soccer Recreational League games!</p>');
               // document.write ('<p>5.31.09:<br>');
                //document.write ('Soccer practice at 4:00 pm.</p>');
                //document.write ('<p>6.2.09:<br>');
                //document.write ('Soccer practice at 6:30 pm.</p>');
                //document.write ('<p>6.6.09:<br>');
                //document.write ('12:15pm game vs Anacondas.<br>4:00pm game vs Dynamites.</p>'); 
 	
	document.write ('<p>&nbsp;<p>&nbsp;<a href="http://www.fccary.com/" target="_blank"><font color="navy"><font size="2">**** Futbol Club of Cary</font></font></a><br>');
                document.write('</td>');
            document.write ('</tr>');
    document.write ('</table></td>');
}




var mes="Mountsage.com has disabled right click!";

function clickIE4(){
if (event.button==2){
alert(mes);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(mes);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(mes);return false")




function disableSelection(target)
{
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //All other route (ie: Opera)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}
