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=500,height=400,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y); } function gE(el) { return document.getElementById(el); } function toggleMenu(obj) { if (obj.className != "main-active") { var _i = 2; var _currMenu; while(_currMenu = document.getElementById("menu_" + _i)) { if (_currMenu.id != obj) { _currMenu.className = "meniu_text"; document.getElementById(_currMenu.id + "_content").style.display = "none"; document.getElementById(_currMenu.id + "_content_sep").style.display = "none"; } _i++; } obj.className = "meniu_text_rollover"; document.getElementById(obj.id + "_content").style.display = ""; document.getElementById(obj.id + "_content_sep").style.display = ""; } }