function validateForm(){
	var valid = 0;
	$(".required").each(function(i){
		$(this).focus(function(){$(this).css({'backgroundColor':'#ffffff'});});
		if($(this).val()==""){
			$(this).css({'backgroundColor':'#FFFABA'});
			valid += 1;
		}
		if($(this).attr("name")=="email"){
			var regEx = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
			if(!regEx.test($(this).val())){
				$(this).css({'backgroundColor':'#FFFABA'});
				valid += 1;
			}
		}
	});
	if(valid!=0){
		return false;
	}
}
