function noenter(){return !(window.event&&window.event.keyCode==13)}function focusMe(){document.forms.main.login.focus()}function genericPop(c,a,b,d){parameterList="location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,maximize=0,resizable=0,width="+b+", height="+d;new_window=open(c,a,parameterList);window.self.name="main";new_window.moveTo(((screen.availWidth/2)-(b/2)),((screen.availHeight/2)-(d/2)));new_window.focus()}function externalPop(c,a,b,d){parameterList="location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,maximize=0,resizable=0,width="+b+", height="+d;new_window=open(c,a,parameterList)}function passPop(a){parameterList="location=0,directories=0,status=0,menubar=0,scrollbars=no,toolbar=0,maximize=0,resizable=1,width=500, height=400";open(a,"passWin",parameterList)}function helpPop(a){parameterList="location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,maximize=0,resizable=0,width=800, height=700";open(a,"helpWin",parameterList)}function cookiesEnabled(){document.cookie="temp=test";offset=-1;if(document.cookie.length>0){offset=document.cookie.indexOf("temp=")}if(offset==-1){passPop("/{/login/env/@context}/actions/no_cookies.do");document.forms.login.subButton.className="submit-button-off";document.forms.login.subButton.disabled=true;return false}else{document.cookie="temp=test; expires=Thu, 01-Jan-70 00:00:01 GMT";return true}}function stopSpamming(){document.forms.main.subButton.className="submit-button-off";document.forms.main.subButton.disabled=true}function onText(a){window.status=a;return true}function StatusOff(){return onText("")}function reDir(a,b){document.location.href="/"+b+"/actions/login.do?lang_change="+a}function termsChange(){if(document.main.chkAgree.checked==true){document.main.subButton.disabled=false}else{document.main.subButton.disabled=true}}function termsChangeBasic(){if(document.basic_access.chkAgree.checked==true){document.basic_access.subButton.disabled=false}else{document.basic_access.subButton.disabled=true}}function ingImage(){y=0;ad=new Array(y);ad[y++]='<img src="/mm/images/ing/index_main.jpg" width="493" height="238"  alt="">';ad[y++]='<img src="/mm/images/ing/index_main2.jpg" width="493" height="238"  alt="">';ad[y++]='<img src="/mm/images/ing/index_main3.jpg" width="493" height="238"  alt="">';x=Math.floor(Math.random()*(y));document.write(ad[x])};