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 (document.getElementById(obj.id + "_content").style.display != "none") { obj.className="meniu-mare"; document.getElementById(obj.id + "_content").style.display = "none"; document.getElementById(obj.id + "_content_sep").style.display = "none"; } else { var i=2; while (tmpobj=document.getElementById("menu_"+i)) { //alert(tmpobj.id); document.getElementById(tmpobj.id + "_content").style.display = "none"; document.getElementById(tmpobj.id + "_content_sep").style.display = "none"; i++; } obj.className="meniu-mare-apasat"; document.getElementById(obj.id + "_content").style.display = ""; document.getElementById(obj.id + "_content_sep").style.display = ""; } } function mouseIsOver(obj) { obj.className="meniu-mare-apasat"; } function mouseIsOut(obj) { obj.className="meniu-mare"; }