function validatem1(thisform){
	
	var postcode = document.getElementById('Postcode');	
	 
	var email = document.getElementById('email');	
	var email2 = document.getElementById('email2');	
	if (email.value != email2.value){
		alert ("The two email addresses you entered must be the same");
		return false;
	}
	if (postcode.value != ''){
		postcode.value = postcode.value.split(' ').join('');
		postcode.value = postcode.value.toUpperCase();
		postcode.value = postcode.value.substring(0, postcode.value.length - 3) + " " + postcode.value.substring(postcode.value.length - 3);
	}
	//alert ("Testing! " + postcode.value);
	return true;
}
