function popup(url, x, y, scroll) { var params='width='+x+',height='+y+',left='+(screen.width-x)/2+',top='+(screen.height-y)/2+',scrollbars='+scroll; var url='templates/popup.html?url='+url; pop=window.open(url,'new',params); pop.focus(); } function popup_2(url, x, y, scroll) { var params='width='+x+',height='+y+',left='+(screen.width-x)/2+',top='+(screen.height-y)/2+',scrollbars=yes'; //var url='templates/popup.html?url='+url; pop=window.open(url,'new',params); pop.focus(); } function reload() { if (document.loginform.ssl.selectedIndex == 0) { var url="http://www.daybyday.de/dbdmedia/htdocs/index.html?&dbd=" + (document.loginform.username.value); } else { var url="https://www.daybyday.de/dbdmedia/htdocs/index.html?ssl=" + (document.loginform.ssl.selectedIndex+1) + "&dbd=" + (document.loginform.username.value); alert("Um eine sichere Verbindung zu gewährleisten,\nwird die Log-In-Seite nun erneut geladen. \nIhr Passwort wird dabei aus Sicherheitsgründen nicht übertragen."); } top.location = url; } // open windows that wont be overwritten by following popups function multipopup(url,xw,yw) { jetzt = new Date(); var wintitle = jetzt.getTime(); var wintop = (screen.height - yw) / 2; var winleft = (screen.width - xw) / 2; var params = "screenX=" + winleft + ",screenY=" + wintop + ",scrollbars,height=" + yw + ",width=" + xw; var pop1 = window.open(url,wintitle,params); pop1.moveTo(winleft,wintop); }