
function form_validation()
{
	hh=document.formval;
	if(hh.email.value==""){
		alert("Please enter your email address");
		hh.email.focus();
		return false;
	}
	if (hh.email.value.indexOf('@') == -1){
		alert("Invalid email address");
		hh.email.focus();
		return false;
	}
	
		
	if (hh.email.value.indexOf('.') == -1){
		alert("Invalid email address");
		hh.email.focus();
		return false;
	}
	
	if(hh.name.value ==""){
		alert("Please enter your  name");
		hh.name.focus();
		return false;
	}
	
	if(isNaN(hh.name.value)!= true){
			alert("Please Enter Valid  Name.");
			hh.name.focus();
			return false;
		}
		
			
	if(hh.url.value == ""){
		alert("Please Enter Website URL");
		hh.url.focus();
		return false;
	}
	
	if(hh.package.value == ""){
		alert("Please select package");
		hh.package.focus();
		return false;
	}	

	if(hh.comments.value == ""){
		alert("Please enter message");
		hh.comments.focus();
		return false;
	}	
	return true;
}