function checkLoad(){if(window.menubar.visible==true&&window.toolbar.visible==true){window.location="/corp/common/login.do?action=error"}}var message="";function clickNS(a){if(document.layers||(document.getElementById&&!document.all)){if(a.which==2||a.which==3|a.which==5||a.which==10||a.which==11||a.which==12||a.which==20||a.which==25||a.ctrlk){(message);return false}}else{if(event.keyCode==0||event.keyCode==2||event.keyCode==3|event.keyCode==5||event.keyCode==10||event.keyCode==11||event.keyCode==12||event.keyCode==20||event.keyCode==25){(message);return false}}}function disableCtrlKeyCombination(d){var b=new Array("n","j");var a;var c;if(window.event){a=window.event.keyCode;if(window.event.ctrlKey){c=true}else{c=false}}else{a=d.which;if(d.ctrlKey){c=true}else{c=false}}if(c){for(i=0;i<b.length;i++){if(b[i].toLowerCase()==String.fromCharCode(a).toLowerCase()){alert("Key combination CTRL + "+String.fromCharCode(a)+" has been disabled.");return false}}}return true}if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS}else{document.onmouseup=clickNS}document.oncontextmenu=clickNS;document.onkeypress=disableCtrlKeyCombination;document.onkeydown=disableCtrlKeyCombination;function mouseDown(c){var b=0;if(parseInt(navigator.appVersion)>3){if(navigator.appName=="Netscape"){b=(c.shiftKey||c.ctrlKey)}else{b=event.shiftKey}if(b){alert("Shift-click is disabled.");return false}}var a=(c==null?event:c);if(a.which){if(a.which==2){alert("Middle mouse-click is disabled.");return false}}else{if(a.button){if(a.button==4){alert("Middle mouse-click is disabled.");return false}}}return true}if(parseInt(navigator.appVersion)>3){document.onmousedown=mouseDown;if(navigator.appName=="Netscape"){document.captureEvents(Event.MOUSEDOWN)}};