function assistivedevicecampaddvalidation(theform)
{
if(theform.txtbenificioryname.value=="")
{
alert("Enter Benificiary First Name And Proceed")
theform.txtbenificioryname.focus();
return false;
}
else if(theform.txtbenificioryid.value=="")
{
alert("Enter Benificiary Id And Proceed")
theform.txtbenificioryid.focus();
return false;
}
else if(theform.DatePicker.value=="")
{
alert("Enter Camp Starting Date And Proceed")
return false;
}
else if(theform.txtaddate.value=="")
{
alert("Enter Camp Ending Date  And Proceed")
return false;
}
else 
if(theform.dlgender.value=="Select")
{
alert("Select Gender Type and Proceed")
return false;
}
else 
if(theform.dlbenificioryage.value=="Select")
{
alert("Select Benificiory Age and Proceed")
return false;
}
else 
if(theform.dlecconomicstatus.value=="Select")
{
alert("Select Ecconomic Status and Proceed")
return false;
}
else 
if(theform.dlnoofdivicdgiven.value=="Select")
{
alert("Select the No of Devices Given  and Proceed")
return false;
}
else 
if(theform.dlotherdivicetype.value=="Select")
{
alert("Select the No of Other Devices  and Proceed")
return false;
}
else 
if(theform.dlarmycommand.value=="Select")
{
alert("Select Army Command and Proceed")
return false;
}
else 
if(theform.dlhealthstatus.value=="Select")
{
alert("Select the Health status field  and Proceed")
return false;
}
else 
if(theform.dlotherdisease.value=="Select")
{
alert("Select the Other Disease and Proceed")
return false;
}
else 
if(theform.dlnoofwheelchairs.value=="Select")
{
alert("Select the No of Wheel chairs  and Proceed")
return false;
}
else 
if(theform.dlnoofhearingaids.value=="Select")
{
alert("Select No of hearing Aids and Proceed")
return false;
}
else 
if(theform.dlnoofotherdevice.value=="Select")
{
alert("Select the No of other Divices and Proceed")
return false;
}
else 
if(theform.dlotheraidstype.value=="Select")
{
alert("Select the Other Aids Type Field and Proceed")
return false;
}
return true;
}


function braveheartselectvalidation(theform)
{
if(theform.dlselect.value=="Select")
{
alert("Select Anyone And Proceed")
return false;
}
else if(theform.txtarmyno.value=="")
{
alert("Enter Army No And Proceed")
theform.txtarmyno.focus();
return false;
}
return true;
}

function veernarisvaliadation(theform)
{
if(theform.TxtFname.value=="")
{
alert("Enter Veernaris Name  And Proceed")
theform.TxtFname.focus();
return false;
}
else if(theform.Text12.value=="")
{
alert("Enter Husband Army No And Proceed")
theform.Text12.focus();
return false;
}
else if(theform.TxtHfname.value=="")
{
alert("Enter Husband Firstname And Proceed")
theform.TxtHfname.focus();
return false;
}
else if(theform.dlstate1.value=="Select")
{
alert("Select Your State And Proceed")
return false;
}
else if(theform.dlcasualitytype.value=="Select")
{
alert("Select Casuality Type And Proceed")
return false;
}
return true;
}


function feedbackfocus(theform)
{
theform.txtfname.focus();
}


function feedbackvalidation(theform)
{
if(theform.txtfname.value=="")
{
alert("Enter First Name And Proceed")
theform.txtfname.focus();
return false;
}
else if(theform.txtcomments.value=="")
{
alert("Enter Comments  And Proceed")
theform.txtcomments.focus();
return false;
}
else if(theform.txtstate.value=="")
{
alert("Enter state  And Proceed")
theform.txtstate.focus();
return false;
}
return true;
}



function faqanswerfocus(theform)
{
theform.txthead.focus();
}



function faqanswervalidation(theform)
{
if(theform.txthead.value=="")
{
alert("Enter Faq Tittle And Proceed")
theform.txthead.focus();
return false;
}
else if(theform.txtanswer.value=="")
{
alert("Enter the Answer And Proceed")
theform.txtanswer.focus();
return false;
}
return true;
}




function bravebattlefocus(theform)
{
theform.txtname.focus();
}



function braveheartsbattlesavevalidation(theform)
{
if(theform.txtname.value=="")
{
alert("Enter First Name And Proceed")
theform.txtname.focus();
return false;
}
else if(theform.txtarmyno.value=="")
{
alert("Enter Army No And Proceed")
theform.txtarmyno.focus();
return false;
}
else if(theform.txtnameofnok.value=="")
{
alert("Enter Name of NOK And Proceed")
theform.txtnameofnok.focus();
return false;
}

else if(theform.DatePicker.value=="")
{
alert("Enter Date And Proceed")
return false;
}
else if(theform.txtstate.value=="")
{
alert("Enter State field And Proceed")
theform.txtstate.focus();
return false;
}
return true;
}


function bravephysicalfocus(theform)
{
theform.txtname.focus();
}



function braveheartsphysicalvalidation(theform)
{
if(theform.txtname.value=="")
{
alert("Enter First Name And Proceed")
theform.txtname.focus();
return false;
}
else if(theform.txtarmyno.value=="")
{
alert("Enter Army No And Proceed")
theform.txtarmyno.focus();
return false;
}
else if(theform.txtrank.value=="")
{
alert("Enter Rank And Proceed")
theform.txtrank.focus();
return false;
}
else if(theform.txtnameofnok.value=="")
{
alert("Enter Name of NOK And Proceed")
theform.txtnameofnok.focus();
return false;
}
else if(theform.DatePicker.value=="")
{
alert("Enter Date And Proceed")
return false;
}
else if(theform.txtstate.value=="")
{
alert("Enter State field And Proceed")
theform.txtstate.focus();
return false;
}
return true;
}


function adminbravebattlesummaryvalidation(theform)
{
if (theform.txtname.value=="")
{
alert("Enter Army No and Proceed");
theform.txtname.focus();
return false;
}
return true;
}


function adminbravebattlesummaryvalidation1(theform)
{
if (theform.txtveername1.value=="")
{
alert("Enter Name and Proceed");
theform.txtveername1.focus();
return false;
}
return true;
}

function assistivedevicevalidate(theform)
{
if (theform.txtusername.value=="")
{
alert("Enter Benificiary Id and Proceed");
theform.txtusername.focus();
return false;
}
return true;
}


function assistivedevicefocus(theform)
{
theform.txtusername.focus();
}




function ashastudentvalidate(theform)
{
if (theform.txtadmissionid.value=="")
{
alert("Enter Admission No and Proceed");
theform.txtadmissionid.focus();
return false;
}
return true;
}


function ashastudentfocus(theform)
{
theform.txtadmissionid.focus();
}



function adminbravephysicalsummaryvalidation(theform)
{
if (theform.txtname1.value=="")
{
alert("Enter Army No and Proceed");
theform.txtname1.focus();
return false;
}
return true;
}

function adminbravephysicalsummaryvalidation1(theform)
{
if (theform.txtveername2.value=="")
{
alert("Enter Name and Proceed");
theform.txtveername2.focus();
return false;
}
return true;
}
function adminashaschoolsummaryvalidation(theform)
{
if (theform.txtschool.value=="")
{
alert("Enter Admission Number and Proceed");
theform.txtschool.focus();
return false;
}
return true;
}


function adminassistivesummaryvalidation(theform)
{
if (theform.txtschool.value=="")
{
alert("Enter Benificiory Id and Proceed");
theform.txtschool.focus();
return false;
}
return true;
}


function adminashaschooladdvalidation(theform)
{
if(theform.txtchildfirstname.value=="")
{
alert("Enter Child First Name And Proceed")
theform.txtchildfirstname.focus();
return false;
}
else 
if(theform.txtadmissionnumber.value=="")
{
alert("Enter Admission Number And Proceed")
theform.txtadmissionnumber.focus();
return false;
}
else 
if(theform.dlashaschoolcomman.value=="Select")
{
alert("Select Asha School Command and Proceed")
return false;
}
else 
if(theform.dlchildgender.value=="Select")
{
alert("Select Child Gender  and Proceed")
return false;
}
else 
if(theform.dlchildage.value=="Select")
{
alert("Select Child Age and Proceed")
return false;
}
else 
if(theform.dlashachildclass.value=="Select")
{
alert("Select Child Class and Proceed")
return false;
}
else 
if(theform.txtdisabilitybirth.value=="Select")
{
alert("Select Birth Type  and Proceed")
return false;
}
else 
if(theform.dlotherdesease.value=="Select")
{
alert("Select Other Disease Category and Proceed")
return false;
}
else 
if(theform.dlhealthstatus.value=="Select")
{
alert("Select Health Status and Proceed")
return false;
}
else 
if(theform.dlphysicalstatus.value=="Select")
{
alert("Select Physical Status and Proceed")
return false;
}
else 
if(theform.txtschoolingyear.value=="Select")
{
alert("Select Schooling Years Category and Proceed")
return false;
}
else 
if(theform.txtchildqualification.value=="Select")
{
alert("Select Child Qualification  and Proceed")
return false;
}
else 
if(theform.txtscholarshipawwa.value=="Select")
{
alert("Select Awwa Scholarship Category  and Proceed")
return false;
}
else 
if(theform.dlscholarshipother.value=="Select")
{
alert("Select Other Scholarship  and Proceed")
return false;
}
else 
if(theform.dlnoofyearservice.value=="Select")
{
alert("Select No of Year Services and Proceed")
return false;
}
else 
if(theform.dlarmycommand.value=="Select")
{
alert("Select Army Command and Proceed")
return false;
}
else 
if(theform.dlgenetichistdisability.value=="Select")
{
alert("Select Genetic Disability Category and Proceed")
return false;
}
else 
if(theform.dlgenetichistdesease.value=="Select")
{
alert("Select Genetic Desease Category  and Proceed")
return false;
}
return true;
}




function adminashaschooleditvalidation(theform)
{
if(theform.txtchildfirstname1.value=="")
{
alert("Enter Child First Name And Proceed")
theform.txtchildfirstname1.focus();
return false;
}
else 
if(theform.txtadmissionnumber1.value=="")
{
alert("Enter Admission Number And Proceed")
theform.txtadmissionnumber1.focus();
return false;
}
else 
if(theform.dlashaschoolcomman1.value=="Select")
{
alert("Select Asha School Command and Proceed")
return false;
}
else 
if(theform.dlchildgender1.value=="Select")
{
alert("Select Child Gender  and Proceed")
return false;
}
else 
if(theform.dlchildage1.value=="Select")
{
alert("Select Child Age and Proceed")
return false;
}
else 
if(theform.dlashachildclass1.value=="Select")
{
alert("Select Child Class and Proceed")
return false;
}
else 
if(theform.txtdisabilitybirth1.value=="Select")
{
alert("Select Birth Type  and Proceed")
return false;
}
else 
if(theform.dlotherdesease1.value=="Select")
{
alert("Select Other Desease Category and Proceed")
return false;
}
else 
if(theform.dlhealthstatus1.value=="Select")
{
alert("Select Health Status and Proceed")
return false;
}
else 
if(theform.dlphysicalstatus1.value=="Select")
{
alert("Select Physical Status and Proceed")
return false;
}
else 
if(theform.txtschoolingyear1.value=="Select")
{
alert("Select Schooling Years Category and Proceed")
return false;
}
else 
if(theform.txtchildqualification1.value=="Select")
{
alert("Select Child Qualification  and Proceed")
return false;
}
else 
if(theform.txtscholarshipawwa1.value=="Select")
{
alert("Select Awwa Scholarship Category  and Proceed")
return false;
}
else 
if(theform.dlscholarshipother1.value=="Select")
{
alert("Select Other Scholarship  and Proceed")
return false;
}
else 
if(theform.dlnoofyearservice1.value=="Select")
{
alert("Select No of Year Services and Proceed")
return false;
}
else 
if(theform.dlarmycommand1.value=="Select")
{
alert("Select Army Command and Proceed")
return false;
}
else 
if(theform.dlgenetichistdisability1.value=="Select")
{
alert("Select Genetic Disability Category and Proceed")
return false;
}
else 
if(theform.dlgenetichistdesease1.value=="Select")
{
alert("Select Genetic Desease Category  and Proceed")
return false;
}
return true;
}




function adminbraveheartsselectvalidation(theform)
{
if(theform.dlselect.value=="Select")
{
alert("Select Casuality Type and Proceed")
return false;
}
else 
if(theform.optionselect.value=="Select")
{
alert("Select Category and Proceed")
return false;
}
return true;
}



function adminashaschoolvalidation(theform)
{
if(theform.dlselect.value=="Select")
{
alert("Select Category and Proceed")
return false;
}
return true;
}  



function loginuservalidation(theform)
{
if(theform.txtusername.value=="")
{
alert("Enter User Name And Proceed")
theform.txtusername.focus();
return false;
}
else if(theform.txtpassword.value=="")
{
alert("Enter Password And Proceed")
theform.txtpassword.focus();
return false;
}
return true;
}



function loginusersetfocus(theform)
{
theform.txtusername.focus();
}



function forgorpasswordsetfocus(theform)
{
theform.txtforgotpassword.focus();
}



function forgotpasswordvalidate(theform)
{
if (theform.txtforgotpassword.value=="")
{
alert("Enter your user name");
theform.txtforgotpassword.focus();
return false;
}
return true;
}


function noticedetailsvalidate(theform)
{
if (theform.txtnoticedate.value=="")
{
alert("Enter the Notice date and Proceed");
theform.txtnoticedate.focus();
return false;
}
else
if (theform.txthead.value=="")
{
alert("Enter the Notice Tittle and Proceed");
theform.txthead.focus();
return false;
}
else
if (theform.txtnoticedetails.value=="")
{
alert("Enter the Notice Details and Proceed");
theform.txtnoticedetails.focus();
return false;
}
return true;
}


function pagedetailsvalidate(theform)
{
if (theform.txtpagename.value=="")
{
alert("Enter the Page Name and Proceed");
theform.txtnoticedate.focus();
return false;
}
else
if (theform.txtpagetitle.value=="")
{
alert("Enter the Page Title and Proceed");
theform.txtpagetitle.focus();
return false;
}

return true;
}

function exservicedetailsvalidate(theform)
{
if (theform.txtRank.value=="")
{
alert("Enter the Rank and Proceed");
theform.txtRank.focus();
return false;
}
else
if (theform.txtFname.value=="")
{
alert("Enter the First Name and Proceed");
theform.txtFname.focus();
return false;
}

return true;
}

function noticedetailssetficus(theform)
{
theform.txtnoticedate.focus();
}

function pagedetailssetfocus(theform)
{
theform.txtpagename.focus();
}

function exservicedetailssetfocus(theform)
{
theform.txtRank.focus();
}

function noticedetailsacceptvalidation(theform)
{
if(theform.dllist.value=="Select")
{
alert("Select Category and Proceed")
return false;
}
return true;
}  




function changepasswordvalidate(theform)
{
if(theform.txtoldpassword.value=="")
{
alert("Enter Old Password And Proceed")
theform.txtoldpassword.focus();
return false;
}
else if(theform.txtnewpassword.value=="")
{
alert("Enter New Password And Proceed")
theform.txtnewpassword.focus();
return false;
}
else if(theform.txtconpassword.value=="")
{
alert("Enter the field confirm Password")
theform.txtconpassword.focus();
return false;
}
return true;
}



function changepasswordsetfocus(theform)
{
theform.txtoldpassword.focus();
}




function userregistrationvalidate(theform)
{
if(theform.txtuserpassword.value=="")
{
alert("Enter the Password And Proceed")
theform.txtuserpassword.focus();
return false;
}
else if(theform.txtcofirmpassword.value=="")
{
alert("Enter confirm Password And Proceed")
theform.txtcofirmpassword.focus();
return false;
}
else if(theform.dldateofbirth.value=="Select")
{
alert("Enter Your Age And Proceed")
return false;
}
else if(theform.dlursex.value=="Select")
{
alert("Enter Your Sex And Proceed")
return false;
}
else if(theform.dlurregion.value=="Select")
{
alert("Enter Your Region And Proceed")
return false;
}

else if(theform.txtaddress.value=="")
{
alert("Enter Your Address And Proceed")
theform.txtaddress.focus();
return false;
}
else if(theform.txtemailid.value=="")
{
alert("Enter the Email-id  And Proceed")
theform.txtemailid.focus();
return false;
}
else if(theform.txthfirstname.value=="")
{
alert("Enter your husband firstname And Proceed")
theform.txthfirstname.focus();
return false;
}
else if(theform.txthserviceno.value=="")
{
alert("Enter your husband service no And Proceed")
theform.txthserviceno.focus();
return false;
}
else if(theform.txtrank.value=="")
{
alert("Enter Your Husband rank And Proceed")
theform.txtrank.focus();
return false;
}
else if(theform.txtdecoration.value=="")
{
alert("Enter the Husband decoration  And Proceed")
theform.txtdecoration.focus();
return false;
}
else if(theform.txtreginment.value=="")
{
alert("Enter your husband Reginment And Proceed")
theform.txtreginment.focus();
return false;
}
else if(theform.txtunit.value=="")
{
alert("Enter your husband Unit And Proceed")
theform.txtunit.focus();
return false;
}
return true;
}


function userregistrationfocus(theform)
{
theform.txtfirstname.focus();
}


function userregistration(theform)
{
if(theform.txtfirstname.value=="")
{
alert("Enter Your First Name And Proceed")
theform.txtfirstname.focus();
return false;
}
else if(theform.txtlastname.value=="")
{
alert("Enter Your Last Name And Proceed")
theform.txtlastname.focus();
return false;
}
else if(theform.txtxuserid.value=="")
{
alert("Enter Your User Id And Proceed")
theform.txtxuserid.focus();
return false;
}
return true;
}




function adminregistration(theform)
{
if(theform.txtfirstname.value=="")
{
alert("Enter Your First Name And Proceed")
theform.txtfirstname.focus();
return false;
}
else if(theform.txtlastname.value=="")
{
alert("Enter Your Last Name And Proceed")
theform.txtlastname.focus();
return false;
}
else if(theform.txtxuserid.value=="")
{
alert("Enter Your User Id And Proceed")
theform.txtxuserid.focus();
return false;
}
return true;
}


function adminregistrationvalidate(theform)
{
if(theform.txtuserpassword.value=="")
{
alert("Enter the Password And Proceed")
theform.txtuserpassword.focus();
return false;
}
else if(theform.txtcofirmpassword.value=="")
{
alert("Enter confirm Password And Proceed")
theform.txtcofirmpassword.focus();
return false;
}
else if(theform.dldateofbirth.value=="Select")
{
alert("Enter Your Age And Proceed")
return false;
}
else if(theform.dlursex.value=="Select")
{
alert("Enter Your Sex And Proceed")
return false;
}
else if(theform.dlurregion.value=="Select")
{
alert("Enter Your Region And Proceed")
return false;
}

else if(theform.txtaddress.value=="")
{
alert("Enter Your Address And Proceed")
theform.txtaddress.focus();
return false;
}
else if(theform.txtemailid.value=="")
{
alert("Enter the Email-id  And Proceed")
theform.txtemailid.focus();
return false;
}
else if(theform.txtposition.value=="")
{
alert("Enter your Position in Army And Proceed")
theform.txtposition.focus();
return false;
}
return true;
}



function adminregistrationfocus(theform)
{
theform.txtfirstname.focus();
}


