if (this.name = '') this.name='shEAMainWnd'; this.focus(); function imagePopUp(urlToOpen) { var x = (screen.width-800)/2, y = (screen.height-800)/2; OpenWin = this.open(urlToOpen, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes, screenX="+x+", screenY="+y+", left="+x+", top="+y); } function printerFriendly(urlToOpen) { var x = (screen.width-600)/2, y = (screen.height-400)/2; OpenWin = this.open(urlToOpen, "CtrlWindow", "width=600,height=400,toolbar=no,menubar=yes,location=no,scrollbars=yes,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y); } function recommend(urlRecommandForThisArticle) { var x = (screen.width-380)/2, y = (screen.height-340)/2; OpenWin = this.open(urlRecommandForThisArticle, "CtrlWindow", "width=450,height=400,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y); } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) { var ok = confirm(strConfirmation); } else var ok = true; if (ok == true) { if(document.getElementById('closeAfterSubmit') && document.getElementById('closeAfterSubmit').value == 1) { window.close(); } if (popup == 1) { var shControlPanelPopUpWnd=window.open(strURL+'&setWindowWidth='+(width+_widthPDistance)+'&setWindowHeight='+(height+_heightPDistance)+_strBackURL, 'shControlPanelPopUpWnd', 'width='+width+',height='+height+',scrollbars=yes,status=no,menubar=yes,resizable=no,top='+((screen.height-height)/2)+',left='+((screen.width-width)/2)); } else { window.location=strURL+_strBackURL; } } else { _activateBody(); } }