function Validate(form)
{

		v1=form.txtName
		if(isblank(v1)==false) 
	{
		alert("Please insert Name");
		v1.focus(); 
	return false
	}
	
	v1=form.txtEmail
	if(isblank(v1)==false) 
	{
	alert("Please insert Email ID");
	v1.focus(); 
	return false;
	}

	if(isEmail(v1)==false) 
	{
	alert("The email \""+ v1.value+" \"is not valid email");
	v1.focus(); 
	return false;
	}



v1=form.txtAddress
	if(isblank(v1)==false) 
	{
	alert("Please Enter Address");
	v1.focus(); 
	return false
	}




	v1=form.txtCity
	if(isblank(v1)==false) 
	{
	alert("City Field Can not be Blank");
	v1.focus(); 
	return false
	}

v1=form.txtPhone
	if(isblank(v1)==false) 
	{
	alert("Phone Field Can not be Blank");
	v1.focus(); 
	return false
	}
	
	v1=form.txtComments
	if(isblank(v1)==false) 
	{
	alert("Comments Field Can not be Blank");
	v1.focus(); 
	return false
	}
	return true;
}

function isblank(s3) 
{
	if (s3.value == "") 
	{
	return false
	}
else 
	{
	return true
   }
}

function isEmail(s2) 
{
	if ((s2.value == "" || s2.value.indexOf('@', 0) == -1)) {
	return false
}
else {
	return true
   }

}


