"+S01.substring(Z01+1,S01.length)+""}if(S01.substring(0,1)=="1"){Htm=Htm+"
"+S01.substring(Z01+1,S01.length)+" |
"}if(S01.substring(0,1)=="2"){Htm=Htm+""+S01.substring(Z01+1,S01.length)+" |
"}if(S01.substring(0,1)=="5"){Htm=Htm+""+S01.substring(1,S01.length)+" |
"}if(S01.substring(0,1)=="7"){Htm=Htm+" |
"};};Htm=Htm+"";document.getElementById("IdMnuCmp").innerHTML=Htm};function VJSFuncDvExb(){document.getElementById("DivCenter").innerHTML=VJSSndDados.substring(16,VJSSndDados.length);};function VJSFuncGtHpg(){window.location.assign(VJSSndDados.substring(16,VJSSndDados.length));};function VJSCallLoadHpg(X){var X;if(X=="loadp"){location.href="/bsb/duvidas-solucoes/index.asp?2405041322"};if(X=="loadnc"){location.href="/bsb/desdobramento-loteca/index.asp?2405041322"};if(X=="loadnb"){location.href="/bsb/desdobramento-loteba/index.asp?2405041322"};if(X=="loadnq"){location.href="/bsb/desdobramento-loteqa/index.asp?2405041322"};if(X=="loadni"){location.href="/bsb/desdobramento-loteia/index.asp?2405041322"};if(X=="loadnx"){location.href="/bsb/desdobramento-lotexa/index.asp?2405041322"};if(X=="loadny"){location.href="/bsb/desdobramento-loteya/index.asp?2405041322"};if(X=="loadnz"){location.href="/bsb/desdobramento-loteza/index.asp?2405041322"};if(X=="loaddc"){location.href="/bsb/desdobramento-loteca/index.asp?2405041322"};if(X=="loaddb"){location.href="/bsb/desdobramento-loteba/index.asp?2405041322"};if(X=="loaddq"){location.href="/bsb/desdobramento-loteqa/index.asp?2405041322"};if(X=="loaddi"){location.href="/bsb/desdobramento-loteia/index.asp?2405041322"};if(X=="loaddx"){location.href="/bsb/desdobramento-lotexa/index.asp?2405041322"};if(X=="loaddy"){location.href="/bsb/desdobramento-loteya/index.asp?2405041322"};if(X=="loaddz"){location.href="/bsb/desdobramento-loteza/index.asp?2405041322"};};var VJSGZ11,VJSGS11,VJSIPLocation;function VJSFuncStartHpg(){VJSDatHorNow=VJSSndDados.substring(17,31);document.getElementById("HpgUsuar").innerHTML=VJSSndDados.substring(31,46);VJSHttpEnb=5;VJSFuncSnd("idntf"+VJSSndDados.substring(5,8));};function VJSCallIdt(){if(VJSSndDados.substring(5,8)=="exb"){document.getElementById("Hpg").innerHTML=VJSSndDados.substring(16,VJSSndDados.length);if(VJSSndDados.substring(8,11)=="cad"){document.getElementById("CliNom").focus()};if(VJSSndDados.substring(8,11)=="alt"){document.getElementById("CliCid").focus()};if(VJSSndDados.substring(8,11)=="eml"){document.getElementById("CliEml").focus()};if(VJSSndDados.substring(8,11)=="duv"){document.getElementById("CliDuv").focus()};};};function VJSFuncVerifyCad(){var Flg=1,S01;VJSDadForm="";S01=document.getElementById("CliPrg").value;VJSDadForm=VJSDadForm+"CliPrg="+S01;S01=document.getElementById("CliIDU").value;VJSDadForm=VJSDadForm+"&CliIDU="+S01;S01=document.getElementById("CliDAs").value;VJSDadForm=VJSDadForm+"&CliDAs="+S01;S01=document.getElementById("CliDAn").value;VJSDadForm=VJSDadForm+"&CliDAn="+S01;S01=document.getElementById("CliFlg").value;VJSDadForm=VJSDadForm+"&CliFlg="+S01;if(Flg==1){S01=document.getElementById("CliNom").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliNom=" +VJSGS11;if(VJSGZ11<2){Flg=0;document.getElementById("CliNom").focus();document.getElementById("CliMsg").innerHTML="Nome minimo 2"}}if(Flg==1){S01=document.getElementById("CliSNm").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliSNm="+VJSGS11;if(VJSGZ11<2) {Flg=0;document.getElementById("CliSNm").focus();document.getElementById("CliMsg").innerHTML="SobreNome minimo 2"}}if(Flg==1){S01=document.getElementById("CliCpf").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliCpf="+VJSGS11;if(VJSGZ11<5) {Flg=0;document.getElementById("CliCpf").focus();document.getElementById("CliMsg").innerHTML="Cpf minimo 5"}}if(Flg==1){S01=document.getElementById("CliDNa").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliDNa="+VJSGS11;if(VJSGZ11<10){Flg=0;document.getElementById("CliDNa").focus();document.getElementById("CliMsg").innerHTML="Data invalida"}}if(Flg==1){S01=document.getElementById("CliSex").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliSex="+VJSGS11;if(VJSGZ11<1) {Flg=0;document.getElementById("CliSex").focus();document.getElementById("CliMsg").innerHTML="Sexo escolha 1"}}if(Flg==1){S01=document.getElementById("CliEml").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliEml="+VJSGS11;if(VJSGZ11<7) {Flg=0;document.getElementById("CliEml").focus();document.getElementById("CliMsg").innerHTML="Email minimo 7"}}if(Flg==1){S01=document.getElementById("CliCid").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliCid="+VJSGS11;if(VJSGZ11<3) {Flg=0;document.getElementById("CliCid").focus();document.getElementById("CliMsg").innerHTML="Cidade minimo 3"}}if(Flg==1){S01=document.getElementById("CliEst").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliEst="+VJSGS11;if(VJSGZ11<1) {Flg=0;document.getElementById("CliEst").focus();document.getElementById("CliMsg").innerHTML="Estado escolha 1"}}if(Flg==1){S01=document.getElementById("CliTme").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliTme="+VJSGS11;if(VJSGZ11<3) {Flg=0;document.getElementById("CliTme").focus();document.getElementById("CliMsg").innerHTML="Time Coracao minimo 3"}}if(Flg==1){S01=document.getElementById("CliPsw").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliPsw="+VJSGS11;if(VJSGZ11<4) {Flg=0;document.getElementById("CliPsw").focus();document.getElementById("CliMsg").innerHTML="Senha minimo 4"}}if(Flg==1){S01=document.getElementById("CliCPs").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliCPs="+VJSGS11;if(document.getElementById("CliPsw").value!=document.getElementById("CliCPs").value){Flg=0;document.getElementById("CliPsw").focus();document.getElementById("CliMsg").innerHTML="Confirma Senha Invalida"}}Z01=VJSDadForm.search("#");if(Z01>-1){document.getElementById("CliMsg").innerHTML="caracter # invalido";Flg=0};if(Flg==1){VJSFuncSnd("idntfvld")}}function VJSFuncVerifyLog(){var S01;var Flg=1;VJSDadForm="";if(Flg==1){S01=document.getElementById("CliEml").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"CliEml=" +VJSGS11;if(VJSGZ11<7){Flg=0;document.getElementById("CliEml").focus();document.getElementById("CliMsg").innerHTML="Email minimo 7"}}if(Flg==1){S01=document.getElementById("CliPsw").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliPsw="+VJSGS11;if(VJSGZ11<4){Flg=0;document.getElementById("CliPsw").focus();document.getElementById("CliMsg").innerHTML="Senha minimo 4"}}if(Flg==1){VJSFuncSnd("idntfvlg")}};function VJSFuncVerifyIfL(){var S01;var Flg=1;VJSDadForm="";if(Flg==1){S01=document.getElementById("CliEml").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"CliEml=" +VJSGS11;if(VJSGZ11<7) {Flg=0;document.getElementById("CliEml").focus();document.getElementById("CliMsg").innerHTML="Email minimo 7"}}if(Flg==1){S01=document.getElementById("CliDNa").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliDNa="+VJSGS11;if(VJSGZ11<10){Flg=0;document.getElementById("CliDNa").focus();document.getElementById("CliMsg").innerHTML="Data invalida"}}if(Flg==1){VJSFuncSnd("idntfofl")}};function VJSFuncVerifyDuv(){var S01;var Flg=1;VJSDadForm="";S01=document.getElementById("CliEml").value;VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"CliEml=" +VJSGS11;S01=document.getElementById("CliDuv").value;S01=S01.replace(/@#/g,"");S01=S01.replace(/&/g,"@#38");S01=S01.replace(/\n/g,"@#10");VJSFuncTrim(S01);VJSDadForm=VJSDadForm+"&CliDuv="+VJSGS11;if(VJSGZ11<15){Flg=0;document.getElementById("CliDuv").focus();document.getElementById("CliMsg").innerHTML="Duvida minimo 15"}if(Flg==1){VJSFuncSnd("idntfvdv")}};function VJSFuncTrim(X){var X,Z01;while(X!=""){if(X.substring(0,1)!=" "){break}else{X=X.substring(1,X.length)}}while(X!=""){Z01=X.length;if(X.substring(Z01-1,Z01)!=" "){break}else{X=X.substring(0,Z01-1)}}VJSGS11=X;VJSGZ11=X.length;};function VJSFuncNumeric(X){var X,Z01;Z01=0;VJSGZ11=X.length;while(Z01"9")){VJSGZ11=-1;break}Z01++;}};