function name1()
{
	if(f_isEmpty(document.getElementById("txtName").value))
	{
		window.alert("Please enter name.");
		document.getElementById("txtName").value='';
		document.getElementById("txtName").focus();
		return false;
	}
	if(IsValidName(document.getElementById("txtName").value))
	{
		window.alert("Please enter valid Name");
		document.getElementById("txtName").value='';
		document.getElementById("txtName").focus();
		return false;	
	}
}
function Pin()
{
	if(!f_isNumber(document.getElementById("txtPin").value))
	{
		window.alert("Please enter valid pin");
		document.getElementById("txtPin").value='';
		document.getElementById("txtPin").focus();
		return false;	
	}
}

function Phone()
{
	if(f_isEmpty(document.getElementById("txtPhone").value))
	{
		window.alert("Please enter your phone number");
		document.getElementById("txtPhone").value='';
		document.getElementById("txtPhone").focus();
		return false;
	}
	if(!(IsValidphone(document.getElementById("txtPhone").value)))
	{
		window.alert("Please enter valid phone number");
		document.getElementById("txtPhone").value='';
		document.getElementById("txtPhone").focus();
		return false;
	}
}

function email()
{
	if(f_isEmpty(document.getElementById("txtMail").value))
	{
		window.alert("Please enter your Email Id");
		document.getElementById("txtMail").value='';
		document.getElementById("txtMail").focus();
		return false;	
	}
	
	if(!(Check_email(document.getElementById("txtMail").value)))
	{
		document.getElementById("txtMail").value='';
		document.getElementById("txtMail").focus();
		return false;
	} 
}

function Mobile()
{
	if(!(IsValidphone(document.getElementById("txtMobile").value)))
	{
		window.alert("Please enter valid mobile number");
		document.getElementById("txtMobile").value='';
		document.getElementById("txtMobile").focus();
		return false;
	}
}
function PostApp()
{
	if(f_isEmpty(document.getElementById("txtPostApp").value))
	{
		window.alert("Please enter name of the post applying for.");
		document.getElementById("txtPostApp").value='';
		document.getElementById("txtPostApp").focus();
		return false;
	}
	if(IsValidName(document.getElementById("txtPostApp").value))
	{
		window.alert("Please enter valid post name");
		document.getElementById("txtPostApp").value='';
		document.getElementById("txtPostApp").focus();
		return false;	
	}
}
function BScUni()
{
	if(IsValidName(document.getElementById("txtBScUni").value))
	{
		window.alert("Please enter valid University Name of Graduation");
		document.getElementById("txtBScUni").value='';
		document.getElementById("txtBScUni").focus();
		return false;	
	}
}
function BscYearOfPass()
{
	if(!f_isNumber(document.getElementById("txtBScYearOfPass").value))
	{
		window.alert("Please enter valid passing year of Graduation");
		document.getElementById("txtBScYearOfPass").value='';
		document.getElementById("txtBScYearOfPass").focus();
		return false;	
	}
}
function BscSub()
{
	if(IsValidName(document.getElementById("txtBscSub").value))
	{
		window.alert("Please enter valid subjects of Graduation");
		document.getElementById("txtBscSub").value='';
		document.getElementById("txtBscSub").focus();
		return false;	
	}
}
function BscMarks()
{
	if(!f_isNumber(document.getElementById("txtBscMarks").value))
	{
		window.alert("Please enter valid marks of Graduation");
		document.getElementById("txtBscMarks").value='';
		document.getElementById("txtBscMarks").focus();
		return false;	
	}
}
function BscPercentage()
{
	if(!f_isNumber(document.getElementById("txtBscPercentage").value))
	{
		window.alert("Please enter valid percentages of Graduation");
		document.getElementById("txtBscPercentage").value='';
		document.getElementById("txtBscPercentage").focus();
		return false;	
	}
}
function BscGrade()
{
	if(IsValidName(document.getElementById("txtBscGrade").value))
	{
		window.alert("Please enter valid grade of Graduation");
		document.getElementById("txtBscGrade").value='';
		document.getElementById("txtBscGrade").focus();
		return false;	
	}
}
  
function MScUni()
{
	if(IsValidName(document.getElementById("txtMScUni").value))
	{
		window.alert("Please enter valid University Name of Post Graduation");
		document.getElementById("txtMScUni").value='';
		document.getElementById("txtMScUni").focus();
		return false;	
	}
}
 
function MScYearOfPass()
{
	if(!f_isNumber(document.getElementById("txtMScYearOfPass").value))
	{
		window.alert("Please enter valid passing year of Post Graduation");
		document.getElementById("txtMScYearOfPass").value='';
		document.getElementById("txtMScYearOfPass").focus();
		return false;	
	}
}
 
function MScSub()
{
	if(IsValidName(document.getElementById("txtMscSub").value))
	{
		window.alert("Please enter valid subjects of Post Graduation");
		document.getElementById("txtMscSub").value='';
		document.getElementById("txtMscSub").focus();
		return false;	
	}
}
 
function MscMarks()
{
	if(!f_isNumber(document.getElementById("txtMscMarks").value))
	{
		window.alert("Please enter valid Marks of Post Graduation");
		document.getElementById("txtMscMarks").value='';
		document.getElementById("txtMscMarks").focus();
		return false;	
	}
}
function MscPercentage()
{
	if(!f_isNumber(document.getElementById("txtMscPercentage").value))
	{
		window.alert("Please enter valid percentage of Post Graduation");
		document.getElementById("txtMscPercentage").value='';
		document.getElementById("txtMscPercentage").focus();
		return false;	
	}
}
function MscGrade()
{
	
	if(IsValidName(document.getElementById("txtMscGrade").value))
	{
		window.alert("Please enter valid grade of Graduation");
		document.getElementById("txtMscGrade").value='';
		document.getElementById("txtMscGrade").focus();
		return false;	
	}
}
 
function MPhilUni()
{
	if(IsValidName(document.getElementById("txtMPhilUni").value))
	{
		window.alert("Please enter valid University Name of Post Graduation");
		document.getElementById("txtMPhilUni").value='';
		document.getElementById("txtMPhilUni").focus();
		return false;	
	}
}
 
function MPhilYearOfPass()
{
	if(!f_isNumber(document.getElementById("txtMPhilYearOfPass").value))
	{
		window.alert("Please enter valid passing year of Post Graduation");
		document.getElementById("txtMPhilYearOfPass").value='';
		document.getElementById("txtMPhilYearOfPass").focus();
		return false;	
	}
}
 
function MPhilSub()
{
	if(IsValidName(document.getElementById("txtMPhilSub").value))
	{
		window.alert("Please enter valid subjects of Post Graduation");
		document.getElementById("txtMPhilSub").value='';
		document.getElementById("txtMPhilSub").focus();
		return false;	
	}
}
function MPhilMarks()
{
	if(!f_isNumber(document.getElementById("txtMPhilMarks").value))
	{
		window.alert("Please enter valid Marks of Post Graduation");
		document.getElementById("txtMPhilMarks").value='';
		document.getElementById("txtMPhilMarks").focus();
		return false;	
	}
}
function MPhilPercentage()
{
	if(!f_isNumber(document.getElementById("txtMPhilPercentage").value))
	{
		window.alert("Please enter valid percentage of Post Graduation");
		document.getElementById("txtMPhilPercentage").value='';
		document.getElementById("txtMPhilPercentage").focus();
		return false;	
	}
}
function MPhilGrade()
{
	if(IsValidName(document.getElementById("txtMPhilGrade").value))
	{
		window.alert("Please enter valid grade of Graduation");
		document.getElementById("txtMPhilGrade").value='';
		document.getElementById("txtMPhilGrade").focus();
		return false;	
	}	
}
 
function PhdUni()
{
	if(IsValidName(document.getElementById("txtPhdUni").value))
	{
		window.alert("Please enter valid University Name of Post Graduation");
		document.getElementById("txtPhdUni").value='';
		document.getElementById("txtPhdUni").focus();
		return false;	
	}
}
function PhdYearOfPass()
{
	if(!f_isNumber(document.getElementById("txtPhDYearOfPass").value))
	{
		window.alert("Please enter valid passing year of Ph.D.");
		document.getElementById("txtPhDYearOfPass").value='';
		document.getElementById("txtPhDYearOfPass").focus();
		return false;	
	}	
}
function PhdSub()
{
	if(IsValidName(document.getElementById("txtPhDSub").value))
	{
		window.alert("Please enter valid subjects of Ph.D.");
		document.getElementById("txtPhDSub").value='';
		document.getElementById("txtPhDSub").focus();
		return false;	
	}
}
function PhdMarks()
{
	if(!f_isNumber(document.getElementById("txtPhDMarks").value))
	{
		window.alert("Please enter valid Marks of Ph.D.");
		document.getElementById("txtPhDMarks").value='';
		document.getElementById("txtPhDMarks").focus();
		return false;	
	}
}
function PhdPercentage()
{
	if(!f_isNumber(document.getElementById("txtPhDPercentage").value))
	{
		window.alert("Please enter valid percentage of Ph.D.");
		document.getElementById("txtPhDPercentage").value='';
		document.getElementById("txtPhDPercentage").focus();
		return false;	
	}
}
function PhDGrade()
{
	if(IsValidName(document.getElementById("txtPhDGrade").value))
	{
		window.alert("Please enter valid grade of Ph.D.");
		document.getElementById("txtPhDGrade").value='';
		document.getElementById("txtPhDGrade").focus();
		return false;	
	}	
}
function NetSetUni()
{
	if(IsValidName(document.getElementById("txtNetSetUni").value))
	{
		window.alert("Please enter valid University Name of Post Graduation");
		document.getElementById("txtNetSetUni").value='';
		document.getElementById("txtNetSetUni").focus();
		return false;	
	}
}
function NetSetYearOfPass()
{
	if(!f_isNumber(document.getElementById("txtNetSetYearOfPass").value))
	{
		window.alert("Please enter valid passing year of Set/Net");
		document.getElementById("txtNetSetYearOfPass").value='';
		document.getElementById("txtNetSetYearOfPass").focus();
		return false;	
	}
}
 
function NetSetSub()
{
	if(IsValidName(document.getElementById("txtNetSetSub").value))
	{
		window.alert("Please enter valid subjects of Set/Net.");
		document.getElementById("txtNetSetSub").value='';
		document.getElementById("txtNetSetSub").focus();
		return false;	
	}
}

function NetSetMarks()
{
	if(!f_isNumber(document.getElementById("txtNetSetMarks").value))
	{
		window.alert("Please enter valid Marks of Set/Net");
		document.getElementById("txtNetSetMarks").value='';
		document.getElementById("txtNetSetMarks").focus();
		return false;	
	}
}
function NetSetPercentage()
{
	if(!f_isNumber(document.getElementById("txtNetSetPercentage").value))
	{
		window.alert("Please enter valid percentage of Set/Net.");
		document.getElementById("txtNetSetPercentage").value='';
		document.getElementById("txtNetSetPercentage").focus();
		return false;	
	}
}
function NetSetGrade()
{
	if(IsValidName(document.getElementById("txtNetSetGrade").value))
	{
		window.alert("Please enter valid grade of Set/Net");
		document.getElementById("txtNetSetGrade").value='';
		document.getElementById("txtNetSetGrade").focus();
		return false;	
	}
}
 
function ExpUni1()
{
	if(IsValidName(document.getElementById("txtExpUni1").value))
	{
		window.alert("Please enter valid University Name");
		document.getElementById("txtExpUni1").value='';
		document.getElementById("txtExpUni1").focus();
		return false;	
	} 
}
function ExpDesg1()
{
	if(IsValidName(document.getElementById("txtExpDesg1").value))
	{
		window.alert("Please enter valid Designation of post held");
		document.getElementById("txtExpDesg1").value='';
		document.getElementById("txtExpDesg1").focus();
		return false;	
	} 
}
function ExpSub1()
{
	if(IsValidName(document.getElementById("txtExpSub1").value))
	{
		window.alert("Please enter valid subject names you taught");
		document.getElementById("txtExpSub1").value='';
		document.getElementById("txtExpSub1").focus();
		return false;	
	} 
}


 function ExpUni2()
{
	if(IsValidName(document.getElementById("txtExpUni2").value))
	{
		window.alert("Please enter valid University Name");
		document.getElementById("txtExpUni2").value='';
		document.getElementById("txtExpUni2").focus();
		return false;	
	} 
}
function ExpDesg2()
{
	if(IsValidName(document.getElementById("txtExpDesg2").value))
	{
		window.alert("Please enter valid Designation of post held");
		document.getElementById("txtExpDesg2").value='';
		document.getElementById("txtExpDesg2").focus();
		return false;	
	} 
}
function ExpSub2()
{
	if(IsValidName(document.getElementById("txtExpSub2").value))
	{
		window.alert("Please enter valid subject names you taught");
		document.getElementById("txtExpSub2").value='';
		document.getElementById("txtExpSub2").focus();
		return false;	
	} 
}

function ExpUni3()
{
	if(IsValidName(document.getElementById("txtExpUni3").value))
	{
		window.alert("Please enter valid University Name");
		document.getElementById("txtExpUni3").value='';
		document.getElementById("txtExpUni3").focus();
		return false;	
	} 
}
function ExpDesg3()
{
	if(IsValidName(document.getElementById("txtExpDesg3").value))
	{
		window.alert("Please enter valid Designation of post held");
		document.getElementById("txtExpDesg3").value='';
		document.getElementById("txtExpDesg3").focus();
		return false;	
	} 
}
function ExpSub3()
{
	if(IsValidName(document.getElementById("txtExpSub3").value))
	{
		window.alert("Please enter valid subject names you taught");
		document.getElementById("txtExpSub3").value='';
		document.getElementById("txtExpSub3").focus();
		return false;	
	} 
}


function ExpUni4()
{
	if(IsValidName(document.getElementById("txtExpUni4").value))
	{
		window.alert("Please enter valid University Name");
		document.getElementById("txtExpUni4").value='';
		document.getElementById("txtExpUni4").focus();
		return false;	
	} 
}
function ExpDesg4()
{
	if(IsValidName(document.getElementById("txtExpDesg4").value))
	{
		window.alert("Please enter valid Designation of post held");
		document.getElementById("txtExpDesg4").value='';
		document.getElementById("txtExpDesg4").focus();
		return false;	
	} 
}
function ExpSub4()
{
	if(IsValidName(document.getElementById("txtExpSub4").value))
	{
		window.alert("Please enter valid subject names you taught");
		document.getElementById("txtExpSub4").value='';
		document.getElementById("txtExpSub4").focus();
		return false;	
	} 
}
function ExpUni5()
{ 
	if(IsValidName(document.getElementById("txtExpUni5").value))
	{
		window.alert("Please enter valid University Name");
		document.getElementById("txtExpUni5").value='';
		document.getElementById("txtExpUni5").focus();
		return false;	
	} 
}
function ExpDesg5()
{ 
	if(IsValidName(document.getElementById("txtExpDesg5").value))
	{
		window.alert("Please enter valid Designation of post held");
		document.getElementById("txtExpDesg5").value='';
		document.getElementById("txtExpDesg5").focus();
		return false;	
	} 
}
function ExpSub5()
{ 
	if(IsValidName(document.getElementById("txtExpSub5").value))
	{
		window.alert("Please enter valid subject names you taught");
		document.getElementById("txtExpSub5").value='';
		document.getElementById("txtExpSub5").focus();
		return false;	
	} 
}

function AreaExp()
{
	if(IsValidName(document.getElementById("txtAreaExp").value))
	{
		window.alert("Please enter valid area of expertise");
		document.getElementById("txtAreaExp").value='';
		document.getElementById("txtAreaExp").focus();
		return false;	
	} 
}
function SubTeach()
{
	if(IsValidName(document.getElementById("txtSubTeach").value))
	{
		window.alert("Please enter valid subject name which you able to teach");
		document.getElementById("txtSubTeach").value='';
		document.getElementById("txtSubTeach").focus();
		return false;	
	} 
}