if(!window.obips_common_login_js){window.obips_common_login_js={};SAWLogonWait=function(){document.body.style.cursor="wait";if(is_ie){if(document.styleSheets.length>0){document.styleSheets[document.styleSheets.length-1].addRule("INPUT.SAWLogonInput","cursor:wait")}}return true};skipToContent=function(){var a=document.getElementById("sawlogonuser");if(a){a.focus()}else{document.getElementById("idSkipContentLink").blur()}};onLangChange=function(b){var a=document.getElementById("selectlanguage");var f=document.getElementById("logonForm");var d=saw.createForm("langForm",f.action);saw.addHiddenInput(d,"langChanged","true");saw.addHiddenInput(d,"Lang",a.options[a.selectedIndex].value);if(b){var c=a.options[a.selectedIndex].getAttribute("locale");saw.addHiddenInput(d,"Locale",c)}var e=document.getElementById("accessMode");if(e.checked){saw.addHiddenInput(d,"enableSection508","true")}for(x in additionalArgs){if(x=="enableSection508"){continue}saw.addHiddenInput(d,x,additionalArgs[x])}SAWLogonWait();d.submit()};onLogonFormSubmit=function(){var a=document.getElementById("sawlogonuser");if(a){var d=saw.trim(a.value);if(d==""){alert(enterUserIdAndpassword);return false}}var b=document.getElementById("logonForm");var c=document.getElementById("accessMode");if(c.checked){saw.addHiddenInput(b,"enableSection508","true")}for(x in additionalArgs){if(x=="enableSection508"){continue}saw.addHiddenInput(b,x,additionalArgs[x])}SAWLogonWait();return true};centerLogonContent=function(){var a=document.getElementById("content");a.style.height=saw.getClientHeight()+"px";a.style.width=saw.getClientWidth()+"px";return a};onLogonPageResize=function(){};onLogonPageLoad=function(){var b=document.getElementById("content");if(saw.userAgent.is_ie&&!saw.userAgent.is_ie10up){b.style.display="block"}else{b.style.display="table"}window.onresize=onLogonPageResize;var a=document.getElementById("sawlogonuser");if(a){a.focus()}};onLoggingInPageLoad=function(c,b){onLogonPageLoad();var a=saw.createForm("tempLoggingIn",c);for(x in b){saw.addHiddenInput(a,x,b[x])}saw.submitForm(a,null)}};