<!--

function formstart() {
	document.getElementById("warning_name").style.display = "none";
	//alert("testing");
}

function validateform() {
		
		document.getElementById("row_name").style.backgroundColor = "#f3f3f3";
		document.getElementById("row_email").style.backgroundColor = "#f3f3f3";
		document.getElementById("row_subject").style.backgroundColor = "#f3f3f3";
		document.getElementById("row_message").style.backgroundColor = "#f3f3f3";
		document.getElementById("row_captcha").style.backgroundColor = "#f3f3f3";
		
		
		if (document.contactform.name.value == "") 
		{
			document.getElementById("validationecho").innerHTML = "Please Enter Your Name";
			document.getElementById("row_name").style.backgroundColor = "#fac7c3";
			return false;
    	}
		else {
			var numericExpression = /^[a-zA-Z\s]+$/;
			if(document.contactform.name.value.match(numericExpression)){
			}
			else{
				document.getElementById("validationecho").innerHTML = "Please Enter a Valid Name";
				document.getElementById("row_name").style.backgroundColor = "#fac7c3";
				return false;
			}
		}
		
		if (document.contactform.email.value == "") 
		{
			document.getElementById("validationecho").innerHTML = "Please Enter Your Email Address";
			document.getElementById("row_email").style.backgroundColor = "#fac7c3";
        	return false;
    	}
		if (document.contactform.email.value.indexOf("@") < 0 || document.contactform.email.value.indexOf(".") < 0 )
		{
			document.getElementById("validationecho").innerHTML = "Please Enter A Valid Email Address";
			document.getElementById("row_email").style.backgroundColor = "#fac7c3";
			return false;
		}
		
		if (document.contactform.subject.value == "") 
		{
			document.getElementById("validationecho").innerHTML = "Please Enter A Subject";
			document.getElementById("row_subject").style.backgroundColor = "#fac7c3";
			return false;
    	}
		else {
			var numericExpression = /^[#0-9a-zA-Z\s\.\'\"\:\;\,\?\$\%\@\!\(\)\-\_\+\=]+$/;
			if(document.contactform.subject.value.match(numericExpression)){
			}
			else{
				document.getElementById("validationecho").innerHTML = "Please Enter a Valid Subject";
				document.getElementById("row_subject").style.backgroundColor = "#fac7c3";
				return false;
			}
		}
		
		if (document.contactform.message.value == "") 
		{
			document.getElementById("validationecho").innerHTML = "Please Enter a Message";
			document.getElementById("row_message").style.backgroundColor = "#fac7c3";
			return false;
    	}
		else {
			var numericExpression = /^[#0-9a-zA-Z\s\.\'\"\:\;\,\?\$\%\@\!\(\)\-\_\+\=]+$/;
			if(document.contactform.message.value.match(numericExpression)){
			}
			else{
				document.getElementById("validationecho").innerHTML = "Please Enter a Valid Message";
				document.getElementById("row_message").style.backgroundColor = "#fac7c3";
				return false;
			}
		}
		
		if (document.contactform.captcha.value == "") 
		{
			document.getElementById("validationecho").innerHTML = "Please Verify That You're Human";
			document.getElementById("row_captcha").style.backgroundColor = "#fac7c3";
			return false;
    	}
		else {
			if(document.contactform.captcha.value == "8"){
			}
			else{
				document.getElementById("validationecho").innerHTML = "Human Validation Failed";
				document.getElementById("row_captcha").style.backgroundColor = "#fac7c3";
				return false;
			}
		}
		
    	return true;
}

function submitbuttonquoteover() {
	document.getElementById("submitbuttonquote").src = "/images/pages/submit_over_01.gif";
}
function submitbuttonquoteout() {
	document.getElementById("submitbuttonquote").src = "/images/pages/submit_up_01.gif";
}

//-->