function open_variabel(w_file, breite) { eval("var infos_win = window.open(w_file,\"Variabel\",\"width=" + breite + ",height=500,screenX=0,screenY=0,menubar=yes,scrollbars=yes,resizable=no,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) { var server = "https://secure3.am-gruppe.de/appl/advo/advocard_gevo.nsf/" //var server = "http://fate01.11.am-gruppe.de/appl/advo/advocard_gevo.nsf/" var serveralt = "http://secure3.am-gruppe.de/internet/advocard/am_formular.nsf/" if (w_file == "callback.htm" || w_file == "rechtsschutz.htm" || w_file == "email.htm") server = serveralt; var info_win = window.open(server + w_file,"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 = 'https://secure3.am-gruppe.de/internet/advocard/am_formular.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 PrintPreview(URLLink, Width, Height) { if (Width == null) Width = 730; if (Height == null) Height = 475; 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, "Preview", eval(winprops)); win.focus(); win.print(); } else { window.print(); } } function closeOther(wert, head, content ) { for(i = 100; i < 5000; i+=100) { if (document.getElementById("tipp"+i) != null){ document.getElementById("tipp"+i).style.display="none"; // document.getElementById("tipp"+i).style.visibility="hidden"; } else { break; } } htmlText = "