var formSent = false; function isFormSent() { return formSent; } function setFormSent(formSentParam) { formSent = formSentParam; } function putSendTitleNew(obj){ if(window.language == "EN") { obj.title="Your request has already been sent,please wait for a response"; } else { if(window.aravit=="aravitLang") { obj.title="\u062a\u0645\u0020\u0627\u0631\u0633\u0627\u0644\u0020\u0637\u0644\u0628\u0643\u060c\u0020\u064a\u0631\u062c\u0649\u0020\u0627\u0644\u0627\u0646\u062a\u0638\u0627\u0631\u0020\u0644\u0623\u0646\u0647\u0627"; } else { obj.title="בקשתך נשלחה, אנא המתן למענה"; } } } function checkIfCookieEnabled() { //alert("AA " + document.logon.sugUser.value) //cameFromLogin=document.logon.sugUser.value cameFromLogin = sugUser; document.cookie="bank=hapoalim"; cook=document.cookie; //alert('document.cookie:' + document.cookie + ' window.reqName:' + window.reqName) if(cook.indexOf("=")==-1 || cook.indexOf("bank=hapoalim")==-1) { //alert("you must activate cookies on your browser!"); document.location.href = '/cgi-bin/poalwwwc?reqName=CookiesNotEnabled&cameFrom=' + cameFromLogin + "&numBank=" + bank + "&mylang=" + lang; } } function setResolutionInputs(){ try{ document.logon.w.value = window.screen.width; document.logon.h.value = window.screen.height; } catch(e){} } function validateUsedIdLength(){ var userID = document.getElementById("userID"); var length = userID.value.length; if(length < 6){ errorMsg.displayMsg("3"); } } function validateIdLength(){ /*var id = document.getElementById("numID"); var length = id.value.length; if(length < 6){ errorMsg.displayMsg("4"); } */ }