function open_variabel(w_file, breite, hoehe) { if (breite== null) breite= 730; if (hoehe== null) hoehe= 700; eval("var infos_win = window.open(w_file,\"Variabel\",\"width=" + breite + ",height=" + hoehe + ",screenX=0,screenY=0,menubar=yes,scrollbars=yes,resizable=yes,status=yes,locationbar=no\");"); infos_win.focus(); }; function open_info_variabel(w_file, breite) { eval("var infoi_win = window.open(w_file,\"Info\",\"width=" + breite + ",height=300,screenX=0,screenY=0,menubar=no,scrollbars=yes,resizable=no,status=no,locationbar=no\");"); infoi_win.focus(); }; function open_formular(w_file, funktion) { if (funktion == "formulare") { var info_win = window.open("/internet/dialog-leben/dialog-formulare-de.nsf/" + w_file + "?readform", "secure", "width=570, height=700, screenX=0, screenY=0, menubar=no, scrollbars=yes, resizable=no, status=yes, locationbar=no"); } else { var info_win = window.open("/" + funktion,"secure","width=700,height=600,screenX=0,screenY=0,menubar=no,scrollbars=yes,resizable=no,status=yes,locationbar=no"); } }; function PopUp(URLLink, Width, Height, Typ) { if (Typ == null){ if (Width == null) Width = 730; if (Height == null) Height = 575; status = ''; winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",top=10,left=10,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=yes'"; var oURLLinkLow = URLLink.toLowerCase(); if (oURLLinkLow.indexOf("javascript")!=-1 || oURLLinkLow.indexOf("http:")!=-1 || oURLLinkLow.indexOf("https:")!=-1 || oURLLinkLow.indexOf("dl=")!=-1 || oURLLinkLow.indexOf("$file")!=-1) { URLLink = URLLink; } else if (oURLLinkLow.indexOf("?")!=-1) { URLLink = URLLink + "&DL=PopUp.Tool"; } else { URLLink = URLLink + "?openDocument&DL=PopUp.Tool"; } win = window.open(URLLink, "PopUp", eval(winprops)); win.focus(); } if (Typ == 'Formular') { if (Width == '') Width = 567; if (Height == '') Height = 680; status = ''; winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",left=10,top=10,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=no'"; URLLink = '/internet/dialog-leben/dialog-formulare-de.nsf/FormEntry?ReadForm&Name='+URLLink; if (window.location.href.indexOf('.service.central.de')>0 ) URLLink = URLLink+'&'+window.location.host; winform = window.open(URLLink, "Formular", eval(winprops)); winform.focus(); } } function Druckvorschau(URLLink, Width, Height) { if (Width == null) Width = 600; if (Height == null) Height = 700; status = ''; if(top.name != "PopUp" && top.name != "Preview" && top.name != "Search") { winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",top=10,left=10,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=no'"; if(URLLink.indexOf("?OpenDocument") == -1 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "?OpenDocument&DL=PopUp"; else if(URLLink.indexOf("?OpenDocument") > 0 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "&DL=PopUp"; win = window.open(URLLink + "&WDT=Druckvorschau" , "Preview", eval(winprops)); win.focus(); // win.print(); } else { // window.print(); } } function Tarifrechner(URLLink, Width, Height) { if (Width == null) Width = 850; if (Height == null) Height = 700; status = ''; if(top.name != "PopUp" && top.name != "Preview" && top.name != "Search") { winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",top=10,left=10,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=no'"; if(URLLink.indexOf("?OpenDocument") == -1 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "?OpenDocument&DL=PopUp"; else if(URLLink.indexOf("?OpenDocument") > 0 && URLLink.indexOf("&DL=PopUp") == -1) URLLink = URLLink + "&DL=PopUp"; win = window.open(URLLink + "&WDT=Standard.Rechner" , "Preview", eval(winprops)); win.focus(); } else { // window.print(); } }