var neu = null; function popup_einfach (url,windowname,xsize,ysize) { if (neu != null) { if (neu.closed != true) { neu.window.close(); } } neu = window.open(url,windowname,'scrollbars,resizable,width='+xsize+',height='+ysize+''); if (navigator.appName == "Microsoft Internet Explorer") neu.moveTo((screen.width-xsize)/2,100); } function popup_vollbild (url,windowname,xsize,ysize) { if (neu != null) { if (neu.closed != true) { neu.window.close(); } } neu = window.open(url,windowname,'scrollbars,resizable,width='+xsize+',height='+ysize+''); if (navigator.appName == "Microsoft Internet Explorer") neu.moveTo((screen.width-xsize)/2,100); } function popup_nocontrol(url,windowname,xsize,ysize) { if (neu != null) { if (neu.closed != true) { neu.window.close(); } } neu = window.open(url,windowname,'resizable,width='+xsize+',height='+ysize+''); if (navigator.appName == "Microsoft Internet Explorer") neu.moveTo((screen.width-xsize)/2,100); } function popup_scroll(url,windowname,xsize,ysize) { if (windowname != null) { if (windowname.closed+"" != true && windowname.closed+"" != "undefined") { windowname.window.close(); } } windowname = window.open(url,windowname,'scrollbars,resizable,width='+xsize+',height='+ysize+''); windowname.moveTo((screen.width-xsize)/2,100); } function popup_fullscreen(url, windowname) { var str = "left=0,screenX=0,top=0,screenY=0"; if (window.screen) { var ah = screen.availHeight - 30; var aw = screen.availWidth - 10; str += ",height=" + ah; str += ",width=" + aw; str += ",scrollbars,resizable,location,menubar,status,tiltebar,toolbar"; } neu = window.open(url, windowname, str); neu.moveTo(0,0); neu.focus(); } function popup_popup(url,windowname,xsize,ysize) { var popupwinres; if (popupwinres != null) { if (popupwinres.closed != true) { popupwinres.window.close(); } } popupwinres = window.open(url,windowname,'scrollbars=yes,resizable,width='+xsize+',height='+ysize+''); popupwinres.moveTo((screen.width-xsize)/2,100); } function tetris() { var breite = 790; var hoehe = 500; var myLeft = (screen.availWidth - breite)/2; var myTop = (screen.availHeight - hoehe)/2; tetrispopup=window.open("tetris_set.htm?lang=de","tetrisfenster","width="+breite+",height="+hoehe+",left="+myLeft+",top="+myTop+",resizable=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,toolbar=0"); tetrispopup.focus(); } function anleitung() { var breite = 650; var hoehe = 450; var myLeft = (screen.availWidth - breite)/2; var myTop = (screen.availHeight - hoehe)/2; anleitungpopup=window.open("anleitung.htm","anleitungsfenster","width="+breite+",height="+hoehe+",left="+myLeft+",top="+myTop+",resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0"); anleitungpopup.focus(); }