<!--
if(typeof getUrlVars=='function') {
	var uVars = getUrlVars();
	if(typeof uVars['src'] == "string" && typeof WT=='object') {
	  WT["srch"]=1;  // paid searchcontent
	 }
}



var gImages=new Array;
var gIndex=0;
var DCS=new Object();
//WT declaration added in Basic Template, CS (2004.01.20)
//var WT=new Object();
var DCSext=new Object();

// following lines 8.0 code
var gQP=new Array();
var gI18n=false;

var gService = false;
var gTimeZone = 1;
var gFpc="WT_FPC";
var gConvert=true;
if (window.RegExp){
	var RE=gI18n?{"%25":/\%/g}:{"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g};
	if (gI18n){
		var EXRE=/dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)/i;
	}
}
// end of 8.0 code


hn=document.location.hostname+"";

if (hn=="friends.honda.de" ||  hn=="develop.honda.de" || hn=="snowboard.honda.de" || hn=="zubehoer.honda.de" || hn=="www.zubehoer.honda.de" ||  hn=="pe.honda.de") {
 document.location.hostname="www.honda.de"
}

if (hn=="wwww.honda.nl" ||  hn=="soichiro.honda.nl" || hn=="develop.honda.nl" || hn=="www.honda.nl." || hn=="wwy.honda.nl") {
 document.location.hostname="www.honda.nl"
}


if (WT["predefined_domain"])
 {
 	if (WT["predefined_domain"].length > 0)
 	  hn=WT["predefined_domain"].replace("http://","");
 	WT["predefined_domain"]=null;
 }
var wtversion="6.5";
var gDcsId="";


gDcsIdarr= new Array("dcsmzxfpt9upajidlreuva19l_4z7r","dcsmxlpbz8upaj64m0z6xv09l_3q6o","dcsadrrjp8upajm49npxj219l_9g1z","dcss23dxw9upajqzn25cyd19l_3j9k","dcs31mcp6aupaj646wgdhr09l_7g2u")
//                DE                               AT                               BE                               NL                               Dealerdownload

gDcsIdarr[3]="" // NL - kein tracking gewünscht.

                  
var gDomain="sdc.honda.de";
gDcsId=gDcsIdarr[0]; // Standard
wtversion="8.0";


//Add customizations here
//WT.sp="@@SPLITVALUE@@";


hnorg=hn; // merken, um es später zuzuweisen

putaway= new Array('www.','ww.','w.','www1.','www2.','www3.');
for (i=0;i<putaway.length;i++)
   hn=hn.replace(putaway[i],"");

switch (hn) {
    case 'honda.de':
    case 'hondadeutschland.de':
    case 'honda-haendler.de':
    case 'honda-tanken.de':
    case 'honda-motorradvermietung.de':
    case 'hondamotorradvermietung.de':
    case 'honda-academy.com':
    case 'hondaacademy.com':
    case 'honda-academy.de':
    case 'hondaacademy.de':
    case 'honda-academy.eu':
    case 'hondaacademy.eu':
    case 'honda-akademie.de':
    case 'hondaakademie.de':
    case 'honda-partner.de':
    case 'honda-umfrage.de':
    case 'honda-asimo.de':
    case 'hondaasimo.de':
    case 'honda-jet.de':
    case 'motorrad-honda.de':
    case 'honda-cbr600rr-event.de':
    case 'wwwhonda.de':
    case 'honda-econ.de':
    case 'hostadev3.mit.de':
    case 'hostamodev3.mit.de':
    case 'honda-eco-assist.de':
    case 'honda-ecoassist.de':
    case 'honda-praemienplus.de':
    case 'honda-praemien-plus.de':
    case 'honda-prämienplus.de':
    case 'honda-prämien-plus.de':
    case 'honda-verkaeufer.de':
    case 'honda-verkäufer.de':
    case 'hybridchallenge.de':
    case 'hybrid-challenge.de':
    default:
        liveDomain="www.honda.de";
        if (document.location.href.indexOf("/dealerdownload/") > 0)
         {
         	gDcsId=gDcsIdarr[4];
         }
        break;
   case 'm.honda.de':
   case 'mobil.honda.de':
   case 'mobile.honda.de':
        liveDomain="mobile.honda.de";
        break;
   case 'modix.honda.de':
        liveDomain="modix.honda.de";
        break;
    case 'vernunft-ist-der-neue-punk.de':
    case 'vernunftistderneuepunk.de':
    case 'vertrauen-ist-der-neue-punk.de':
    case 'vertrauenistderneuepunk.de':
        liveDomain="www.vernunftistderneuepunk.de";
        break;
    case 'hondahunters.de':
    case 'honda-hunters.de':
    case 'hostahunters.mit.de':
        liveDomain="www.hondahunters.de";
        break;
    case 'iaa2011.mit.de':
    case 'honda-iaa.de':
        liveDomain="honda-iaa.de";
        break;
    case 'hondainnovation.de':
    case 'honda-innovation.de':
        liveDomain="honda-innovation.de";
        break;
    case 'honda-firmenkunden.de':
        liveDomain="www.honda-firmenkunden.de";
        break;
    case 'honda-crv.de':
    case 'hondacrv.de':
        liveDomain="www.honda-crv.de";
        break;
    case 'honda-frv.de':
    case 'hondafrv.de':
        liveDomain="www.honda-frv.de";
        break;
    case 'honda-jazz.de':
    case 'hondajazz.de':
        liveDomain="www.honda-jazz.de";
        break;
    case 'honda-jazzhybrid.de':
    case 'honda-jazz-hybrid.de':
        liveDomain="www.honda-jazzhybrid.de";
        break;
    case 'honda-legend.de':
    case 'hondalegend.de':
        liveDomain="www.honda-legend.de";
        break;
    case 'accord-2006.de':
        liveDomain="www.accord-2006.de";
        break;
    case 'accord2006.de':
        liveDomain="www.accord2006.de";
        break;
    case 'honda-accord.de':
    case 'hondaaccord.de':
    case 'accord.mit.de':
        liveDomain="www.honda-accord.de";
        break;
    case 'eineklassesportlicher.de':
    case 'eine-klasse-sportlicher.de':
        liveDomain="www.eine-klasse-sportlicher.de";
        break;
   	case 'honda-civic.de':
   	case 'hondacivic.de':
        liveDomain="www.honda-civic.de";
        break;
    case 'derneuecivic.de':
        liveDomain="www.derneuecivic.de";
        break;
    case 'honda-insight.de':
    case 'hondainsight.de':
        liveDomain="www.hondainsight.de";
        break;
    case 'honda-hybrid.de':
        liveDomain="www.honda-hybrid.de";
        break;
    case 'civic-hybrid.de':
    case 'civichybrid.de':
        liveDomain="www.civic-hybrid.de";
        break;
    case 'bike-schein.de':
    case 'bikeschein.de':
    case 'hobikede.mit.de':
    case 'hobikedev.mit.de':
        liveDomain="www.bikeschein.de";
        break;
    case 'fahren-ohne-fuehrerschein.de':
    case 'fahrenohnefuehrerschein.de':
    case 'fof.mit.de':
        liveDomain="www.fahren-ohne-fuehrerschein.de";
        break;

    case 'honda-crz.de':
    case 'hondacrz.de':
    case 'hondaurbanized.de':
    case 'honda-urbanized.de':
        liveDomain="www.honda-crz.de";
        break;
    case 'honda-fcx.de':
    case 'hondafcx.de':
        liveDomain="www.honda-fcx.de";
        break;
    case 'hondacleanmove.de':
    case 'honda-cleanmove.de':
    case 'honda-clean-move.de':
        liveDomain="www.honda-clean-move.de";
        break;
      


    case 'honda.lu':
    case 'honda.be':
    case 'fl.honda.de':
    case 'fr.honda.de':
    case 'honda-econ.be':
    case 'hostabe.mit.de':
    case 'hostabev3.mit.de':
        liveDomain="www.honda.be";
       	gDcsId=gDcsIdarr[2];
        break;
    case 'honda-insight.be':
    case 'hondainsight.be':
    case 'fl.honda-insight.be':
    case 'fl.hondainsight.be':
    case 'fr.honda-insight.be':
    case 'fr.hondainsight.be':
        liveDomain="www.honda-insight.be";
       	gDcsId=gDcsIdarr[2];
        break;
    case 'fr.honda-crz.be':
    case 'fr.hondacrz.be':
    case 'fl.honda-crz.be':
    case 'fl.hondacrz.be':
        liveDomain="www.honda-crz.be";
       	gDcsId=gDcsIdarr[2];
        break;
        
    case 'newpunk.be':
    case 'fl.newpunk.be':
    case 'fr.newpunk.be':
        liveDomain="www.newpunk.be";
       	gDcsId=gDcsIdarr[2];
        break;
    case 'honda-eco-assist.be':
    case 'fl.honda-eco-assist.be':
    case 'honda-ecoassist.be':
    case 'fl.honda-ecoassist.be':
    case 'fl.hostabev3.mit.de':
    case 'fl.honda-econ.be':
    case 'fl.honda.lu':
	case 'fl.honda.be':
    case 'honda-jet.be':
    case 'hondajet.be':
    case 'fl.honda-jet.be':
    case 'fl.hondajet.be':
        liveDomain="www.fl.honda.be";
       	gDcsId=gDcsIdarr[2];
        break;
    case 'honda-crv.be':
    case 'hondacrv.be':
    case 'honda-accord.be':
    case 'hondaaccord.be':
    case 'fl.honda-accord.be':
    case 'fl.hondaaccord.be':
    case 'fl.een-klasse-sportiever.be':
    case 'hondahybrid.be':
    case 'fr.hondahybrid.be':
    case 'fl.hondahybrid.be':
    case 'civic-hybrid.be':
    case 'fl.civic-hybrid.be':
	case 'fl.civichybrid.be':
	case 'fl.honda-hybrid.be':
    case 'fl.honda-civic.be':
    case 'honda-civic.be':
    case 'fl.honda-legend.be':
    case 'fl.hondalegend.be':
    case 'honda-legend.be':
    case 'hondalegend.be':
    case 'jazzhybrid.be':
    case 'jazz-hybrid.be':
    case 'fl.jazz-hybrid.be':
    case 'fl.jazzhybrid.be':
    case 'honda-jazz.be':
    case 'hondajazz.be':
    case 'fl.honda-jazz.be':
    case 'fl.hondajazz.be':
    case 'honda-fcx.be':
    case 'hondafcx.be':
        liveDomain=hnorg;
       	gDcsId=gDcsIdarr[2];
        break;
	
	case 'fr.honda.lu':
    case 'fr.honda-econ.be':
	case 'fr.honda.be':
    case 'fr.honda-eco-assist.be':
    case 'fr.honda-ecoassist.be':
	case 'fr.hostabev3.mit.de':
    case 'fr.honda-jet.be':
    case 'fr.hondajet.be':
        liveDomain="www.fr.honda.be";
       	gDcsId=gDcsIdarr[2];
        break;
	case 'new-civic.be':
	case 'newcivic.be':
    case 'fr.een-klasse-sportiever.be':
	case 'fr.civic-hybrid.be':
	case 'fr.civichybrid.be':
	case 'fr.honda-hybrid.be':
	case 'honda-hybrid.be':
    case 'fr.honda-accord.be':
    case 'fr.hondaaccord.be':
    case 'fr.honda-civic.be':
    case 'fr.honda-legend.be':
    case 'fr.hondalegend.be':
    case 'fr.honda-jazz.be':
    case 'fr.hondajazz.be':
    case 'fr.jazz-hybrid.be':
    case 'fr.jazzhybrid.be':
        liveDomain=hnorg;
       	gDcsId=gDcsIdarr[2];
        break;
        
    case 'honda-asimo.at':
    case 'hondaasimo.at':
    case 'honda-eco-assist.at':
    case 'honda-ecoassist.at':
    case 'hostaatv3.mit.de':
    case 'honda.at':
    case 'at.honda.de':
    case 'honda-econ.at':
    case 'at.honda.de':
    case 'honda-innovation.at':
    case 'honda-motorradvermietung.at':
    case 'honda-giesinger.at':
    case 'honda.co.at':
    case 'honda-fcx.at':
    case 'hondafcx.at':
    case 'honda-jet.at':
    case 'hondajet.at':
    case 'honda-cleanmove.at':
    case 'honda-clean-move.at':
    case 'cleanmove.at':
    case 'clean-move.at':
        liveDomain="www.honda.at";
       	gDcsId=gDcsIdarr[1];
        break;
    case 'honda-insight.at':
    case 'hondainsight.at':
        liveDomain="www.honda-insight.at";
       	gDcsId=gDcsIdarr[1];
        break;

    case 'honda-crz.at':
    case 'hondacrz.at':
        liveDomain="www.honda-crz.at";
       	gDcsId=gDcsIdarr[1];
        break;


    case 'new-civic.com':
    case 'honda-hybrid.at':
    case 'hondahybrid.at':
    case 'civic-hybrid.at':
    case 'civichybrid.at':
    case 'new-civic.at':
    case 'hondacivic.at':
    case 'honda-civic.at':
        liveDomain=hnorg;
       	gDcsId=gDcsIdarr[1];
        break;

    case 'hondalegend.at':
    case 'honda-legend.at':
        liveDomain="www.honda-legend.at";
       	gDcsId=gDcsIdarr[1];
        break;
    case 'honda-accord.at':
    case 'hondaaccord.at':
        liveDomain="www.honda-accord.at";
       	gDcsId=gDcsIdarr[1];
        break;

    case 'honda-crv.at':
    case 'hondacrv.at':
        liveDomain="www.honda-crv.at";
       	gDcsId=gDcsIdarr[1];
        break;

    case 'vernunftisteinfachcool.at':
    case 'vernunft-ist-einfach-cool.at':
    case 'vernunftistcool.at':
    case 'vernunft-ist-cool.at':
    case 'honda-jazz.at':
    case 'hondajazz.at':
        liveDomain="www.honda-jazz.at";
       	gDcsId=gDcsIdarr[1];
        break;
    case 'jazzhybrid.at':
    case 'jazz-hybrid.at':
    case 'honda-jazzhybrid.at':
    case 'honda-jazz-hybrid.at':
        liveDomain="www.jazz-hybrid.at";
       	gDcsId=gDcsIdarr[1];
        break;
    case 'honda-iaa.at':
        liveDomain="honda-iaa.at";
       	gDcsId=gDcsIdarr[1];
        break;

    case 'honda-ecoassist.nl':
    case 'honda-eco-assist.nl':
    case 'voorechtevrouwen.nl':
	case 'voorechtegezinnen.nl':
	case 'voorechtemannen.nl':
	case 'hondapowerequipment.nl':
	case 'powerequipment.nl':
    case 'honda.nl':
    case 'nl.honda.de':
    case 'honda-econ.nl':
    case 'hostanlv3.mit.de':
    case 'honda-jazz.nl':
    case 'hondajazz.nl':
    case 'honda-crv.nl':
    case 'hondacr-v.nl':
    case 'honda-fcx.nl':
    case 'hondafcx.nl':
    case 'honda-jet.nl':
    case 'hondajet.nl':
        liveDomain="www.honda.nl";
       	gDcsId=gDcsIdarr[3];
        break;
    case 'honda-insight.nl':
    case 'hondainsight.nl':
        liveDomain="www.honda-insight.nl";
       	gDcsId=gDcsIdarr[3];
        break;

    case 'honda-crz.nl':
    case 'hondacrz.nl':
        liveDomain="www.honda-crz.nl";
       	gDcsId=gDcsIdarr[3];
        break;
        
    case 'honda-civic.nl':
    case 'hondacivic.nl':
    case 'newcivic.nl':
        liveDomain=hnorg;
       	gDcsId=gDcsIdarr[3];
        break;

    case 'honda-hybrid.nl':
    case 'hondahybrid.nl':
    case 'civic-hybrid.nl':
    case 'civichybrid.nl':
        liveDomain="www.honda-hybrid.nl";
       	gDcsId=gDcsIdarr[3];
        break;
}
var dcs_dcssip="&dcssip="+escape(liveDomain);


function dcsVar(){
	var dCurrent=new Date();
	WT.tz=dCurrent.getTimezoneOffset()/60*-1;
	if (WT.tz==0){
		WT.tz="0";
	}
	WT.bh=dCurrent.getHours();
	WT.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;
	if (typeof(screen)=="object"){
		WT.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;
		WT.sr=screen.width+"x"+screen.height;
	}
	if (typeof(navigator.javaEnabled())=="boolean"){
		WT.jo=navigator.javaEnabled()?"Yes":"No";
	}
	if (document.title){
		WT.ti=document.title;
	}
	WT.js="Yes";
	WT.jv=dcsJV();
	if (document.body&&document.body.addBehavior){
		document.body.addBehavior("#default#clientCaps");
		WT.ct=document.body.connectionType||"unknown";
		document.body.addBehavior("#default#homePage");
		WT.hp=document.body.isHomePage(location.href)?"1":"0";
	}
	else{
		WT.ct="unknown";
	}
	if (parseInt(navigator.appVersion)>3){
		if ((navigator.appName=="Microsoft Internet Explorer")&&document.body){
			WT.bs=document.body.offsetWidth+"x"+document.body.offsetHeight;
		}
		else if (navigator.appName=="Netscape"){
			WT.bs=window.innerWidth+"x"+window.innerHeight;
		}
	}
	WT.fi="No";
	if (window.ActiveXObject){
		for(var i=10;i>0;i--){
			try{
				var flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);
				WT.fi="Yes";
				WT.fv=i+".0";
				break;
			}
			catch(e){
			}
		}
	}
	else if (navigator.plugins&&navigator.plugins.length){
		for (var i=0;i<navigator.plugins.length;i++){
			if (navigator.plugins[i].name.indexOf('Shockwave Flash')!=-1){
				WT.fi="Yes";
				WT.fv=navigator.plugins[i].description.split(" ")[2];
				break;
			}
		}
	}
	if (gI18n){
		WT.em=(typeof(encodeURIComponent)=="function")?"uri":"esc";
		if (typeof(document.defaultCharset)=="string"){
			WT.le=document.defaultCharset;
		} 
		else if (typeof(document.characterSet)=="string"){
			WT.le=document.characterSet;
		}
	}
	WT.tv="8.0.3";
	WT.sp="@@SPLITVALUE@@";
	DCS.dcsdat=dCurrent.getTime();
	// replaced by the following statement: DCS.dcssip=window.location.hostname;
	DCS.dcssip=liveDomain;
//	DCS.dcssip="82.98.67.20";
	DCS.dcscfg="1";
	
	// replaced by the following if-statement DCS.dcsuri=window.location.pathname;
	if ((WT["tmp_dcsAddOn"]) && (WT["tmp_dcsAddOn"] != ""))
	 {
	 	DCS.dcsuri=WT["tmp_dcsAddOn"];
	 	WT["tmp_dcsAddOn"]="";
	 }
	 else
	 {
	  DCS.dcsuri=window.location.pathname;
	  };
	 if (window.location.search){
		DCS.dcsqry=window.location.search;
		if (gQP.length>0){
			for (var i=0;i<gQP.length;i++){
				var pos=DCS.dcsqry.indexOf(gQP[i]);
				if (pos!=-1){
					var front=DCS.dcsqry.substring(0,pos);
					var end=DCS.dcsqry.substring(pos+gQP[i].length,DCS.dcsqry.length);
					DCS.dcsqry=front+end;
				}
			}
		}
	}
	if ((window.document.referrer!="")&&(window.document.referrer!="-")){
		if (!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){
			DCS.dcsref=window.document.referrer;
		}
	}
}

function dcsA(N,V){
	if (gI18n&&!EXRE.test(N)){
		if (N=="dcsqry"){
			var newV="";
			var params=V.substring(1).split("&");
			for (var i=0;i<params.length;i++){
				var pair=params[i];
				var pos=pair.indexOf("=");
				if (pos!=-1){
					var key=pair.substring(0,pos);
					var val=pair.substring(pos+1);
					if (i!=0){
						newV+="&";
					}
					newV+=key+"="+dcsEncode(val);
				}
			}
			V=V.substring(0,1)+newV;
		}
		else{
			V=dcsEncode(V);
		}
	}
	return "&"+N+"="+dcsEscape(V, RE);
}

function A(N,V){
	return "&"+N+"="+dcsEscape(V);
}

function dcsEscape(S, REL){
	if (typeof(REL)!="undefined"){
		var retStr = new String(S);
		for (var R in REL){
			retStr = retStr.replace(REL[R],R);
		}
		return retStr;
	}
	else{
		return escape(S);
	}
}

function dcsEncode(S){
	return (typeof(encodeURIComponent)=="function")?encodeURIComponent(S):escape(S);
} 

function dcsCreateImage(dcsSrc){
	if (document.images){
		gImages[gIndex]=new Image;
		gImages[gIndex].src=dcsSrc;
		gIndex++;
	}
	else{
		document.write('<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">');
	}
}

function dcsMeta(){
	var elems;
	if (document.all){
		elems=document.all.tags("meta");
	}
	else if (document.documentElement){
		elems=document.getElementsByTagName("meta");
	}
	if (typeof(elems)!="undefined"){
		var length=elems.length;
		for (var i=0;i<length;i++){
			var name=elems.item(i).name;
			var content=elems.item(i).content;
			var equiv=elems.item(i).httpEquiv;
			if (name.length>0){
				if (name.indexOf("WT.")==0){
					WT[name.substring(3)]=content;
				}
				else if (name.indexOf("DCSext.")==0){
					DCSext[name.substring(7)]=content;
				}
				else if (name.indexOf("DCS.")==0){
					DCS[name.substring(4)]=content;
				}
			}
			else if (gI18n&&(equiv=="Content-Type")){
				var pos=content.toLowerCase().indexOf("charset=");
				if (pos!=-1){
					WT.mle=content.substring(pos+8);
				}
			}
		}
	}
}



function dcsTag(){
	if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
		return;
	}
	if(gDcsId.length==0) { 
	    return;
    }
	var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+(gDcsId==""?'':'/'+gDcsId)+"/dcs.gif?";
	for (var N in DCS){
		if (DCS[N]){
			P+=dcsA(N,DCS[N]);
		}
	}
	var keys=["co_f","vt_sid","vt_f_tlv"];
	for (var i=0;i<keys.length;i++){
		var key=keys[i];
		if (WT[key]){
			P+=dcsA("WT."+key,WT[key]);
			delete WT[key];
		}
	}
	for (N in WT){
		if (WT[N]){
			P+=dcsA("WT."+N,WT[N]);
		}
	}
	for (N in DCSext){
		if (DCSext[N]){
			P+=dcsA(N,DCSext[N]);
		}
	}
	if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){
		P=P.substring(0,2040)+"&WT.tu=1";
	}
	
	       // alert(P);
	dcsCreateImage(P);
}    




dcsVar();
dcsMeta();
dcsFunc("dcsAdv");


dcsTag();
 if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){
//	document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>");
}    



function dcsCookie(){
	if (typeof(dcsOther)=="function"){
		dcsOther();
	}
	else if (typeof(dcsPlugin)=="function"){
		dcsPlugin();
	}
	else if (typeof(dcsFPC)=="function"){
		dcsFPC(gTimeZone);
	}
}
function dcsGetCookie(name){
	var pos=document.cookie.indexOf(name+"=");
	if (pos!=-1){
		var start=pos+name.length+1;
		var end=document.cookie.indexOf(";",start);
		if (end==-1){
			end=document.cookie.length;
		}
		return unescape(document.cookie.substring(start,end));
	}
	return null;
}
function dcsGetCrumb(name,crumb){
	var aCookie=dcsGetCookie(name).split(":");
	for (var i=0;i<aCookie.length;i++){
		var aCrumb=aCookie[i].split("=");
		if (crumb==aCrumb[0]){
			return aCrumb[1];
		}
	}
	return null;
}
function dcsGetIdCrumb(name,crumb){
	var cookie=dcsGetCookie(name);
	if(!(cookie) || cookie.length==0) // diese und die Folgezeile wg. JS-Fehler im IAA-Special WPE 07.09.2011
	 return null;
	var id=cookie.substring(0,cookie.indexOf(":lv="));
	var aCrumb=id.split("=");
	for (var i=0;i<aCrumb.length;i++){
		if (crumb==aCrumb[0]){
			return aCrumb[1];
		}
	}
	return null;
}
function dcsIsFpcSet(name,id,lv,ss){
	if (id==dcsGetIdCrumb(name,"id")){
		if (lv==dcsGetCrumb(name,"lv")){
		   	if (ss=dcsGetCrumb(name,"ss")){
				return true;
			}
		}
	}
	return false;
}
function dcsFPC(offset){
	if (typeof(offset)=="undefined"){
		return;
	}
	if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
		return;
	}
	var name=gFpc;
	var dCur=new Date();
	var adj=(dCur.getTimezoneOffset()*60000)+(offset*3600000);
	dCur.setTime(dCur.getTime()+adj);
	var dExp=new Date(dCur.getTime()+315360000000);
	var dSes=new Date(dCur.getTime());
	WT.co_f=WT.vt_sid=WT.vt_f=WT.vt_f_a=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
	if (document.cookie.indexOf(name+"=")==-1){
		if ((typeof(gWtId)!="undefined")&&(gWtId!="")){
			WT.co_f=gWtId;
		}
		else if ((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){
			WT.co_f=gTempWtId;
			WT.vt_f="1";
		}
		else{
			WT.co_f="2";
			var cur=dCur.getTime().toString();
			for (var i=2;i<=(32-cur.length);i++){
				WT.co_f+=Math.floor(Math.random()*16.0).toString(16);
			}
			WT.co_f+=cur;
			WT.vt_f="1";
		}
		if (typeof(gWtAccountRollup)=="undefined"){
			WT.vt_f_a="1";
		}
		WT.vt_f_s=WT.vt_f_d="1";
		WT.vt_f_tlh=WT.vt_f_tlv="0";
	}
	else{
		var id=dcsGetIdCrumb(name,"id");
		var lv=parseInt(dcsGetCrumb(name,"lv"));
		var ss=parseInt(dcsGetCrumb(name,"ss"));
		if ((id==null)||(id=="null")||isNaN(lv)||isNaN(ss)){
			return;
		}
		WT.co_f=id;
		var dLst=new Date(lv);
		WT.vt_f_tlh=Math.floor((dLst.getTime()-adj)/1000);
		dSes.setTime(ss);
		if ((dCur.getTime()>(dLst.getTime()+1800000))||(dCur.getTime()>(dSes.getTime()+28800000))){
			WT.vt_f_tlv=Math.floor((dSes.getTime()-adj)/1000);
			dSes.setTime(dCur.getTime());
			WT.vt_f_s="1";
		}
		if ((dCur.getDay()!=dLst.getDay())||(dCur.getMonth()!=dLst.getMonth())||(dCur.getYear()!=dLst.getYear())){
			WT.vt_f_d="1";
		}
	}
	WT.co_f=escape(WT.co_f);
	WT.vt_sid=WT.co_f+"."+(dSes.getTime()-adj);
	var expiry="; expires="+dExp.toGMTString();
	document.cookie=name+"="+"id="+WT.co_f+":lv="+dCur.getTime().toString()+":ss="+dSes.getTime().toString()+expiry+"; path=/"+(((typeof(gFpcDom)!="undefined")&&(gFpcDom!=""))?("; domain="+gFpcDom):(""));
	if (!dcsIsFpcSet(name,WT.co_f,dCur.getTime().toString(),dSes.getTime().toString())){
		WT.co_f=WT.vt_sid=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
		WT.vt_f=WT.vt_f_a="2";
	}
}

// Code section for Use the new first-party cookie generated with this tag.
var gFpc="WT_FPC";
var gConvert=true;

function dcsAdv(){
	dcsFunc("dcsET");
	dcsFunc("dcsCookie");
	dcsFunc("dcsAdSearch");
	dcsFunc("dcsTP");
}


function dcsJV(){
	var agt=navigator.userAgent.toLowerCase();
	var major=parseInt(navigator.appVersion);
	var mac=(agt.indexOf("mac")!=-1);
	var ff=(agt.indexOf("firefox")!=-1);
	var ff0=(agt.indexOf("firefox/0.")!=-1);
	var ff10=(agt.indexOf("firefox/1.0")!=-1);
	var ff15=(agt.indexOf("firefox/1.5")!=-1);
	var ff2up=(ff&&!ff0&&!ff10&!ff15);
	var nn=(!ff&&(agt.indexOf("mozilla")!=-1)&&(agt.indexOf("compatible")==-1));
	var nn4=(nn&&(major==4));
	var nn6up=(nn&&(major>=5));
	var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));
	var ie4=(ie&&(major==4)&&(agt.indexOf("msie 4")!=-1));
	var ie5up=(ie&&!ie4);
	var op=(agt.indexOf("opera")!=-1);
	var op5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1);
	var op6=(agt.indexOf("opera 6")!=-1||agt.indexOf("opera/6")!=-1);
	var op7up=(op&&!op5&&!op6);
	var jv="1.1";
	if (ff2up){
		jv="1.7";
	}
	else if (ff15){
		jv="1.6";
	}
	else if (ff0||ff10||nn6up||op7up){
		jv="1.5";
	}
	else if ((mac&&ie5up)||op6){
		jv="1.4";
	}
	else if (ie5up||nn4||op5){
		jv="1.3";
	}
	else if (ie4){
		jv="1.2";
	}
	return jv;
}

function dcsFunc(func){
	if (typeof(window[func])=="function"){
		window[func]();
	}
}
//-->
