function trackButton(who) { // Funktion wird über Flash-Film aufgerufen var rootURL = '/appl/webco/webco_central_inter.nsf/frmLog?CreateDocument&sessionid=null&track='; track = new Image(); if(who == 'Startseite') { track.src = rootURL + 'Central_Envivas_Home_Startseite_Flash'; } else if(who == 'Beitragsrechner') { track.src = rootURL + 'Central_Envivas_Home_Zusatzversicherungen_Zahnersatz_DentalXtra_Uebersicht_Flash_Beitragsrechner'; } else if(who == 'Informationsanforderung') { track.src = rootURL + 'Central_Envivas_Home_Zusatzversicherungen_Zahnersatz_DentalXtra_Uebersicht_Flash_Informationsanforderung'; } } function search(Language) { Width = 630; Height = 558; winprops = "'width=" + eval(Width) + ",height=" + eval(Height) + ",top=10,left=10,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,status=yes'"; if(document.suche.suchfeld.value == '') { if(Language=='DE') { alert("Bitte Suchbegriff eingeben"); } else { alert("Type searchterm in the box"); } } else { MyQuery = document.suche.suchfeld.value; MyQuery = '../name/searchresult-' + Language +'?OpenDocument&Query=' + MyQuery.replace(/ /, '+'); //document.location.href = MyQuery; searchWin = window.open(MyQuery, "PopUp", eval(winprops)); searchWin.focus(); } return false; } function PopUp(URLLink, Width, Height) { if (Width == null) Width = 730; if (Height == null) Height = 558; var winName = "PopUp"; 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("../")>=0 || oURLLinkLow.indexOf("/docs/")>=0) { winName = "PopUp"; } else if(oURLLinkLow.indexOf("/appl/")>=0) { winName = "Appl"; } else if(oURLLinkLow.indexOf("notepad")>=0) { winName = "Notepad"; } else { winName = "DialogCenter"; } 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"; } else { URLLink = URLLink + "?openDocument&DL=PopUp"; } win = window.open(URLLink, winName, eval(winprops)); win.focus(); } var winPrint = 0; function PrintPreview(URLLink, Width, Height) { if (winPrint) winPrint.close(); if (Width == null) Width = 600; if (Height == null) Height = 600; status = ''; 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=PrintPopUp") == -1) URLLink = URLLink + "?OpenDocument&DL=PrintPopUp&WDT=Print"; else if(URLLink.indexOf("?OpenDocument") > 0 && URLLink.indexOf("&DL=PrintPopUp") == -1) URLLink = URLLink + "&DL=PrintPopUp&WDT=Print"; winPrint = window.open(URLLink, "Preview", eval(winprops)); winPrint.focus(); winPrint.print(); } function RechnerPopUp(url) { fenster = window.open(url,"_blank","width=800,height=666, status=yes, scrollbars=yes, left=60, top=20, resizable=yes"); fenster.focus(); return false; } function openInOpener(URLLink) { if(URLLink.indexOf("FormEntry")>0) { void PopUp(URLLink,792,670); } else { try { if(opener == null | opener.closed) { window.open(URLLink); } else { opener.location = URLLink; opener.focus(); } } catch(e) { if(opener == null) { window.open(URLLink); } else { opener.location = URLLink; opener.focus(); } } } } // MouseOver für die Reiterkarten - Setzt Active function tabHover(listElement) { if(listElement.className!='active') { listElement.className='over'; } } // MouseOver für die Reiterkarten - Entfernt Active function tabOut(listElement) { if(listElement.className!='active') { listElement.className=''; } }