function Validate(form)
{
	v1=form.txtName
	if(isblank(v1)==false) 
	{
		alert("Please Enter Your Name ?");
		v1.focus(); 
	    return false
	}	
	
	v1=form.txtEmail
	if(isblank(v1)==false) 
	{
	alert("Please Enter Your Email ID ?");
	v1.focus(); 
	return false;
	}

	if(isEmail(v1)==false) 
	{
	alert("The email \""+ v1.value+" \"is not valid email id. Please enter valid email id.");
	v1.focus(); 
	return false;
	}	
	
	v1=form.txtMobile
	if(isblank(v1)==false) 
	{
	alert("Please Enter Mobile Number ?");
	v1.focus(); 
	return false
	}
	
	
	v1=form.txtQuestions
	if(isblank(v1)==false) 
	{
	alert("Please Enter Your Comment / Query / Requirement ?");
	v1.focus(); 
	return false
	}
		
}

function Validate1(form)
{

	v1=form.txtName
	if(isblank(v1)==false) 
	{
		alert("Please Enter Your Name ?");
		v1.focus(); 
	return false
	}
	
	v1=form.txtAge
	if(isblank(v1)==false) 
	{
	alert("Please Enter Age ?");
	v1.focus(); 
	return false
	}
	
	v1=form.txtPosition
	if(isblank(v1)==false) 
	{
	alert("Please Enter Position Title for which  applied ?");
	v1.focus(); 
	return false
	}
	
	v1=form.txtPhone
	if(isblank(v1)==false) 
	{
	alert("Please Enter Phone No. ?");
	v1.focus(); 
	return false
	}
	
	v1=form.txtEmail
	if(isblank(v1)==false) 
	{
	alert("Please Enter Your Email ID ?");
	v1.focus(); 
	return false;
	}

	if(isEmail(v1)==false) 
	{
	alert("The email \""+ v1.value+" \"is not valid email id. Please enter valid email id.");
	v1.focus(); 
	return false;
	}
	
	
	v1=form.txtEduQualification
	if(isblank(v1)==false) 
	{
	alert("Please Enter Educational Qualifications ?");
	v1.focus(); 
	return false
	}
	
	v1=form.txtProQualification
	if(isblank(v1)==false) 
	{
	alert("Please Enter Professional Qualifications ?");
	v1.focus(); 
	return false
	}
	
	v1=form.txtExpectedSal
	if(isblank(v1)==false) 
	{
	alert("Please Enter Expected Salary ?");
	v1.focus(); 
	return false
	}
	
	v1=form.txtInfo
	if(isblank(v1)==false) 
	{
	alert("How did you find out about  Escape System Consultants ?");
	v1.focus(); 
	return false
	}
		
}


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
   }

}



