var t=0;
//alert("var t: " + t);


function frmNewsletterPreSubmitCheck(t){
	
	if((document.frmSubmitNewsletter.email.value == "") || (document.frmSubmitNewsletter.email.value == "Enter Email...")){
		alert("Please Enter Your Email");
		document.frmSubmitNewsletter.email.focus();
		return false;
	}else{
		document.frmSubmitNewsletter.email.disabled = true;
		document.frmSubmitNewsletter.submitbtn.disabled = true;
		submitNewsletter();
	}

}



function frmContactPreSubmitCheck(t){
	
	if(document.frmSubmitContact.name_first.value == "") {
		alert("Please Enter Your First Name");
		document.frmSubmitContact.name_first.focus();
		return false;
	}else if(document.frmSubmitContact.name_last.value == "") {
		alert("Please Enter Your Last Name");
		document.frmSubmitContact.name_last.focus();
		return false;
	}else if(document.frmSubmitContact.phone.value == "") {
		alert("Please Enter Your Phone Number");
		document.frmSubmitContact.phone.focus();
		return false;
	}else if(document.frmSubmitContact.address.value == "") {
		alert("Please Enter Your Address");
		document.frmSubmitContact.address.focus();
		return false;
	}else if(document.frmSubmitContact.city.value == "") {
		alert("Please Enter Your City");
		document.frmSubmitContact.city.focus();
		return false;
	}else if(document.frmSubmitContact.state.value == "") {
		alert("Please Enter Your State");
		document.frmSubmitContact.state.focus();
		return false;
	}else if(document.frmSubmitContact.zip.value == "") {
		alert("Please Enter Your Zip");
		document.frmSubmitContact.zip.focus();
		return false;
	}else if(document.frmSubmitContact.email.value == "") {
		alert("Please Enter Your Email");
		document.frmSubmitContact.email.focus();
		return false;
	}else{
		document.frmSubmitContact.email.disabled = true;
		document.frmSubmitContact.name_first.disabled = true;
		document.frmSubmitContact.name_last.disabled = true;
		document.frmSubmitContact.address.disabled = true;
		document.frmSubmitContact.city.disabled = true;
		document.frmSubmitContact.state.disabled = true;
		document.frmSubmitContact.zip.disabled = true;
		document.frmSubmitContact.phone.disabled = true;
		document.frmSubmitContact.submitbtn.disabled = true;
		submitContact();
	}

}



