function verify_quotefields()
{
	
	
	if(document.Contact_Form.realname.value=="" || document.Contact_Form.realname.value=="Name*")
	{
		alert("Name can't be left empty!");
		document.Contact_Form.realname.select();
		return false;
	}
	
	
	
	if(document.Contact_Form.Email.value=='')
		{
		alert("Email can't be left empty.");
		document.Contact_Form.Email.select();
		return false;
		
		}
		emails=document.Contact_Form.Email.value;
		
		badStuff = ";:/,' \"\\";
			for (i=0; i<badStuff.length; i++)
		{
				badCheck = badStuff.charAt(i);
				if (emails.indexOf(badCheck,0) != -1){
				alert("Please enter a valid email address.");
				document.Contact_Form.Email.select();
					return false;
				}
			}
			posOfAtSign = emails.indexOf("@",1)
			if (posOfAtSign == -1){
				alert("Please enter a valid email address.");
				document.Contact_Form.Email.select();
				return false;
			}
			if (emails.indexOf("@",posOfAtSign+1) != -1){
				alert("Please enter a valid email address.");
				document.Contact_Form.Email.select();
				return false;
			}
			posOfPeriod = emails.indexOf(".", posOfAtSign)
			if (posOfPeriod == -1){
				alert("Please enter a valid email address.");
				document.Contact_Form.Email.select();
				return false;
			}
			if (posOfPeriod+2 > emails.length){
				alert("Please enter a valid email address.");
				document.Contact_Form.Email.select();
				return false;
		}
		
		
	
	if(document.Contact_Form.Phone.value=="" || document.Contact_Form.Phone.value=="Phone*")
	{
		alert("Phone can't be left empty!");
		document.Contact_Form.Phone.select();
		return false;
	}
	
	if(document.Contact_Form.Make.value=="")
	{
		alert("Please select Vehicle Make!");
		document.Contact_Form.Make.focus();
		return false;
	}
	
	if(document.Contact_Form.Model.value=="")
	{
		alert("Please select Vehicle Model!");
		document.Contact_Form.Model.focus();
		return false;
	}
	
	
}



function feedbackfields()
{
	
	
	if(document.Feedback_Form.realname.value=="")
		{
			alert("Name can't be left empty!");
			document.Feedback_Form.realname.select();
			return false;
		}
		
		if(document.Feedback_Form.Phone.value=="")
				{
					alert("Phone can't be left empty!");
					document.Feedback_Form.Phone.select();
					return false;
	}
		
		if(document.Feedback_Form.Email.value=='')
			{
			alert("Email can't be left empty.");
			document.Feedback_Form.Email.select();
			return false;
			
			}
			emails=document.Feedback_Form.Email.value;
			
			badStuff = ";:/,' \"\\";
				for (i=0; i<badStuff.length; i++)
			{
					badCheck = badStuff.charAt(i);
					if (emails.indexOf(badCheck,0) != -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
						return false;
					}
				}
				posOfAtSign = emails.indexOf("@",1)
				if (posOfAtSign == -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
				}
				if (emails.indexOf("@",posOfAtSign+1) != -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
				}
				posOfPeriod = emails.indexOf(".", posOfAtSign)
				if (posOfPeriod == -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
				}
				if (posOfPeriod+2 > emails.length){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
			}
			
		if(document.Feedback_Form.agree.checked==false)
		{
			alert("Please check the checkbox that you have provided accurate information to proceed.");
			return false;
		}
		
}

function findcarfields()
{
	
	
	if(document.Feedback_Form.realname.value=="")
		{
			alert("Name can't be left empty!");
			document.Feedback_Form.realname.select();
			return false;
		}
		
		if(document.Feedback_Form.Phone.value=="")
				{
					alert("Phone can't be left empty!");
					document.Feedback_Form.Phone.select();
					return false;
	}
		
		if(document.Feedback_Form.Email.value=='')
			{
			alert("Email can't be left empty.");
			document.Feedback_Form.Email.select();
			return false;
			
			}
			emails=document.Feedback_Form.Email.value;
			
			badStuff = ";:/,' \"\\";
				for (i=0; i<badStuff.length; i++)
			{
					badCheck = badStuff.charAt(i);
					if (emails.indexOf(badCheck,0) != -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
						return false;
					}
				}
				posOfAtSign = emails.indexOf("@",1)
				if (posOfAtSign == -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
				}
				if (emails.indexOf("@",posOfAtSign+1) != -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
				}
				posOfPeriod = emails.indexOf(".", posOfAtSign)
				if (posOfPeriod == -1){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
				}
				if (posOfPeriod+2 > emails.length){
					alert("Please enter a valid email address.");
					document.Feedback_Form.Email.select();
					return false;
			}
			
			if(document.Feedback_Form.budget.value=='')
			{
				alert("Please enter the budget details!");
				document.Feedback_Form.budget.select();
				return false;
			}
			
		if(document.Feedback_Form.description.value=='')
					{
						alert("Please enter the description!");
						document.Feedback_Form.description.select();
						return false;
					}
					
		
		
		
}