<!-- 
function checkFieldsContact() {    
	if (document.ContactUsPage.personname.value == '' ) {
		rc=alert('Sorry - the form is missing your name, please enter it.');    
		document.ContactUsPage.personname.focus();
		return false;    
	}
	
	if (document.ContactUsPage.location.value == '' ) {
		rc=alert('Sorry - the form is missing your location, please enter it.');    
		document.ContactUsPage.location.focus();
		return false;    
	}

	if (document.ContactUsPage.city.value == '' ) {
		rc=alert('Sorry - the form is missing your city, please enter it.');    
		document.ContactUsPage.city.focus();
		return false;    
	}
	
	if (document.ContactUsPage.state.value == '' ) {
		rc=alert('Sorry - the form is missing your state, please enter it.');    
		document.ContactUsPage.state.focus();
		return false;    
	}
		
	if (document.ContactUsPage.postcode.value == '' ) {
		rc=alert('Sorry - the form is missing the name of your Post Code, please enter it.');    
		document.ContactUsPage.postcode.focus();
		return false;    
	}
	
	if (document.ContactUsPage.country.value == '' ) {
		rc=alert('Sorry - the form is missing the name of your country, please enter it.');    
		document.ContactUsPage.country.focus();
		return false;    
	}
	
	if (document.ContactUsPage.phone.value == '' ) {
		rc=alert('Sorry - the form is missing your phone number, please enter it.');    
		document.ContactUsPage.phone.focus();
		return false;    
	}	

	if (document.ContactUsPage.email.value == '' ) {
		rc=alert('Sorry - the form is missing your email address, please enter it.');    
		document.ContactUsPage.email.focus();
		return false;    
	}
	
	// check the email is approximately valid
	var str=document.ContactUsPage.email.value
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if ((filter.test(str)) !=true) {
		rc=alert('Sorry - the email you entered is not a valid one, please re-enter it.');    
		document.ContactUsPage.email.focus();
		return false;    
	}
		
return true;}

function checkFieldsCareer() {    
	if (document.Career.personname.value == '' ) {
		rc=alert('Sorry - the form is missing your name, please enter it.');    
		document.Career.personname.focus();
		return false;    
	}
	
	if (document.Career.location.value == '' ) {
		rc=alert('Sorry - the form is missing your location, please enter it.');    
		document.Career.location.focus();
		return false;    
	}

	if (document.Career.city.value == '' ) {
		rc=alert('Sorry - the form is missing your city, please enter it.');    
		document.Career.city.focus();
		return false;    
	}
	
	if (document.Career.state.value == '' ) {
		rc=alert('Sorry - the form is missing your state, please enter it.');    
		document.Career.state.focus();
		return false;    
	}
		
	if (document.Career.postcode.value == '' ) {
		rc=alert('Sorry - the form is missing the name of your Post Code, please enter it.');    
		document.Career.postcode.focus();
		return false;    
	}
	
	if (document.Career.country.value == '' ) {
		rc=alert('Sorry - the form is missing the name of your country, please enter it.');    
		document.Career.country.focus();
		return false;    
	}
	
	if (document.Career.phone.value == '' ) {
		rc=alert('Sorry - the form is missing your phone number, please enter it.');    
		document.Career.phone.focus();
		return false;    
	}	

	if (document.Career.email.value == '' ) {
		rc=alert('Sorry - the form is missing your email address, please enter it.');    
		document.Career.email.focus();
		return false;    
	}
	
	// check the email is approximately valid
	var str=document.Career.email.value
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if ((filter.test(str)) !=true) {
		rc=alert('Sorry - the email you entered is not a valid one, please re-enter it.');    
		document.Career.email.focus();
		return false;    
	}
		
return true;}

function checkFieldsDealers() {    
	if (document.Dealers.personname.value == '' ) {
		rc=alert('Sorry - the form is missing your name, please enter it.');    
		document.Dealers.personname.focus();
		return false;    
	}
	
	if (document.Dealers.location.value == '' ) {
		rc=alert('Sorry - the form is missing your location, please enter it.');    
		document.Dealers.location.focus();
		return false;    
	}

	if (document.Dealers.city.value == '' ) {
		rc=alert('Sorry - the form is missing your city, please enter it.');    
		document.Dealers.city.focus();
		return false;    
	}
	
	if (document.Dealers.state.value == '' ) {
		rc=alert('Sorry - the form is missing your state, please enter it.');    
		document.Dealers.state.focus();
		return false;    
	}
		
	if (document.Dealers.country.value == '' ) {
		rc=alert('Sorry - the form is missing the name of your country, please enter it.');    
		document.Dealers.country.focus();
		return false;    
	}
	
	if (document.Dealers.phone.value == '' ) {
		rc=alert('Sorry - the form is missing your phone number, please enter it.');    
		document.Dealers.phone.focus();
		return false;    
	}	
	
	if (document.Dealers.email.value == '' ) {
		rc=alert('Sorry - the form is missing your email address, please enter it.');    
		document.Dealers.email.focus();
		return false;    
	}
	
	// check the email is approximately valid
	var str=document.Dealers.email.value
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if ((filter.test(str)) !=true) {
		rc=alert('Sorry - the email you entered is not a valid one, please re-enter it.');    
		document.Dealers.email.focus();
		return false;    
	}

return true;}
// end hide -->
