function over(pg) { eval("document.mnu_" + pg + ".src = 'templates/535/g_files/" + pg + "_.gif'") } function out(pg) { eval("document.mnu_" + pg + ".src = 'templates/535/g_files/" + pg + ".gif'") } function gover(pg) { eval("document.mnu_" + pg + ".src = 'templates/535/g_files/g" + pg + "_.gif'") } function gout(pg) { eval("document.mnu_" + pg + ".src = 'templates/535/g_files/" + pg + ".gif'") } var pWin=null function openPlan(p,id) { if (pWin) { pWin.close(); pWin=null }; var l=screen.width/2-400; var t=screen.height/2-300 if (screen.width > 800) { pWin=eval("window.open('http://www.wm.pl/edytor/plany/plan.php?p="+p+"&ob1="+id+"','','width=800,height=600,left=" + l + ",top=" + t + "')") } else { pWin=eval("window.open('http://www.wm.pl/edytor/plany/plan.php?p="+p+"&ob1="+id+"','','fullscreen')"); } pWin.focus() } function openOb(p,poz) { if (pWin) { pWin.close(); pWin=null }; var l=screen.width/2-400; var t=screen.height/2-300 if (screen.width > 800) { pWin=eval("window.open('http://podroze.wm.pl/edytor/plany/plan.php?p="+p+"&z=2&poz="+poz+"&search=1','','width=800,height=600,left=" + l + ",top=" + t + "')") } else { pWin=eval("window.open('http://podroze.wm.pl/edytor/plany/plan.php?p="+p+"&z=2&poz="+poz+"&search=1','','fullscreen')"); } pWin.focus() }