<!--
function ValQuote(theForm)
{
if (theForm.name.value=="")
{
	alert("Please enter your name");
	theForm.name.focus();
	theForm.name.style.backgroundColor="#edeae5";
	return (false);
}
if (theForm.email.value =="")
{
	alert("Please enter your email address");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#edeae5";
	return false;
}
if (theForm.email.value.indexOf('@', 0) == -1) 
{
	alert("Not a valid email address");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#edeae5";
	return (false);
}
if (theForm.email.value.indexOf('.', 0) == -1) 
{
	alert("Not a valid email address");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#edeae5";
	return (false);
}
if (theForm.dtelephone.value=="")
{
	alert("Please enter your telephone number (day)");
	theForm.dtelephone.focus();
	theForm.dtelephone.style.backgroundColor="#edeae5";
	return (false);
}
if (theForm.etelephone.value=="")
{
	alert("Please enter your telephone number (evening)");
	theForm.etelephone.focus();
	theForm.etelephone.style.backgroundColor="#edeae5";
	return (false);
}
if (theForm.address.value =="")
{
	alert("Please enter your address");
	theForm.address.focus();
	theForm.address.style.backgroundColor="#edeae5";
	return false;
}
if (theForm.timetocall.value =="")
{
	alert("Please indicate when you would like us to call you");
	theForm.timetocall.focus();
	theForm.timetocall.style.backgroundColor="#edeae5";
	return false;
}
//product specific validation//
if ((theForm.windows.checked==true) && (theForm.qwindows.value ==""))
{
	alert("Please indicate approximately how many windows you are interested in");
	theForm.qwindows.focus();
	theForm.qwindows.style.backgroundColor="#edeae5";
	return false;
}
if ((theForm.doors.checked==true) && (theForm.qdoors.value ==""))
{
	alert("Please indicate approximately how many doors you are interested in");
	theForm.qdoors.focus();
	theForm.qdoors.style.backgroundColor="#edeae5";
	return false;
}
return (true);
}
//-->
