
function getCalendarDate()
{
   var months = new Array(13);
   months[0]  = "January";
   months[1]  = "February";
   months[2]  = "March";
   months[3]  = "April";
   months[4]  = "May";
   months[5]  = "June";
   months[6]  = "July";
   months[7]  = "August";
   months[8]  = "September";
   months[9]  = "October";
   months[10] = "November";
   months[11] = "December";
   var now         = new Date();
   var monthnumber = now.getMonth();
   var monthname   = months[monthnumber];
   var monthday    = now.getDate();
   var year        = now.getYear();
   if(year < 2000) { year = year + 1900; }
   var dateString = monthname +
                    ' ' +
                    monthday +
                    ', ' +
                    year;
   return dateString;
} 

function getClockTime()
{
   var now    = new Date();
   var hour   = now.getHours();
   var minute = now.getMinutes();
   var second = now.getSeconds();
   var ap = "AM";
   if (hour   > 11) { ap = "PM";             }
   if (hour   > 12) { hour = hour - 12;      }
   if (hour   == 0) { hour = 12;             }
   if (hour   < 10) { hour   = "0" + hour;   }
   if (minute < 10) { minute = "0" + minute; }
   if (second < 10) { second = "0" + second; }
   var timeString = hour +
                    ':' +
                    minute +
                    ':' +
                    second +
                    " " +
                    ap;
   return timeString;
} 



function full_screen(){
window.moveTo(0,0)
window.resizeTo(screen.width,screen.height-30)
}

function LoadWindow(picnum)
	{
		
		
		objNewWin=window.open(picnum,"newwindow","left=350,top=150,width=665,height=500,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
		if (window.focus) {objNewWin.focus()}
	}
function LoadWindow_wide(picnum)
	{
		
		
		objNewWin2=window.open(picnum,"newwindow","left=350,top=150,width=665,height=500,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
		if (window.focus) {objNewWin.focus()}
	}

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->


function writedate()
{
var calendarDate = getCalendarDate();
var clockTime = getClockTime();
document.write('<a class=linkblue>' + calendarDate);
document.write('&nbsp;&nbsp;'+clockTime + '</a>');
}

