<!-- Hide from older browsers...

//Function to check form is filled in correctly before submitting
function CheckForm () {

	var errorMsg = "";
	var errorMsgLong = "";
	var invalid = " ";

		
	if (document.frmContact.name.value.length <= 1){
		errorMsg += " - Full Name";
	}
	
	if (document.frmContact.email.value.length <= 1){
		errorMsg += "\n - Email Address";
	}
		
	if (document.frmContact.comments.value.length <= 1){
		errorMsg += "\n - Comments/Questions";
	}
	
	
	if ((errorMsg != "") || (errorMsgLong != "")){
		msg = "-----------------------------------------------------------\n";
		msg += "The following field(s) need to be corrected:\n";
		msg += "-----------------------------------------------------------\n";
		
		errorMsg += alert(msg + errorMsg + "\n" + errorMsgLong);
		return false;
	}
	
	return true;
}

//Popup window for pasword retrive
function showPopup(mypage, myname, w, h, scroll) {

var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',nonresizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->