
function CheckForm2(which)
{
	
	alert("Please select an option which best describe how you found us.");
	return false;
}

function CheckPricePromise(which)
{
	if(!which.elements['title'][0].checked && !which.elements['title'][1].checked && !which.elements['title'][2].checked && !which.elements['title'][3].checked)
	{
		alert("Please choose your preferred title.");
		return false;
	}
	if(which.elements['title'][3].checked && which.elements['Other2'].value=="")
	{
		alert("Please fill in the text box next to the 'Other' title.");
		return false;
	}
	if(which.elements['name'].value=="")
	{
		alert("You must enter a full Name.");
		return false;
	}
	
	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(which.elements['email'].value.match(emailExp)){
		
	}
	else
	{
		alert("You must enter a valid email address.");
		return false;
	}
	
	if(which.elements['email'].value=="")
	{
		alert("You must enter a valid email address.");
		return false;
	}
	
	if(which.elements['bline1'].value=="" && which.elements['bline2'].value=="")
	{
		alert("Please enter a Building Name/Number and/or Street Name.");
		return false;
	}
	
	if(which.elements['bline3'].value=="")
	{
		alert("Please enter a Town/City.");
		return false;
	}
	
	if(which.elements['bline4'].value=="")
	{
		alert("Please enter a Region/State.");
		return false;
	}
	
	if(which.elements['bpostcode'].value=="")
	{
		alert("Please fill out the Postcode field.");
		return false;
	}
	
	if(which.elements['bdayphone'].value=="")
	{
		alert("Please fill out the Day Phone Number field.");
		return false;
	}
	
	if(which.elements['bphone'].value=="")
	{
		alert("Please fill out the Evening Phone Number field.");
		return false;
	}
	
	if(which.elements['productName'].value=="")
	{
		alert("Please fill out the Product Name For field.");
		return false;
	}
	
	if(which.elements['chapCode'].value=="")
	{
		alert("Please fill out the Chapmans Code field.");
		return false;
	}
	
	if(which.elements['chapPrice'].value=="")
	{
		alert("Please fill out the Chapmans Price field.");
		return false;
	}
	
	if(which.elements['competitorsName'].value=="")
	{
		alert("Please fill out the Competitiors Name field.");
		return false;
	}
	
	if(which.elements['competitorsPrice'].value=="")
	{
		alert("Please fill out the Competitors Price field.");
		return false;
	}
	
	if(which.elements['comments'].value=="")
	{
		alert("Please fill out the Comments & Further Info field.");
		return false;
	}
	
	return true;
}

function CheckCattyRequest(which)
{
	if(!which.elements['title'][0].checked && !which.elements['title'][1].checked && !which.elements['title'][2].checked && !which.elements['title'][3].checked)
	{
		alert("Please choose your preferred title.");
		return false;
	}
	if(which.elements['title'][3].checked && which.elements['Other2'].value=="")
	{
		alert("Please fill in the text box next to the 'Other' title.");
		return false;
	}
	if(which.elements['name'].value=="")
	{
		alert("You must enter a full Name.");
		return false;
	}
	
	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(which.elements['email'].value.match(emailExp)){
		
	}
	else
	{
		alert("You must enter a valid email address.");
		return false;
	}
	
	if(which.elements['email'].value=="")
	{
		alert("You must enter a valid email address.");
		return false;
	}
	
	if(which.elements['bline1'].value=="" && which.elements['bline2'].value=="")
	{
		alert("Please enter a Building Name/Number and/or Street Name.");
		return false;
	}
	
	if(which.elements['bline3'].value=="")
	{
		alert("Please enter a Town/City.");
		return false;
	}
	
	if(which.elements['bline4'].value=="")
	{
		alert("Please enter a Region/State.");
		return false;
	}
	
	if(which.elements['bpostcode'].value=="")
	{
		alert("Please fill out the Postcode field.");
		return false;
	}
	
	return true;
}

function SpecialOffer(which)
{
	if(!which.elements['title'][0].checked && !which.elements['title'][1].checked && !which.elements['title'][2].checked && !which.elements['title'][3].checked)
	{
		alert("Please choose your preferred title.");
		return false;
	}
	if(which.elements['title'][3].checked && which.elements['Other2'].value=="")
	{
		alert("Please fill in the text box next to the 'Other' title.");
		return false;
	}
	if(which.elements['forename'].value=="")
	{
		alert("You must enter a Forename.");
		return false;
	}
	if(which.elements['surname'].value=="")
	{
		alert("You must enter a Surname.");
		return false;
	}
	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(which.elements['email'].value.match(emailExp)){
		
	}
	else
	{
		alert("You must enter a valid email address.");
		return false;
	}
	if(which.elements['bdayphone'].value=="")
	{
		alert("You must enter a full Daytime Phone Number.");
		return false;
	}
	if(which.elements['bphone'].value=="")
	{
		alert("You must enter a full Evening Phone Number.");
		return false;
	}
	
	if(which.elements['bline1'].value=="" && which.elements['bline2'].value=="")
	{
		alert("Please enter a Building Name/Number and/or Street Name.");
		return false;
	}
	
	if(which.elements['bline3'].value=="")
	{
		alert("Please enter a Town/City.");
		return false;
	}
	
	if(which.elements['bline4'].value=="")
	{
		alert("Please enter a Region/State.");
		return false;
	}
	
	if(which.elements['bpostcode'].value=="")
	{
		alert("Please fill out the Delivery Postcode field.");
		return false;
	}
	
	if(which.elements['matchAddress'].value=="No"){
		
		
		if(which.elements['dline1'].value=="" || which.elements['dline2'].value=="")
		{
			alert("Please fill out your Delivery Address.");
			return false;
		}
		if(which.elements['dline3'].value=="")
		{
			alert("Please enter a Delivery Town/City.");
			return false;
		}
		
		if(which.elements['dline4'].value=="")
		{
			alert("Please enter a Delivery Region/State.");
			return false;
		}
		
		if(which.elements['dpostcode'].value=="")
		{
			alert("Please fill out the  Delivery Postcode field");
			return false;
		}
		return true;
	}
	
	if(which.elements['ctype'].value=="--")
	{
		alert("Please Select A Card Type.");
		return false;
	}
	if(which.elements['cnumber'].value=="")
	{
		alert("Please fill out the Card Number field.");
		return false;
	}
	if(which.elements['cdigits'].value=="")
	{
		alert("Please fill out the Last 3 Digits field.");
		return false;
	}
	if(which.elements['endmonth'].value=="--" || which.elements['endyear'].value=="--")
	{
		alert("Please choose an Expiry Date");
		return false;
	}
	return true;
}

function CheckMailing(which)
{
	if(which.elements['forename'].value=="")
	{
		alert("You must enter a Forename.");
		return false;
	}
    if(which.elements['surname'].value=="")
	{
		alert("You must enter a Surname.");
		return false;
	}
	
	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(which.elements['email'].value.match(emailExp)){
		
	}
	else
	{
		alert("You must enter a valid email address.");
		return false;
	}
	
	if(which.elements['email'].value=="")
	{
		alert("You must enter a valid email address.");
		return false;
	}
	
	return true;
}

