function CheckForm(){
	alertmessage = "";
	if(document.catalogues.name.value == ""){
		alertmessage += '   -  Name\n';
	}
	if(document.catalogues.address1.value == ""){
		alertmessage += '   -  Address 1\n';
	}
	if(document.catalogues.town.value == ""){
		alertmessage += '   -  Town / City\n';
	}
	if(document.catalogues.county.value == ""){
		alertmessage += '   -  County\n';
	}
	if(document.catalogues.postcode.value == ""){
		alertmessage += '   -  Postcode\n';
	}
	if(document.catalogues.email.value == ""){
		alertmessage += '   -  Email\n';
	}	
	if(document.catalogues.email.value != ""){
		var email = document.catalogues.email1.value;
		invalidChars = " /:,;?()"
		incorrect ='';
		for (i=0; i<invalidChars.length; i++){
			badChar = invalidChars.charAt(i)
			if(email.indexOf(badChar,0) > -1){
				incorrect += '   -  Invalid Email Address\n';
				break;
			}
		}
		atPos = email.indexOf("@",1)
		if(atPos == -1){
			incorrect += '   -  Invalid Email Address\n';
		}
		if(email.indexOf("@",atPos+1) > -1){
			incorrect += '   -  Invalid Email Address\n';
		}
		periodPos = email.indexOf(".",atPos)
		if(periodPos == -1){
			incorrect += '   -  Invalid Email Address\n';
		}
		if(periodPos+3 > email.length){
			incorrect += '   -  Invalid Email Address\n';
		}	
		if(incorrect != ''){
			alertmessage += ' -  Invalid Email Address\n';
		}
	}
	if(alertmessage == ""){
		return true;
	}
	else{
		TopMessage = "You have not entered the following form elements correctly: \n\n";
        BottomMessage = "\nPlease correct these fields to continue";
        alertmessage = TopMessage + alertmessage + BottomMessage;
        alert(alertmessage);
		return false;
	}
}