ftu=""; turl = ""+top.location if (tmp = turl.match(/ftu=([^\&]+)/)) { ftu = ""+tmp[1] } //if (tmp = turl.match(/index_([^\.]+)\.php/)) { ug = ""+tmp[1] } var mainWin = "abmain" var toolWin = "abssl" var hypoWin = "abhypo" 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 gospar(isin,name) { if(!name) { name="" } 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 myopen(type,filename,windowname,properties) { mywindow = window.open('',windowname,properties); if (type!="nofocus") { mywindow.focus(); } mywindow.location=filename } function gocon(realm,id) { if(typeof(id) == "undefined" || !id){ id="con"} if (realm=="pk" || realm=="gk" || realm=="u") { realm=realm+"_intro" } xx_popup(xthis+"?id="+id+(realm?"_":"")+realm+"&ug="+ug+"&ftu="+ftu,toolWin,"570","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openFC (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.audibank.de/bankdirectfc"+xx_version+"/fc4/fc_index_audi"+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 openDKR () { d = location.href xx_popup("https://ssl.audibank.de/bankdirectfc"+xx_version+"/audibank/pages/dkr_antrag.php?ftu="+ftu,toolWin,"430","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openFAQ (realm,id) { xx_popup(xthis+"?id=faq_"+realm+"&ug="+ug+"&ftu="+ftu,toolWin,"580","580","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openInfo (kat,main) { if (main) { main = "_"+main } else { main = "_pk" } d = location.href if(typeof(ewbs)!="undefined") { tmpewbs = "&ewbs="+ewbs; } else { tmpewbs = ""; } xx_popup("https://ssl.audibank.de/bankdirectfc"+xx_version+"/infomaterial/index_audi"+main+".php?kat="+kat+(ug?"&ug="+ug:"")+"&ftu="+ftu+tmpewbs,toolWin,"570","560","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes"); } function openOB (id) { if(id=='startbd'){ width='820'; height='750'; abpara = "&"+"abpara="+escape("user="+user+"&ftu="+ftu) ; var para = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=auto,resizable=no" } else{ // width='785'; height='570'; abpara = ""; // var para = "toolbar=no, location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no"; width='1000'; height='745'; abpara = ""; var para = "toolbar=no, location=no,directories=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,copyhistory=no"; } vals = ""; if (typeof(getJsVals) == "function") { vals = "&"+getJsVals (); } xx_popup("banking.php?"+id+(ug?"&"+ug.toUpperCase():"")+abpara+"&ftu="+ftu,"tbsuper"+(ug?"_"+ug:""),width,height,para); } function openOBINFO (kat) { if (ewbs) { tmpewbs = "&ewbs="+ewbs } else { tmpewbs = "" } vals = getJsVals (); //xx_popup("banking_index.php?"+(user?"user="+user:"")+"&ftu="+ftu+tmpewbs+vals,"tbsuper"+(ug?"_"+ug:""),"790","600","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no"); xx_popup("banking_index.php?"+(user?"user="+user:"")+"&ftu="+ftu+tmpewbs+vals,"tbsuper"+(ug?"_"+ug:""),"1000","745","toolbar=no, location=no,directories=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,copyhistory=no"); } function openOBHilfe(tg) { var b= ""; if (tg=="gesperrt") { b = 'banking.php?gesperrt'; } else if (tg=="schnupper") { var wnd = window.open("banking/schnupper08/index_audi.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' || servermap=='zinscheck'){ 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() { url = "http://calculator.volkswagenbank.de/CalculatorFE/vwbank/ConfiguratorNewCars.aspx?ftu="+ftu; win = xx_popup("global/content/pages/wait.html?","ACwin","760","550","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no"); document.forms["AUTOCALC"].action = url; document.forms["AUTOCALC"].target = "ACwin"; document.forms["AUTOCALC"].submit() } 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=="wa_intra") { url = "global/content/guided/wa/start.html" } else { url = " https://www.vwbank-web.de/guided_tour_audi/start.php?prid=vwbh1706" } xx_popup(url,"guided","785","445","resizable=no,status=no,toolbar=no,scrollbars=no"); } function openGuideBankey(){ if (ug=="wa" || ug=="wa_intra") { url = "global/content/bankey/start.html?noforward=1" } else { url = " http://www.vwbank-web.de/bankey_guidedtour/audi/start.html?noforward=1" } xx_popup(url,"guided","785","445","resizable=no,status=no,toolbar=no,scrollbars=no"); } function goSub(subid){ d = location.href this.location = d+'&sub='+subid; } function openAudiCalc(rechner){ if (typeof(rechner)=="undefined") { rechner=""; } xx_popup('nindex_rd.php?tid=rechner&rechner='+rechner+'&user='+user,"ACwin",'760','550','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes'); } function openAudiKonfigurator(ckpara){ if (typeof(ckpara)=="undefined") { ckpara = ""; } else { ckpara = "?"+ckpara; } xx_popup('http://ak4-de.audi.de/entry.do'+ckpara,"AKwin",'900','600','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes'); } function openAudiKonfigurator2(ckpara){ if (typeof(ckpara)=="undefined") { ckpara = ""; } else { ckpara = "?"+ckpara; } xx_popup('http://ak4-de.audi.de/entry.html?carline=a4cabrio',"AKwin",'1000','700','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes'); } function openAudiKonfigurator3(ckpara){ if (typeof(ckpara)=="undefined") { ckpara = ""; } else { ckpara = "?"+ckpara; } xx_popup('http://ak4-de.audi.de/entry.html?carline=a4cabrio',"AKwin",'1050','750','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes'); } function openHaendlerKontakt(){ xx_popup('index.php?tr=pk&id=206&page=204',"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",'760','755','resizable=yes,status=yes,toolbar=no,scrollbars=yes'); } 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/start.php?prid=vbs2302&wbs=901058" } else if (id == "VISA"){ url = "http://www.audi-visa-card.de/start.html"} if (id == "BANKEY"){ openGuideBankey() } else { 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 changeImageFinanz(id){ document.getElementById('bild').src = "content/media_u/tx_rlmpflashdetection/finanz_bild_"+id+".jpg"; document.getElementById('button'+id).src = "content/media_u/tx_rlmpflashdetection/finanz_button_"+id+"_o.jpg"; if(id==1){ document.getElementById('button2').src = "content/media_u/tx_rlmpflashdetection/finanz_button_2.jpg"; document.getElementById('button3').src = "content/media_u/tx_rlmpflashdetection/finanz_button_3.jpg"; } if(id==2){ document.getElementById('button1').src = "content/media_u/tx_rlmpflashdetection/finanz_button_1.jpg"; document.getElementById('button3').src = "content/media_u/tx_rlmpflashdetection/finanz_button_3.jpg"; } if(id==3){ document.getElementById('button2').src = "content/media_u/tx_rlmpflashdetection/finanz_button_2.jpg"; document.getElementById('button1').src = "content/media_u/tx_rlmpflashdetection/finanz_button_1.jpg"; } } function xx_openWindow(url) { xx_popup(url,'vwbtools','570','560', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes'); } newwindow = false; function xx_popup(url,target,breite,hoehe,parameter){ // if(newwindow&&newwindow.closed==false) // newwindow.close() 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(); } try { document.execCommand("BackgroundImageCache", false, true); } catch(err) {}