function checkRegisterForm(form){
	
	// Validation for special Character at the Password begin
	var chars = "#";

	for (var i = 0; i < form.Password.value.length; i++) {
		if (chars.indexOf(form.Password.value.charAt(i)) != -1) {
			alert ("Password is having this # special character.Please remove the special character from it.");
			return false;
		}
	}
	// Validation for special Character at the Password End
	
	if ((form.email.value==null)||(form.email.value=="")){
		alert("Please enter a valid e-mail ")
		form.email.focus()
		return false
	}
	if (form.Password.value == ""){
		alert("Password can't be blank! Please enter your Password");
		form.Password.value='';
		form.Password.focus();
		return false;
	}
	if (form.firstName.value == "") {
		alert("First Name cannot be blank! Please enter valid First Name");
		form.firstName.value='';
		form.firstName.focus();
		return false;
	}
	if (form.lastName.value == "") {
		alert("Last Name cannot be blank! Please enter valid Last Name");
		form.lastName.value='';
		form.lastName.focus();
		return false;
	}
	if (form.phone1.value == "") {
		alert("Phone Number cannot be blank! Please enter valid Phone Number");
		form.phone1.value='';
		form.phone1.focus();
		return false;
	}
	if (form.address1.value == "") {
		alert("Address cannot be blank! Please enter valid Address");
		form.address1.value='';
		form.address1.focus();
		return false;
	}
	if (form.city.value == "") {
		alert("City cannot be blank! Please enter valid City");
		form.city.value='';
		form.city.focus();
		return false;
	}
	if (form.zip.value == "") {
		alert("Zip code cannot be blank! Please enter valid Zip code");
		form.zip.value='';
		form.zip.focus();
		return false;
	}
	if ((form.country.value==null)||(form.country.value=="")){
		alert("Please select a valid Country")
		form.country.focus()
		return false
	}
	if ((form.howFind.value==null)||(form.howFind.value=="")){
		alert("Please tell us who refer you to us")
		form.howFind.focus()
		return false
	}
	return true;
}
