	function getmonth(jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec)
	{
		this[0] = jan;
		this[1] = feb;
		this[2] = mar;
		this[3] = apr;
		this[4] = may;
		this[5] = jun;
		this[6] = jul;
		this[7] = aug;
		this[8] = sep;
		this[9] = oct;
		this[10] = nov;
		this[11] = dec;
	}
	
	function nateegah()
	{ 
		var monthNames = "  January February    March    April      May     June     July   AugustSeptember   Octber November December"; 
		var today = new Date(); 
		var thisDay;
		var monthDays = new getmonth(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
		year = today.getYear() + 1900;

		if(parseInt(navigator.appVersion) > 3)
		{
			if(navigator.appName == "Netscape") 
				year = today.getYear() + 1900; 	
			else  
				year = today.getYear();    
		}    

		thisDay = today.getDate(); 

		if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) 
			monthDays[1] = 29;   

			nDays = monthDays[today.getMonth()];
			firstDay = today;firstDay.setDate(1);   
			startDay = firstDay.getDay();
			document.writeln("<center>");
			document.write("<table border=0 cellpadding=1 Width=%15>");
			document.write("<tr BGCOLOR=#CCDDDD ><th colspan=7>");
			document.write("<Font size=3>"); 
			document.write("<Font color=red>");
			document.write("<Font face=Tahoma>");
			document.write(monthNames.substring(today.getMonth() * 9,(today.getMonth() + 1) * 9));
			document.write(" ");
			document.write(year);
			document.write("<tr BGCOLOR=#EEEEEE ><th>");
			document.write("<font Size=1>Sun<th><Font Size=1>Mon<th><Font size=1>Tue<th><font size=1>Wed<th><Font Size=1>Thu<th><Font Size=1>Fri<th><Font Size=1>Sat");
			document.write("<tr>");column = 0;
		
		for (i=0; i<startDay; i++)     
		{
			document.write("<td align=center BGCOLOR=#9999FF>");
			column++;
			document.write("</font>");
		}
	
		for (i=1; i<=nDays; i++)   
		{   
			document.write("<td align=center>");
			document.write("<font size=1>");
			document.write("<Font color=blue>");
			
			if (i == thisDay)        
				
			{     
				document.write("<blink><Font color=red><blink><b>")
				document.write("<a onmouseover=eventoftheday()>");	
			}

			document.write(i);

			if (i == thisDay)
			{
				document.write("</Font></b>")
				document.write("</font></a>");
			}

			column++;

			if (column == 7)
			{
				document.write("<tr font size=1>");
				column = 0;
			}
		}
	
		document.write("</Table>");
	}
	
	function eventoftheday() 
	{
		newwin = open("", "newwindow", "scrollbar=yes,width=150,height=2");
		newwin.document.open();
 		with (newwin.document) 
 		{
			write("<html><body Background=\"/wa/wacopticchurch/images/cloud.jpg\" onBlur='window.close()'>");
			write("<Center><img border=\"0\" src=\"/wa/wacopticchurch/images/undcons.gif\"></Center><BR>");
			write("<Font=Tahoma><font color=\"#2400FF\">Under Construction!</Font></Font><BR>");
			write("</body></html>");
		}
  		newwin.document.close();
	}	

	nateegah();
	document.write();
		
	function closing()
	{
		window.close()
	}        
