var form = $('claim-form');
if(form.email){
	form.onsubmit = function(){
		if(this.email.length == 0){
			alert('Please enter your email address to make your claim');
			return false;
		}
		var re = new RegExp(/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/);
		if(!re.exec(this.email.value)){
			alert('Please enter a valid email address');
			return false;
		}
		return true;
	};
}
