function checkRegistrationForm(){
	re = /([0-9a-zA-Z\.\-\_]+)@([0-9a-zA-Z\.\-\_]+)/;

	var name, email, phone, city, dataRight = true;
	var message = "";
	
	name	= document.frm.name.value; 
	email	= document.frm.email.value;  
	phone	= document.frm.phone.value; 
	city	= document.frm.city.value; 	

	if (name.length==0){
		message += "\n -  Name";
		dataRight=false;
	}
	if (email.length==0){
	   message += "\n -  Email";
	   dataRight=false;
	}
	if (phone.length==0){
	   message += "\n -  Phone";
	   dataRight=false;
	}
	if (city.length==0){
		message += "\n -  City";
		dataRight=false;
	}
	
	if (email.length!=0 && email.match(re)==null){
	   dataRight=false;
	   message += "\n -  Your Email is Incorrect";
	}

	if (!dataRight){
		if (message != ""){
		   message ="\nYou failed to correctly fill in the form:\n" + message + "\n\nPlease re-enter and click the Register button again!";
	   }
	   alert(message);
	}
	return dataRight;
}