<!-- // JavaScript Button Mouseover
if (document.images)
	{
		linksoff = new Image(183,21);
		linksoff.src = "images/links.gif";
		linkson = new Image(183,21);
		linkson.src = "images/linkson.gif";
		committeesoff = new Image(183,21);
		committeesoff.src = "images/committees.gif";
		committeeson = new Image(183,21);
		committeeson.src = "images/committeeson.gif";
		publicinfooff = new Image(183,21);
		publicinfooff.src = "images/publicinfo.gif";
		publicinfoon = new Image(183,21);
		publicinfoon.src = "images/publicinfoon.gif";
		employmentoff = new Image(183,21);
		employmentoff.src = "images/employment.gif";
		employmenton = new Image(183,21);
		employmenton.src = "images/employmenton.gif";
		mutualaidoff = new Image(183,21);
		mutualaidoff.src = "images/mutualaid.gif";
		mutualaidon = new Image(183,21);
		mutualaidon.src = "images/mutualaidon.gif";
		documentsoff = new Image(183,21);
		documentsoff.src = "images/documents.gif";
		documentson = new Image(183,21);
		documentson.src = "images/documentson.gif";
		trainingoff = new Image(183,21);
		trainingoff.src = "images/training.gif";
		trainingon = new Image(183,21);
		trainingon.src = "images/trainingon.gif";
		policiesoff = new Image(183,21);
		policiesoff.src = "images/policies.gif";
		policieson = new Image(183,21);
		policieson.src = "images/policieson.gif";
		qualityimprovementoff = new Image(183,21);
		qualityimprovementoff.src = "images/qualityimprovement.gif";
		qualityimprovementon = new Image(183,21);
		qualityimprovementon.src = "images/qualityimprovementon.gif";
		providersoff = new Image(183,21);
		providersoff.src = "images/providers.gif";
		providerson = new Image(183,21);
		providerson.src = "images/providerson.gif";		
		newsoff = new Image(183,21);
		newsoff.src = "images/news.gif";
		newson = new Image(183,21);
		newson.src = "images/newson.gif";
		emspersonneloff = new Image(183,21);
		emspersonneloff.src = "images/emspersonnel.gif";
		emspersonnelon = new Image(183,21);
		emspersonnelon.src = "images/emspersonnelon.gif";
		contactoff = new Image(183,21);
		contactoff.src = "images/contact.gif";
		contacton = new Image(183,21);
		contacton.src = "images/contacton.gif";
		homeoff = new Image(183,21);
		homeoff.src = "images/home.gif";
		homeon = new Image(183,21);
		homeon.src = "images/homeon.gif";
		
		emergencypreparednessoff = new Image(183,21);
		emergencypreparednessoff.src = "images/emergencypreparedness.gif";
		emergencypreparednesson = new Image(183,21);
		emergencypreparednesson.src = "images/emergencypreparednesson.gif";
		
		jointhecamedicalvolunteersoff = new Image(183,21);
		jointhecamedicalvolunteersoff.src = "images/jointhecamedicalvolunteers.gif";
		jointhecamedicalvolunteerson = new Image(183,21);
		jointhecamedicalvolunteerson.src = "images/jointhecamedicalvolunteerson.gif";
	}
	
function rollon(imagename)
	{
		if (document.images)
			{
				document[imagename].src = eval(imagename + "on.src");
			}
	}
function rolloff(imagename)
	{
		if (document.images)
			{
				document[imagename].src = eval (imagename + "off.src");
			}
	}

function viewPic(URL) {
	viewpic=window.open(URL,"screenshot","toolbar=no,width=675,height=650,status=no,scrollbars=yes,resize=yes,menubar=no");
	}
function viewMovie(URL) {
	viewpic=window.open(URL,"screenshot","toolbar=no,width=415,height=400,status=no,scrollbars=yes,resize=no,menubar=no");
	}

function checkform(form) {
	if (isFilled(form.FirstName) == false) {
	alert ("Please enter your first name.");
	form.FirstName.focus();
	return false;
	}
	if (isFilled(form.LastName) == false) {
	alert ("Please enter your last name.");
	form.LastName.focus();
	return false;
	}
	if (isFilled(form.DOBMonth) == false) {
		alert ("Please enter your date of birth.");
		form.DOBMonth.focus();
		return false;
	}
	if (isFilled(form.DOBDay) == false) {
		alert ("Please enter your date of birth.");
		form.DOBDay.focus();
		return false;
	}
	if (isFilled(form.DOBYear) == false) {
		alert ("Please enter your date of birth.");
		form.DOBYear.focus();
		return false;
	}
	if (validateDOB(form.DOBMonth) == false) {
		alert("Please check your date of birth.");
		form.DOBMonth.focus();
		return false;
	}
	if (validateDOB(form.DOBDay) == false) {
		alert("Please check your date of birth.");
		form.DOBDay.focus();
		return false;
	}
	if (validateDOB(form.DOBYear) == false) {
		alert("Please enter a valid 4 digit birth year.");
		form.DOBYear.focus();
		return false;
	}
	if (isFilled(form.CertificationNumber) == false) {
	alert ("Please enter your Certification/License#.");
	form.CertificationNumber.focus();
	return false;
	}
	if (validateCertificationNumber(form.CertificationNumber) == false) {
		alert("Please enter a valid Certification Number.");
		form.CertificationNumber.focus();
		return false;
	}
	if (isFilled(form.Address) == false) {
	alert ("Please enter your address.");
	form.Address.focus();
	return false;
	}
	if (isFilled(form.City) == false) {
	alert ("Please enter your city.");
	form.City.focus();
	return false;
	}
	if (isFilled(form.State) == false) {
	alert ("Please enter your state.");
	form.State.focus();
	return false;
	}
	if (isFilled(form.Zip) == false) {
	alert ("Please enter your zip code.");
	form.Zip.focus();
	return false;
	}
	if (isFilled(form.Phone) == false) {
		alert ("Please enter your phone number.");
		form.Phone.focus();
		return false;
	}
	if (validatePhone(form.Phone) == false) {
		alert("Please check your phone number.");
		form.Phone.focus();
		return false;
	}
	if (isFilled(form.Email) == false) {
		alert ("Please enter your e-mail address.");
		form.Email.focus();
		return false;
	}
	if (! (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(form.Email.value))) {
		alert("Invalid E-mail Address. Please re-enter in the form myemail@domain.com.");
		form.Email.focus();
		return false;
	}	
	if (isChecked(form.OtherRequest) == true && isFilled(form.OtherReqExplanation) == false){
		alert ("Please explain your selection of Other.");
		form.OtherRequest.focus();
		return false;
	}
	if (form.name=="EMSRequest"){
		if (isChecked(form.Demo) == false 
			&& isChecked(form.OtherRequest) == false 
			&& isChecked(form.EMSOF) == false
			&& isChecked(form.EMSDP) == false
		//	&& isChecked(form.EMSIR) == false
			&& isFilled(form.Comments) == false) {
			alert("You have not told us what information you are interested in receiving.");
			form.Demo.focus();
			return false;
		}
	}
	if (form.name=="TraumaRequest"){
		if (isChecked(form.TDPLiterature) == false 
			&& isChecked(form.OtherRequest) == false 
			&& isChecked(form.TDPEvaluation) == false
			&& isFilled(form.Comments) == false) {
			alert("You have not told us what information you are interested in receiving.");
			form.TDPLiterature.focus();
			return false;
		}
	}
	return true
}
	
function isChecked(form){
	if (form.checked == false)
		return false;
		else return true;
}
			
function isFilled(elm) {
	if (elm.value == ""||
		elm.value == null)
		return false;
	else return true;
}
function valPhone(obj) {
	p=obj.value;
	//alert(p);
	p=p.replace("(","");
	p=p.replace(")","");
	p=p.replace("-", "");
	p=p.replace(" ", "");
	alert(p);
	alert(isNaN(p));
	if ((isNaN(p)==false) && (p.length >= 10)) {
		return true;
	} else {
		return false;
	}
}
function validateDOB(obj) {
	p=obj.value;
	if (isNaN(p)==true) {
		return false;
	} else {
		if (obj.name=="DOBYear") {
			if (p.length==4) {
				return true;
			} else {
				return false;
			}
		} else {
			return true;
		}
	}

//	if obj.name == "DOBYear" {
//		if ((isNaN(p)==false) && (p.length >= 2)) {
//			return true;
//		} else {
//			return false;
//		}
//	else {
//		if ((isNaN(p)==false)) {
//			return true;
//		} else {
//			return false;
//		}
//	}
}
function validatePhone(obj) {
	p=obj.value;
	s= new String("0123456789")
	t= new String("")
	//alert(p);
	for (var i=0; i<=p.length; i++) { 
		if (s.indexOf(p.charAt(i)) > -1) {
			//alert (p.charAt(i))
			t = t.concat(p.charAt(i));
			//alert (t)
		}
	}
	//alert(t.length);
	//alert(isNaN(t));
	if (t.length == 10) {
		return true;
	} else {
		return false;
	}
}
function validateCertificationNumber(obj) {
	p=obj.value;
	s= new String("0123456789abcdefghijklmnopqrstuvwxyz-")
	t= new String("")
	//alert(p);
	for (var i=0; i<=p.length; i++) { 
		if (s.indexOf(p.charAt(i)) > -1) {
			//alert (p.charAt(i))
			t = t.concat(p.charAt(i));
			//alert (t)
		}
	}
	//alert(t.length);
	//alert(isNaN(t));
	if (t.length <= 8) {
		return true;
	} else {
		return false;
	}
}
function openfocus(form) {
	form.FirstName.focus();
	return;
}

//-->
 