// JavaScript Document
function final_validator()
{
nm=text_validator("pay_nm_txt","","Name should not be left blank");
email=text_validator("pay_email_txt","","Email should not be left blank");

resi=text_validator("pay_resno_txt","","Residential no should not be left blank");
add=text_validator("pay_add_txt","","Address should not be left blank");

cty=text_validator("pay_cty_txt","","City should not be left blank");
stat=text_validator("pay_stat_txt","","State should not be left blank");
zip=text_validator("pay_zip_txt","","Zip should not be left blank");

if(nm==1 && email==1  && resi==1 && add==1 && cty==1 && stat==1 && zip==1)
{
document.payform.submit();
}
}



/*function disp_validator()
{
invc=text_validator("payshw_invc","","Invoice no should not be left blank");
email=text_validator("payshw_email","","Email should not be left blank");
pass=text_validator("payshw_pwd","","Password should not be left blank");
if(invc==1 && email==1 && pass==1)
{
//document.payshw_frm.submit();
document.payform.submit();
}


}*/
