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 = "
"; htmlText +="
"; htmlText +="Fenster schließen"; htmlText +="
"; htmlText += "
" + head + "
" + content +"
"; htmlText +="
"; document.getElementById(wert).innerHTML = htmlText; document.getElementById(wert).style.display="inline"; //document.getElementById(wert).style.visibility="visible"; } function showInfo(wert, head, content ) { htmlText = "
"; htmlText +="
"; htmlText +="" + head + "Fenster schließen"; htmlText +="
"; htmlText += "
" + content +"
"; htmlText += "
 
"; htmlText +="
"; document.getElementById(wert).innerHTML = htmlText; document.getElementById(wert).style.visibility="visible"; } function closeOneSmart(wert) { obj=bw.dom?document.getElementById(wert).style:bw.ie4?document.all[wert].style:bw.ns4?nest?document[wert].document[wert]:document[wert]:0; obj.visibility='hidden' } function checkBrowser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) return this } bw=new checkBrowser() function show(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='visible' } function showRSInfo() { MM_changeProp('rsInfoClosed','','style.display','none','DIV'); MM_changeProp('rsInfo','','style.display','inline','DIV');; } function hideRSInfo() { MM_changeProp('rsInfoClosed','','style.display','inline','DIV'); MM_changeProp('rsInfo','','style.display','none','DIV'); } function showSFHInfo() { MM_changeProp('sfhInfoClosed','','style.display','none','DIV'); MM_changeProp('sfhInfo','','style.display','inline','DIV');; } function hideSFHInfo() { MM_changeProp('sfhInfoClosed','','style.display','inline','DIV'); MM_changeProp('sfhInfo','','style.display','none','DIV'); } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i