


// Convert document.lastModified to "TextMonth DD, YYYY" date format
// © 2002 Wizard Graphics - Incept: 2002-06-14
// http://www.wizard4multimedia.com
//
function DocLastUpdated(){
	heading = "Web Site Last Updated: "
	LastUpdate = document.lastModified;

	LastUpdateM = LastUpdate.substring(0,2);
	if (LastUpdateM == "01"){LastUpdateM = "January"}
	else if (LastUpdateM == "02"){LastUpdateM = "February"}
	else if (LastUpdateM == "03"){LastUpdateM = "March"}
	else if (LastUpdateM == "04"){LastUpdateM = "April"}
	else if (LastUpdateM == "05"){LastUpdateM = "May"}
	else if (LastUpdateM == "06"){LastUpdateM = "June"}
	else if (LastUpdateM == "07"){LastUpdateM = "July"}
	else if (LastUpdateM == "08"){LastUpdateM = "August"}
	else if (LastUpdateM == "09"){LastUpdateM = "September"}
	else if (LastUpdateM == "10"){LastUpdateM = "October"}
	else if (LastUpdateM == "11"){LastUpdateM = "November"}
	else {LastUpdateM = "December"}

	LastUpdateM = LastUpdateM + ' '; 
	LastUpdateD = LastUpdate.substring(3,5) + ', ';
	LastUpdateY = LastUpdate.substring(6,10);

	LastUpdate = heading + LastUpdateM + LastUpdateD + LastUpdateY;
	return(LastUpdate);
}


//	Display Current Date
//	----------------------------------------------------------------------------
//
function datum() {
	date = new Date();

	var dayNum  = date.getDay();
	var Dnum    = date.getDate();
	var MnthNum = date.getMonth();
	var year    = date.getYear();
	var Dname   = '';
	var Mname   = '';

	if(dayNum == 0){Dname = 'Sunday';}
	if(dayNum == 1){Dname = 'Monday';}
	if(dayNum == 2){Dname = 'Tuesday';}
	if(dayNum == 3){Dname = 'Wednesday';}
	if(dayNum == 4){Dname = 'Thursday';}
	if(dayNum == 5){Dname = 'Friday';}
	if(dayNum == 6){Dname = 'Saturday';}

	if(MnthNum == 0){Mname = 'January';}
	if(MnthNum == 1){Mname = 'February';}
	if(MnthNum == 2){Mname = 'March';}
	if(MnthNum == 3){Mname = 'April';}
	if(MnthNum == 4){Mname = 'May';}
	if(MnthNum == 5){Mname = 'June';}
	if(MnthNum == 6){Mname = 'July';}
	if(MnthNum == 7){Mname = 'August';}
	if(MnthNum == 8){Mname = 'September';}
	if(MnthNum == 9){Mname = 'October';}
	if(MnthNum == 10){Mname = 'November';}
	if(MnthNum == 11){Mname ='December';}

	var dateline = Dname + ', ' + Mname + ' ' + Dnum + ', ' + year;
	document.write(dateline);
}
//	Paste this into web page to Display Current Date
//
//	<script language="JavaScript"><!--
//		datum();
	//--></script>

