ftu=""; turl = ""+top.location //if (tmp = turl.match(/ftu=([^\&]+)/)) { ftu = ""+tmp[1] } var mainWin = "vwbmain" var toolWin = "vwbssl" var hypoWin = "vwbhypo" var testKiosk = "CCBot/1.0 (+http://www.commoncrawl.org/bot.html)" var isKiosk = (testKiosk.indexOf("SiteKiosk") > 0) function blurLink(t) { t.blur();} function openImg (src,w,h,alt,w2,h2) { xx_popup('viewimg.php?src='+escape(src)+"&w="+w+"&h="+h+"&alt="+escape(alt),"",w2,h2,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes') } function myopen(type,filename,windowname,properties) { mywindow = window.open('',windowname,properties); if (type!="nofocus") { mywindow.focus(); } mywindow.location=filename } function gospar(isin,name,mode) { if (typeof(name)=="undefined") { name=""; } if (typeof(mode)=="undefined") { mode=0; } if (mode == 1) { xx_popup(xthis+'?id=bd_aktien0&url=kurse_einzelkurs_suche.htm%3fsuchbegriff%3D'+isin+'%26n%3D'+name+'&xxpopup=1','printWindow', '620' , '540' ,'scrollbars=yes,resizable=yes,status=no,dependent=yes,directories=no,location=no') } else { xx_popup('http://vwbank.gedif.de/vwbank2/fonds_einzelkurs_uebersicht.htm?subnavi=drucken&idlist=_'+isin+'&n='+name, 'printWindow', '620' , '540' ,'scrollbars=yes,resizable=yes,status=no,dependent=yes,directories=no,location=no') } } function gocon(realm,id,vals) { if(!id){id="con"} if (realm=="pk" || realm=="home") { realm="intro" } else if (realm=="gk" || realm=="u") { realm=realm+"_intro" } if (typeof(vals)=="undefined") { vals=""; } else { vals = "&"+vals; } if (typeof(getJsVals) == "function") { vals += getJsVals (); } xx_popup(xthis+"?id="+id+(realm?"_":"")+realm+"&ug="+ug+"&ftu="+ftu+vals,toolWin,"570","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openFC (kat,main,vals) { if (!isKiosk) { if (typeof(vals)=="undefined") { vals=""; } else { vals = "&"+vals; } if (typeof(getJsVals) == "function") { vals += getJsVals (); } if (main) { main = "_"+main } else { main = "_pk" } if(typeof(ewbs)!="undefined") { tmpewbs = "&ewbs="+ewbs; } else { tmpewbs = ""; } if (main == "_lp") { xx_popup("https://ssl.volkswagenbank.de/bankdirectfc"+xx_version+"/fc5/fc_vwbank"+main+(ug?"_"+ug:"_ext")+".php?kat="+kat+"&ftu="+ftu+tmpewbs+vals,toolWin,windowWidth(),windowHeight(),"toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); } else { xx_popup("https://ssl.volkswagenbank.de/bankdirectfc"+xx_version+"/fc5/fc_vwbank"+main+(ug?"_"+ug:"_ext")+".php?kat="+kat+"&ftu="+ftu+tmpewbs+vals,toolWin,"570","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } } } function openAVR(){ xx_popup("nindex_rd.php?tid=rechner&rechner=Versicherung&user="+user,"ACwin","785","600","resizable=no,status=yes,toolbar=no,scrollbars=yes"); } function openFCIE (vals) { // alert (testKiosk) // alert (isKiosk) if (!isKiosk) { d = location.href if (typeof(vals)=="undefined") { vals=""; } else { vals = "&"+vals; } if (typeof(getJsVals) == "function") { vals += getJsVals (); } if(typeof(ewbs)!="undefined") { tmpewbs = "&ewbs="+ewbs; } else { tmpewbs = ""; } xx_popup("https://ssl.volkswagenbank.ie/bankdirectfc"+xx_version+"/fc5ie/fc_vwbank_pk"+(ug?"_"+ug:"_ext")+".php?kat=finanzieren&product=OAKR&ftu="+ftu+tmpewbs+vals,toolWin,"570","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } } function openDKR () { d = location.href xx_popup("https://ssl.volkswagenbank.de/bankdirectfc"+xx_version+"/vwbank/pages/dkr_antrag.php?ftu="+ftu,toolWin,"430","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openInfo (kat,main,vals) { if (typeof(vals)=="undefined") { vals=""; } else { vals = "&"+vals; } if (typeof(getJsVals) == "function") { vals += getJsVals (); } if (main) { main = "_"+main } else { main = "_pk" } d = location.href if(typeof(ewbs)!="undefined") { tmpewbs = "&ewbs="+ewbs; } else { tmpewbs = ""; } xx_popup("https://ssl.volkswagenbank.de/bankdirectfc"+xx_version+"/infomaterial/index"+main+".php?kat="+kat+(ug?"&ug="+ug:"")+"&ftu="+ftu+tmpewbs+vals,toolWin,"570","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openOB (id) { if (id.indexOf('startbd')!=-1) { width='820'; height='750'; vwbpara = "&"+"vwbpara="+escape("user="+user+"&ftu="+ftu) ; if (bwin!="") { width='1012'; height='672'; id=bwin } vals = ""; if (typeof(getJsVals) == "function") { vals = "&"+getJsVals (); } xx_popup("banking.php?"+id+(ug?"&"+ug.toUpperCase():"")+vwbpara+vals+"&ftu="+ftu,"BD",width,height,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } else { // width='785'; height='570'; vals = ""; vwbpara = ""; if (typeof(getJsVals) == "function") { vals = "&"+getJsVals (); } // xx_popup("banking.php?"+id+(ug?"&"+ug.toUpperCase():"")+vwbpara+vals+"&ftu="+ftu,"tbsuper"+(ug?"_"+ug:""),width,height,"toolbar=no, location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no"); xx_popup("banking.php?"+id+(ug?"&"+ug.toUpperCase():"")+vwbpara+vals+"&ftu="+ftu,"tbsuper"+(ug?"_"+ug:""),1000,745, "toolbar=no, location=no,directories=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,copyhistory=no"); } } function openOBINFO (kat) { if (ewbs) { tmpewbs = "&ewbs="+ewbs } else { tmpewbs = "" } xx_popup("banking_index.php?"+(user?"user="+user:"")+"&ftu="+ftu+tmpewbs,"tbsuper"+(ug?"_"+ug:""),"790","600","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no"); } function openOBHilfe(tg) { var b= ""; if (tg=="gesperrt") { b = 'banking.php?gesperrt'; } else if (tg=="schnupper") { // var wnd = window.open("banking/schnupper/content.php","ob","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=785,height=570"); var wnd = window.open("banking/schnupper08/index_vw.php","ob","toolbar=no, location=no, directories=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,copyhistory=no,width=1000,height=745"); wnd.focus(); return; } else { b = "banking_hilfe.php?PAGE=INDEX"; } if (typeof(ewbs)!="undefined") { tmpewbs = "&ewbs="+ewbs } else { tmpewbs = "" } if (tg=="schnupper") { xx_popup(b+(user?"user="+user:"")+"&ftu="+ftu+tmpewbs,"tbsuper"+(ug?"_"+ug:""),"790","600","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no"); } else { var a=window.open(b+'&user='+user+"&ftu="+ftu+tmpewbs,'helpme','resizable=yes,scrollbars=yes,width=420,height=560'); a.focus(); } } function openCheck(servermap){ if(servermap=='hypo'){ width = '815'; height = '580'; tmpWin = hypoWin} else if(servermap=='zinsinfo'){ width ='430'; height='500'; tmpWin = hypoWin} else if(servermap=='hypokontakt'){ width ='430'; height='550'; tmpWin = hypoWin} else { tmpWin = toolWin } xx_popup("global/content/pages/servercheck_ext.php?server="+servermap+"&ug="+ug,tmpWin,width,height,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openFD(rechner) { win = xx_popup('nindex_rd.php?tid=rechner&rechner='+rechner+'&user='+user,"ACwin","785","600","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no"); } function openSEB(){ vwbpara = "?vwpara="+escape((user?"user="+user+"&":"")+"ftu="+ftu) xx_popup("https://www.mybrokerage-vw-bankdirect.de","FEopenLink","800","650","status=no,toolbar=no,resizable=yes,scrollbars=yes"); } function openGuide(){ if (ug=="wa" || ug=="wabs") { path = "wa" } else { path = "extern" } xx_popup("global/content/guided/"+path+"/start.php","guided","785","445","resizable=no,status=no,toolbar=no,scrollbars=no"); } function goSub(subid){ d = location.href this.location = d+'&sub='+subid; } function openEmo(id){ if (id == "ECARDS") { url = "http://www.vwbank-web.de/ecards/popup.php" } else if (id == "FWO") { if (user && user != "ext") { url = "global/content/fwo/"+user+"/start.html"; } else { url = "http://www.vwbank-web.de/fwo/start.html" }} else if (id == "PK") { url = "http://www.vwbank-web.de/pluskonto-pluskick/start.php?prid=900597&wbs=900597&noforward=1" } else if (id == "PMK") { url = "http://www.volkswagen-visa-card.de/start.html" } else if (id == "PMKJ") { url = "http://www.vwbank-web.de/vw_visa_card_vwb/start.php?prid=vbs2302&wbs=901058" } else if (id == "Advent") { url = "http://www.vwbank-web.de/adventskalender/index.jsp?pagereq=fla" } else if (id == "Pluskick") { url = "https://www.vwbank-web.de/elfmeter-online.de/main.php?get=&wbs=900761&gameid=&username=&id=&prid=900761&noforward=1" } xx_popup(url,"emo_"+user,"785","445","resizable=no,status=no,toolbar=no,scrollbars=no"); } function openImp() { xx_popup(xthis+'?id=impressum',toolWin,'570','560','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes') } function openLZK() { para = document.location.href para = para.replace(/nt_sr=[^&]+&?/,"") para = para.replace(/kp=[^&]+&?/,"") xx_popup("lzk_kompakt.php?"+para.substr(para.indexOf("?")+1),toolWin,570,560,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } newwindow = false; function xx_openWindow(url) { xx_popup(url,'vwbtools','570','560', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes'); } function xx_popup(url,target,breite,hoehe,parameter){ var l = (screen.availWidth - breite) / 2; var t = (screen.availHeight - hoehe) / 2; newwindow = window.open(url,target,"width="+breite+",height="+hoehe+",left="+l+",top="+t+","+parameter); newwindow.focus(); } function openCalc (id) { xx_popup(xthis+'?id=calc_'+id+'&ftu='+ftu,'vwbssl','570','560', 'width=570,height=560,width=570,height=560,scrollbars=yes,resizable=1');return false; } function windowWidth() { var myWidth; if( typeof( window.innerWidth ) == 'number' ) { myWidth = window.innerWidth; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { myWidth = document.documentElement.clientWidth; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { myWidth = document.body.clientWidth; } return myWidth; } function windowHeight() { var myHeight; if( typeof( window.innerWidth ) == 'number' ) { myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { myHeight = document.body.clientHeight; } return myHeight; } function addEvent(elm, evType, fn, useCapture) { if(elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent) { var r = elm.attachEvent('on' + evType, fn); return r; } else { elm['on' + evType] = fn; } }