/* Show Date at top of page */

function GetMonth(intMonth){
	var MonthArray = new Array("January", "February", "March","April", "May", "June","July", "August", "September","October", "November", "December") 
	return MonthArray[intMonth] 	  	 
}

function GetDay(intDay){
	var DayArray = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun") 
	return DayArray[intDay] 	  	 
}


function getDateStr(){
var today = new Date()
var year = today.getYear()
if(year<1000) year+=1900
var todayStr = GetDay(today.getDay()) + ", " + GetMonth(today.getMonth()) + " " + today.getDate()
todayStr += ", " + year
return todayStr
}

/* End Show Date at top of page */


function checkFields()
{
if (document.sendData.name.value.indexOf("'") != -1) {
	window.alert("The ' sign is not allowed in the name field");
	return false;
	}
if (document.sendData.name.value == "")	{
	window.alert("You must put in your name");
	return false;
	}
if (document.sendData.address.value == ""){
window.alert("You must put in your email address");
return false;
	}
}
