
/**
 * beforeWebtrekk is a Demo function to test interfaces
 * @type Function
 */
var beforeWebtrekk = function(){
	console.log("Send 3rd-Party Pixel before the Webtrekk Pixel with trackId "+this.trackId);
};
/**
 * afterWebtrekk is a Demo function to test interfaces
 * @type Function
 */
var afterWebtrekk = function(){
	console.log("Send 3rd-Party Pixel after the Webtrekk Pixel with trackId "+this.trackId);
};
/**
 * beforeUnloadPixel is a Demo function to test interfaces
 * @type Function
 */
var beforeUnloadPixel = function(){
	console.log("Perform something prior to sending Unload Pixel");
};
/**
 * afterUnload is a Demo function to test interfaces
 * @type Function
 */
var afterUnloadPixel = function(){
	console.log("Perform something after sending Unload Pixel");
};


/**
 * webtrekkConfig
 * 
 * global webtrekk config
 * @type Object
 */
var webtrekkConfig = {
	trackId : "556040224816467",
	trackDomain : "tchibo02.webtrekk.net",
	domain : "www.tchibo-coffeeservice.de",
	cookie : "1",
	contentId : ""
};


/*
 ********************* Don't change anything beyond this line ********************
 */
var webtrekkUnloadObjects=[];var webtrekkLinktrackObjects=[];var webtrekkHeatmapObjects=[];function webtrekkUnload($a){for(i=0;i<webtrekkUnloadObjects.length;i++){if(webtrekkUnloadObjects[i].cookie=="1"&&!webtrekkUnloadObjects[i].optOut&&!webtrekkUnloadObjects[i].deactivatePixel){webtrekkUnloadObjects[i].firstParty();};if(webtrekkUnloadObjects[i].beforeUnloadPixel!=false){webtrekkUnloadObjects[i].beforeUnloadPixel();};var p="";if(webtrekkUnloadObjects[i].config.linkId){p+="&ct="+webtrekkUnloadObjects[i].wtEscape(webtrekkUnloadObjects[i].maxlen(webtrekkUnloadObjects[i].config.linkId,255));if(p){if(webtrekkUnloadObjects[i].linktrackOut){p+="&ctx=1";};var $b=webtrekkUnloadObjects[i].ccParams;if(typeof($b)=='string'&&$b!=''){p+=$b;}}};if(webtrekkUnloadObjects[i].wtEp){if(webtrekkUnloadObjects[i].wtEpEncoded){p+=webtrekkUnloadObjects[i].wtEp;}else{var $c=webtrekkUnloadObjects[i].wtEp;if(typeof($c)=='string'&&$c!=''){$c=$c.split(/;/);for(var z=0;z<$c.length;z++){if(webtrekkUnloadObjects[i].wtTypeof($c[z])){var $d=$c[z].split(/=/);if(webtrekkUnloadObjects[i].checkSC('custom')){$d[1]=webtrekkUnloadObjects[i].decrypt($d[1]);};$d[1]=webtrekkUnloadObjects[i].wtEscape($d[1]);p+='&'+$d[0]+'='+$d[1];}}}}};if(webtrekkUnloadObjects[i].formObject&&$a!="noForm"){var gatherFormsP=webtrekkUnloadObjects[i].gatherForm();if(gatherFormsP){p+="&fn="+(webtrekkUnloadObjects[i].formName?webtrekkUnloadObjects[i].formName:webtrekkUnloadObjects[i].contentId.split(";")[0])+'|'+(webtrekkUnloadObjects[i].formSubmit?"1":"0");p+="&ft="+webtrekkUnloadObjects[i].wtEscape(gatherFormsP);}};if(p!=""||webtrekkUnloadObjects[i].config.sendOnUnload){if(webtrekkUnloadObjects[i].isChrome){webtrekkUnloadObjects[i].quicksend(webtrekkUnloadObjects[i].wtEscape(webtrekkUnloadObjects[i].contentId.split(";")[0])+",1,"+webtrekkUnloadObjects[i].baseparams(),p,false,"saveRequest");}else{webtrekkUnloadObjects[i].quicksend(webtrekkUnloadObjects[i].wtEscape(webtrekkUnloadObjects[i].contentId.split(";")[0])+",1,"+webtrekkUnloadObjects[i].baseparams(),p,false,"sendRequest");};webtrekkUnloadObjects[i].config.linkId="";webtrekkUnloadObjects[i].ccParams="";webtrekkUnloadObjects[i].wtEp="";};if(webtrekkUnloadObjects[i].afterUnloadPixel!=false){webtrekkUnloadObjects[i].afterUnloadPixel();}}};function webtrekkLinktrack(e){for(z=0;z<webtrekkLinktrackObjects.length;z++){if((e.which&&e.which==1)||(e.button&&e.button==1)){var a=document.all?window.event.srcElement:this;for(var i=0;i<4;i++){if(a.tagName&&a.tagName.toLowerCase()!="a"&&a.tagName.toLowerCase()!="area"){a=a.parentElement;}};a.lname=(a.getAttribute('name')?a.getAttribute('name'):"");webtrekkLinktrackObjects[z].getCCParams(a);if(webtrekkLinktrackObjects[z].linkTrackAttribute){var tmp="";eval("tmp = (a.getAttribute(webtrekkLinktrackObjects[z].linkTrackAttribute)?a.getAttribute(webtrekkLinktrackObjects[z].linkTrackAttribute):'')");if(tmp){a.lname=tmp;}};a.lpos=0;if(!webtrekkLinktrackObjects[z].wtLength(a.lpos)&&a.tagName){c=document.links;for(d=0;d<webtrekkLinktrackObjects[z].wtLength(c);d++){if(a==c[d]){a.lpos=d+1;break;}}};if(a.lpos){if(webtrekkLinktrackObjects[z].linkTrack=="link"){var y=a.href.indexOf("//");y=(y>=0?a.href.substr(y+2):a.href);if(webtrekkLinktrackObjects[z].linkTrackPattern){if(!webtrekkLinktrackObjects[z].linkTrackReplace){webtrekkLinktrackObjects[z].linkTrackReplace="";};y=y.replace(webtrekkLinktrackObjects[z].linkTrackPattern,webtrekkLinktrackObjects[z].linkTrackReplace);};webtrekkLinktrackObjects[z].config.linkId=(a.lname?(a.lname+"."):"")+y.split("?")[0].replace(/\//g,".");var p="";if(webtrekkLinktrackObjects[z].linkTrackParams){p=webtrekkLinktrackObjects[z].linkTrackParams.replace(/;/g,",").split(",");};for(var i=0;i<p.length;i++){var v=webtrekkLinktrackObjects[z].urlParam(y,p[i],"");if(v){webtrekkLinktrackObjects[z].config.linkId+="."+p[i]+"."+v;}}}else if(webtrekkLinktrackObjects[z].linkTrack=="standard"&&a.lname){webtrekkLinktrackObjects[z].config.linkId=a.lname;};webtrekkLinktrackObjects[z].isDownloadFile=false;if(webtrekkLinktrackObjects[z].linkTrackDownloads){var $e=a.href.split(".");$e=$e.pop();var $f=webtrekkLinktrackObjects[z].linkTrackDownloads.split(";");for(i=0;i<$f.length;i++){if($f[i]==$e){webtrekkLinktrackObjects[z].isDownloadFile=true;break;}}};if(webtrekkLinktrackObjects[z].config.linkId){if(webtrekkLinktrackObjects[z].domain&&!webtrekkLinktrackObjects[z].isOwnDomain(a.href)){webtrekkLinktrackObjects[z].linktrackOut=true;}};if(webtrekkLinktrackObjects[z].isSafari||webtrekkLinktrackObjects[z].isOpera||webtrekkLinktrackObjects[z].isChrome||webtrekkLinktrackObjects[z].isDownloadFile||(webtrekkLinktrackObjects[z].linktrack_p&&a.target!=""&&a.target!="_self")){webtrekkLinktrackObjects[z].sendinfo(webtrekkLinktrackObjects[z].config);}}}}};function webtrekkHeatmapClick(e){var isOpera=(navigator.userAgent.indexOf('Opera')!=-1);var isIE=(!isOpera&&navigator.userAgent.indexOf('MSIE')!=-1);for(z=0;z<webtrekkHeatmapObjects.length;z++){var $g={left:-1,top:-1};if(document.getElementById(webtrekkHeatmapObjects[z].heatmapRefpoint)){var $h=document.getElementById(webtrekkHeatmapObjects[z].heatmapRefpoint);if(webtrekkHeatmapObjects[z].wtTypeof($h.offsetLeft)){while($h){$g.left+=$h.offsetLeft;$g.top+=$h.offsetTop;$h=$h.offsetParent;}}};var $i=0;var $j=0;if(!e){var e=window.event;};if(e.pageX||e.pageY){$i=e.pageX;$j=e.pageY;}else{if(e.clientX||e.clientY){$i=e.clientX;$j=e.clientY;if(isIE){if(document.body.scrollLeft>0||document.body.scrollTop>0){$i+=document.body.scrollLeft;$j+=document.body.scrollTop;}else{if(document.documentElement.scrollLeft>0||document.documentElement.scrollTop>0){$i+=document.documentElement.scrollLeft;$j+=document.documentElement.scrollTop;}}}}};var $k=0;if(isIE){$k=document.body.clientWidth;}else{$k=self.innerWidth-16;};var $l=true;if($i>=$k||!webtrekkHeatmapObjects[z].sentFullPixel){$l=false;};if(($g.top>=0||$g.left>=0)&&$i>$g.left&&$j>$g.top){$i='-'+($i-$g.left);$j='-'+($j-$g.top);};if($l){webtrekkHeatmapObjects[z].quicksend(webtrekkHeatmapObjects[z].wtEscape(webtrekkHeatmapObjects[z].contentId.split(";")[0])+","+$i+","+$j,'',"hm","sendRequest");}}};function webtrekkStartHeatmap(){if(typeof(wt_heatmap)!="undefined"){window.setTimeout("wt_heatmap()",1000);}else{if(typeof($m)=="undefined")$m=0;$m++;if($m<60)window.setTimeout("webtrekkStartHeatmap()",1000);}};function webtrekkStartOverlay(){if(typeof(wt_overlay)!="undefined"){wt_overlay();}else{if(typeof($n)=="undefined")$n=0;$n++;if($n<60)window.setTimeout("webtrekkStartOverlay()",1000);}};function webtrekkFormTrackInstall(){for(i=0;i<webtrekkUnloadObjects.length;i++){webtrekkUnloadObjects[i].findForm();if(!webtrekkUnloadObjects[i].formObject){continue;};for(var j=0;j<webtrekkUnloadObjects[i].formObject.elements.length;j++){var e=webtrekkUnloadObjects[i].formObject.elements[j];webtrekkUnloadObjects[i].registerEvent(e,"focus",webtrekkFormFocus);};webtrekkUnloadObjects[i].registerEvent(webtrekkUnloadObjects[i].formObject,"submit",webtrekkFormSubmit);}};function webtrekkFormSubmit(e){for(i=0;i<webtrekkUnloadObjects.length;i++){if(!webtrekkUnloadObjects[i].form){continue;};if(e.target==webtrekkUnloadObjects[i].formObject||e.srcElement==webtrekkUnloadObjects[i].formObject){webtrekkUnloadObjects[i].formSubmit=true;}}};function webtrekkFormFocus(e){var a=document.all?window.event.srcElement:e.target;if(!a.name||a.type=="submit"||a.type=="image"){return;};for(i=0;i<webtrekkUnloadObjects.length;i++){var f=webtrekkUnloadObjects[i].formObject.getAttribute('name')?webtrekkUnloadObjects[i].formObject.getAttribute('name'):webtrekkUnloadObjects[i].contentId.split(";")[0];if(webtrekkUnloadObjects[i].formAttribute){var tmp="";eval("tmp = (webtrekkUnloadObjects["+i+"].formObject.getAttribute(webtrekkUnloadObjects["+i+"].formAttribute) ? webtrekkUnloadObjects["+i+"].formObject.getAttribute(webtrekkUnloadObjects["+i+"].formAttribute):'')");if(tmp){f=tmp;}};webtrekkUnloadObjects[i].formFocus=a.name;}};function webtrekkV3($o){if(!$o){var $o=webtrekkConfig;};this.trackId=($o.trackId)?$o.trackId:(webtrekkConfig.trackId)?webtrekkConfig.trackId:false;this.trackDomain=($o.trackDomain)?$o.trackDomain:(webtrekkConfig.trackDomain)?webtrekkConfig.trackDomain:false;this.domain=($o.domain)?$o.domain:(webtrekkConfig.domain)?webtrekkConfig.domain:false;this.linkTrack=($o.linkTrack)?$o.linkTrack:(webtrekkConfig.linkTrack)?webtrekkConfig.linkTrack:false;this.linkTrackAttribute=($o.linkTrackAttribute)?$o.linkTrackAttribute:(webtrekkConfig.linkTrackAttribute)?webtrekkConfig.linkTrackAttribute:false;this.linkTrackPattern=($o.linkTrackPattern)?$o.linkTrackPattern:(webtrekkConfig.linkTrackPattern)?webtrekkConfig.linkTrackPattern:false;this.linkTrackReplace=($o.linkTrackReplace)?$o.linkTrackReplace:(webtrekkConfig.linkTrackReplace)?webtrekkConfig.linkTrackReplace:false;this.linkTrackDownloads=($o.linkTrackDownloads)?$o.linkTrackDownloads:(webtrekkConfig.linkTrackDownloads)?webtrekkConfig.linkTrackDownloads:false;this.customParameter=($o.customParameter)?$o.customParameter:(webtrekkConfig.customParameter)?webtrekkConfig.customParameter:false;this.customClickParameter=($o.customClickParameter)?$o.customClickParameter:(webtrekkConfig.customClickParameter)?webtrekkConfig.customClickParameter:false;this.customSessionParameter=($o.customSessionParameter)?$o.customSessionParameter:(webtrekkConfig.customSessionParameter)?webtrekkConfig.customSessionParameter:false;this.customTimeParameter=($o.customTimeParameter)?$o.customTimeParameter:(webtrekkConfig.customTimeParameter)?webtrekkConfig.customTimeParameter:false;this.customCampaignParameter=($o.customCampaignParameter)?$o.customCampaignParameter:(webtrekkConfig.customCampaignParameter)?webtrekkConfig.customCampaignParameter:false;this.customEcommerceParameter=($o.customEcommerceParameter)?$o.customEcommerceParameter:(webtrekkConfig.customEcommerceParameter)?webtrekkConfig.customEcommerceParameter:false;this.orderValue=($o.orderValue)?$o.orderValue:(webtrekkConfig.orderValue)?webtrekkConfig.orderValue:false;this.orderCurrency=($o.orderCurrency)?$o.orderCurrency:(webtrekkConfig.orderCurrency)?webtrekkConfig.orderCurrency:false;this.orderId=($o.orderId)?$o.orderId:(webtrekkConfig.orderId)?webtrekkConfig.orderId:false;this.product=($o.product)?$o.product:(webtrekkConfig.product)?webtrekkConfig.product:false;this.productCost=($o.productCost)?$o.productCost:(webtrekkConfig.productCost)?webtrekkConfig.productCost:false;this.productQuantity=($o.productQuantity)?$o.productQuantity:(webtrekkConfig.productQuantity)?webtrekkConfig.productQuantity:false;this.productCategory=($o.productCategory)?$o.productCategory:(webtrekkConfig.productCategory)?webtrekkConfig.productCategory:false;this.productStatus=($o.productStatus)?$o.productStatus:(webtrekkConfig.productStatus)?webtrekkConfig.productStatus:false;this.customerId=($o.customerId)?$o.customerId:(webtrekkConfig.customerId)?webtrekkConfig.customerId:false;this.crmCategory=($o.crmCategory)?$o.crmCategory:(webtrekkConfig.crmCategory)?webtrekkConfig.crmCategory:false;this.contentGroup=($o.contentGroup)?$o.contentGroup:(webtrekkConfig.contentGroup)?webtrekkConfig.contentGroup:false;this.mediaCode=($o.mediaCode)?$o.mediaCode:(webtrekkConfig.mediaCode)?webtrekkConfig.mediaCode:false;this.mediaCodeValue=($o.mediaCodeValue)?$o.mediaCodeValue:(webtrekkConfig.mediaCodeValue)?webtrekkConfig.mediaCodeValue:false;this.mediaCodeCookie=($o.mediaCodeCookie)?$o.mediaCodeCookie:(webtrekkConfig.mediaCodeCookie)?webtrekkConfig.mediaCodeCookie:false;this.campaignId=($o.campaignId)?$o.campaignId:(webtrekkConfig.campaignId)?webtrekkConfig.campaignId:false;this.campaignAction=($o.campaignAction)?$o.campaignAction:(webtrekkConfig.campaignAction)?webtrekkConfig.campaignAction:"click";this.internalSearch=($o.internalSearch)?$o.internalSearch:(webtrekkConfig.internalSearch)?webtrekkConfig.internalSearch:false;this.customSid=($o.customSid)?$o.customSid:(webtrekkConfig.customSid)?webtrekkConfig.customSid:false;this.customEid=($o.customEid)?$o.customEid:(webtrekkConfig.customEid)?webtrekkConfig.customEid:false;this.cookie=($o.cookie)?$o.cookie:(webtrekkConfig.cookie)?webtrekkConfig.cookie:"3";this.cookieEidTimeout=($o.cookieEidTimeout)?$o.cookieEidTimeout:(webtrekkConfig.cookieEidTimeout)?webtrekkConfig.cookieEidTimeout:false;this.cookieSidTimeout=($o.cookieSidTimeout)?$o.cookieSidTimeout:(webtrekkConfig.cookieSidTimeout)?webtrekkConfig.cookieSidTimeout:false;this.forceNewSession=($o.forceNewSession)?$o.forceNewSession:(webtrekkConfig.forceNewSession)?webtrekkConfig.forceNewSession:false;this.xwtip=($o.xwtip)?$o.xwtip:(webtrekkConfig.xwtip)?webtrekkConfig.xwtip:false;this.xwtua=($o.xwtua)?$o.xwtua:(webtrekkConfig.xwtua)?webtrekkConfig.xwtua:false;this.xwtrq=($o.xwtrq)?$o.xwtrq:(webtrekkConfig.xwtrq)?webtrekkConfig.xwtrq:false;this.mediaCodeFrames=($o.mediaCodeFrames)?$o.mediaCodeFrames:(webtrekkConfig.mediaCodeFrames)?webtrekkConfig.mediaCodeFrames:false;this.framesetReferrer=($o.framesetReferrer)?$o.framesetReferrer:(webtrekkConfig.framesetReferrer)?webtrekkConfig.framesetReferrer:false;this.plugins=($o.plugins&&$o.plugins!='')?$o.plugins:(webtrekkConfig.plugins&&webtrekkConfig.plugins!='')?webtrekkConfig.plugins:['Adobe Acrobat','Windows Media Player','Shockwave Flash','RealPlayer','QuickTime','Java','Silverlight'];if(typeof(this.plugins)=="string"){this.plugins=this.plugins.split(";");};this.forceHTTPS=($o.forceHTTPS)?$o.forceHTTPS:(webtrekkConfig.forceHTTPS)?webtrekkConfig.forceHTTPS:false;this.secureConfig=($o.secureConfig)?$o.secureConfig:(webtrekkConfig.secureConfig)?webtrekkConfig.secureConfig:false;this.heatmap=($o.heatmap)?$o.heatmap:(webtrekkConfig.heatmap)?webtrekkConfig.heatmap:false;this.heatmapRefpoint=($o.heatmapRefpoint)?$o.heatmapRefpoint:(webtrekkConfig.heatmapRefpoint)?webtrekkConfig.heatmapRefpoint:"wt_refpoint";this.pixelSampling=($o.pixelSampling)?$o.pixelSampling:(webtrekkConfig.pixelSampling)?webtrekkConfig.pixelSampling:false;this.form=($o.form)?$o.form:(webtrekkConfig.form)?webtrekkConfig.form:false;this.formAttribute=($o.formAttribute)?$o.formAttribute:(webtrekkConfig.formAttribute)?webtrekkConfig.formAttribute:false;this.formFieldAttribute=($o.formFieldAttribute)?$o.formFieldAttribute:(webtrekkConfig.formFieldAttribute)?webtrekkConfig.formFieldAttribute:false;this.formFullContent=($o.formFullContent)?$o.formFullContent:(webtrekkConfig.formFullContent)?webtrekkConfig.formFullContent:false;this.formAnonymous=($o.formAnonymous)?$o.formAnonymous:(webtrekkConfig.formAnonymous)?webtrekkConfig.formAnonymous:false;this.reporturl=($o.reporturl)?$o.reporturl:(webtrekkConfig.reporturl)?webtrekkConfig.reporturl:'report2.webtrekk.de/cgi-bin/wt';this.disableOverlayView=($o.disableOverlayView)?$o.disableOverlayView:(webtrekkConfig.disableOverlayView)?webtrekkConfig.disableOverlayView:false;this.version=314;this.beforeSendinfoPixel=($o.beforeSendinfoPixel)?$o.beforeSendinfoPixel:(webtrekkConfig.beforeSendinfoPixel)?webtrekkConfig.beforeSendinfoPixel:false;;this.afterSendinfoPixel=($o.afterSendinfoPixel)?$o.afterSendinfoPixel:(webtrekkConfig.afterSendinfoPixel)?webtrekkConfig.afterSendinfoPixel:false;;this.beforeUnloadPixel=($o.beforeUnloadPixel)?$o.beforeUnloadPixel:(webtrekkConfig.beforeUnloadPixel)?webtrekkConfig.beforeUnloadPixel:false;;this.afterUnloadPixel=($o.afterUnloadPixel)?$o.afterUnloadPixel:(webtrekkConfig.afterUnloadPixel)?webtrekkConfig.afterUnloadPixel:false;;this.deactivatePixel=false;this.optOut=false;this.eid=false;this.sampleCookieString=false;this.cookieOne=false;this.linkId=false;this.linktrackOut=false;this.linktrackNamedlinksOnly=true;this.ccParams=false;this.sentFullPixel=false;this.sentCampaignIds={};this.wtEp=false;this.wtEpEncoded=false;this.trackingSwitchMediaCode=false;this.trackingSwitchMediaCodeValue=false;this.trackingSwitchMediaCodeTimestamp=false;this.heatmapOn=false;this.overlayOn=false;this.gatherFormsP=false;this.formObject=false;this.formName=false;this.formFocus=false;this.formSubmit=false;this.browserLang=false;this.config=false;this.unloadInstance=webtrekkUnloadObjects.length;this.xlc=false;this.xlct=false;this.xlcv=false;this.plugin={};if(typeof(navigator.language)=="string"){this.browserLang=navigator.language.substring(0,2);}else if(typeof(navigator.userLanguage)=="string"){this.browserLang=navigator.userLanguage.substring(0,2);};this.getConfig=function(){var c={"contentId":this.contentId,"linkId":this.linkId,"sendOnUnload":false,"customParameter":this.customParameter,"customClickParameter":this.customClickParameter,"customSessionParameter":this.customSessionParameter,"customTimeParameter":this.customTimeParameter,"customCampaignParameter":this.customCampaignParameter,"customEcommerceParameter":this.customEcommerceParameter,"orderValue":this.orderValue,"orderCurrency":this.orderCurrency,"orderId":this.orderId,"product":this.product,"productCost":this.productCost,"productQuantity":this.productQuantity,"productCategory":this.productCategory,"productStatus":this.productStatus,"customerId":this.customerId,"crmCategory":this.crmCategory,"contentGroup":this.contentGroup,"campaignId":this.campaignId,"campaignAction":this.campaignAction,"internalSearch":this.internalSearch,"customSid":this.customSid,"customEid":this.customEid,"forceNewSession":this.forceNewSession,"xwtip":this.xwtip,"xwtua":this.xwtua,"xwtrq":this.xwtrq,"framesetReferrer":this.framesetReferrer,"forceHTTPS":this.forceHTTPS,"beforeSendinfoPixel":this.beforeSendinfoPixel,"afterSendinfoPixel":this.afterSendinfoPixel,"beforeUnloadPixel":this.beforeUnloadPixel,"afterUnloadPixel":this.afterUnloadPixel,"xlc":this.xlc,"xlct":this.xlct,"xlcv":this.xlcv};return c;};this.indexOf=function(a,b,c){return a.indexOf(b,c?c:0);};this.wtTypeof=function(v){return(typeof v!="undefined")?1:0;};this.wtLength=function(a){return a!="undefined"?a.length:0;};this.getTimezone=function(){return Math.round((new Date().getTimezoneOffset()/60)*(-1));};this.wtHref=function(){return this.wtLocation().href;};this.wtLocation=function(){var r=document.location;if(!document.layers&&document.getElementById){eval("try {r=top.document.location;}catch(e){r=document.location;};");}else{r=top.document.location;};return r;};this.getWebtrekkPath=function(){if(!document.layers&&document.getElementById){var $p=document.getElementsByTagName('script');for(var i=0;i<$p.length;i++){if($p[i].src.match(/webtrekk[a-z|A-Z|0-9|_]*\.js/g)){return $p[i].src.replace(/webtrekk[a-z|A-Z|0-9|_]*\.js/g,'');}}};return '';};this.include=function(s){if(!document.createElement){return false;};var $q=document.getElementsByTagName('head').item(0);var js=document.createElement('script');js.setAttribute('language','javascript');js.setAttribute('type','text/javascript');js.setAttribute('src',s);$q.appendChild(js);return true;};this.isIE=this.indexOf(navigator.appName,"Microsoft")?false:true;if(!this.isIE){this.isOpera=this.indexOf(navigator.appName,"Opera")?false:true;if(!this.isOpera){this.isSafari=(navigator.vendor.toLowerCase().indexOf("apple")!=-1)?true:false;this.isChrome=(navigator.vendor.toLowerCase().indexOf("google")!=-1)?true:false;}};this.url2contentId=function($r){if(!$r){return "no_content";};var tmp=new RegExp("//(.*)").exec($r);if(tmp.length<1){return "no_content";};var $s=tmp[1].split("?")[0].replace(/\./g,"_").replace(/\//g, ".").replace(/\.{2,};/g,".").toLowerCase();return $s.split(";")[0];};this.contentId=($o.contentId)?$o.contentId:this.url2contentId(document.location.href);this.registerEvent=function($h,e,f){if($h.addEventListener){$h.addEventListener(e,f,false);}else{if($h.attachEvent){if(e=="beforeunload"){this.unregisterEvent($h,e,f);};$h.attachEvent("on"+e,f);}}};this.unregisterEvent=function($h,e,f){if($h.removeEventListener){$h.removeEventListener(e,f,false);}else{if($h.detachEvent){$h.detachEvent("on"+e,f);}}};this.maxlen=function(v,l){if(v&&v.length>l){return v.substring(0,l-1);};return v;};this.wtEscape=function(u){if(typeof(encodeURIComponent)=='function'){return encodeURIComponent(u);};return escape(u);};this.wtUnescape=function(u){if(typeof(decodeURIComponent)=='function'){return decodeURIComponent(u);};return unescape(u);};this.decrypt=function(x){if(x){return eval("try {this.wtUnescape(x.replace(/([0-9a-fA-F][0-9a-fA-F])/g,'%$1'));}catch(e){''};");}};this.checkSC=function(x){if(typeof(this.secureConfig)!='string'){return false;};var sc=this.secureConfig.split(';');for(var i=0;i<sc.length;i++){if(sc[i]==x){return true;}};return false;};this.zeroPad=function(n,$t){var $u="000000000000"+n;return $u.substring(($u.length-$t),$u.length);};this.generateEid=function(){return '2'+this.zeroPad(Math.floor(new Date().getTime()/1000),10)+this.zeroPad(Math.floor(Math.random()*1000000),8);};this.getexpirydate=function($v){var $w;var $x=new Date();var $y=Date.parse($x);$x.setTime($y+$v*60*1000);$w=$x.toUTCString();return $w;};this.setCookie=function(name,$z,$A){var d=location.hostname;var $B="^[0-9]{1,3"+String.fromCharCode(125)+"\.[0-9]{1,3"+String.fromCharCode(125)+"\.[0-9]{1,3"+String.fromCharCode(125)+"\.[0-9]{1,3"+String.fromCharCode(125)+"$";if(d.search($B)==-1){d=location.hostname.split(".");d=d[d.length-2]+"."+d[d.length-1];};var c;if(d.split('.')[0].length<3&&typeof $A!="undefined"){c=name+"="+escape($z)+";path=/;expires="+this.getexpirydate($A);}else if(d.split('.')[0].length<3){c=name+"="+escape($z)+";path=/";}else if(typeof $A!="undefined"){c=name+"="+escape($z)+";domain="+d+";path=/;expires="+this.getexpirydate($A);}else{c=name+"="+escape($z)+";path=/;domain="+d;};document.cookie=c;};this.getCookie=function($C){var $D=""+document.cookie;var $E=$D.indexOf($C);if($E==-1||$C==""){return "";};var $F=$D.indexOf(';',$E);if($F==-1){$F=$D.length;};return unescape($D.substring($E+$C.length+1,$F));};this.optOut=(this.getCookie("webtrekkOptOut"))?true:false;if(this.optOut){this.deactivatePixel=true;};this.urlParam=function($r,$G,$H){var p=new Array();if($r.indexOf("?")>0){p=$r.substring($r.indexOf("?")+1).replace(/&amp;/g,"&").split("&");};for(var i=0;i<p.length;i++){if(p[i].indexOf($G+"=")==0){return this.wtUnescape(p[i].substring($G.length+1).replace(/\+/g,"%20"));}};return $H;};this.allUrlParam=function($G,$H){if(this.mediaCodeFrames&&this.mediaCodeFrames!=''){var lf=this.mediaCodeFrames.split(";");for(var i=0;i<lf.length;i++){var $I=false;eval("try { lFrame = eval(lf[i]) }catch(e){};");if($I&&$I!=top&&$I.location){var $J=this.urlParam($I.location.href,$G,$H);if($J!=$H){return $J;}}};return $H;}else{var topLocation="";eval("try {topLocation = top.location.href;}catch(e){topLocation=document.location.href;};");return this.urlParam(topLocation,$G,$H);}};this.linkTrackInit=function(){for(i=0;i<webtrekkLinktrackObjects.length;i++){if(this==webtrekkLinktrackObjects[i]){return;}};webtrekkLinktrackObjects.push(this);if(this.linkTrack&&this.linkTrack=="link"){this.linktrackNamedlinksOnly=false;};for(c=0;c<document.links.length;c++){var name=document.links[c].getAttribute('name');if(this.linkTrackAttribute&&this.linkTrackAttribute!=""){var tmp="";eval("tmp = (document.links[c].getAttribute(this.linkTrackAttribute)?document.links[c].getAttribute(this.linkTrackAttribute):'')");if(tmp){name=tmp;}};if(name||!this.linktrackNamedlinksOnly){this.registerEvent(document.links[c],'mousedown',webtrekkLinktrack);}}};if(this.linkTrack){this.linkTrackInit();};this.getCCParams=function(a){var p='';if(this.config.customClickParameter){var $K=(this.config.customClickParameter[a.getAttribute('name')])?this.config.customClickParameter[a.getAttribute('name')]:this.config.customClickParameter[a.id];if(!$K){$K=this.config.customClickParameter;};for(var z in $K){if(!isNaN(z)&&this.wtTypeof($K[z])&&typeof($K[z])=='string'&&$K[z]!=''){if(this.checkSC('custom')){$K[z]=this.decrypt($K[z]);};p+='&ck'+z+'='+this.wtEscape($K[z]);}}};this.ccParams=p;return;};this.plugInArray=function($L,$M){if(typeof($L)!='object'){return false;};for(var i=0;i<$L.length;i++){var $N=new RegExp($L[i].toLowerCase(),'g');if($M.toLowerCase().search($N)!=-1){return $L[i];}};return false;};this.quicksend=function($O,$P,$Q,$R){if(!this.trackDomain||!this.trackId||this.deactivatePixel){return;};if(!$Q){$Q="wt";};if(typeof(this.requestTimeout)=="undefined"){this.requestTimeout=5;};if(this.cookie=="1"){$P="&eid="+this.eid+"&one="+(this.cookieOne?"1":"0")+"&fns="+(this.forceNewSession?"1":"0")+$P;};if(this.cookie!="1"&&(this.wtTypeof(this.cookieEidTimeout)||this.wtTypeof(this.cookieSidTimeout))){if(this.wtTypeof(this.cookieEidTimeout)&&this.cookieEidTimeout!=''){$P="&cet="+this.cookieEidTimeout+$P;};if(this.wtTypeof(this.cookieSidTimeout)&&this.cookieSidTimeout!=''){$P="&cst="+this.cookieSidTimeout+$P;}};if(this.pixelSampling>0){$P+="&ps="+this.pixelSampling;};$P="&tz="+this.getTimezone()+$P;var $S=(location.protocol=="https:"?"https:":"http:");if(this.forceHTTPS){$S="https:";};var $T=$S+"//"+this.trackDomain+"/"+this.trackId+"/"+$Q+"?p="+this.version+","+$O+$P+"&eor=1";if($R=="saveRequest"&&this.cookie=="3"){if(this.getCookie("saveRequestV3")){this.setCookie("saveRequestV3",this.getCookie("saveRequestV3")+"<<>>"+$T,this.requestTimeout);}else{this.setCookie("saveRequestV3",$T,this.requestTimeout);}}else{this.sendPixel($T,$Q);};if($Q!='hm'){this.cookieOne=false;this.sentFullPixel=1;}};this.sendPixel=function($r,$Q){if(document.images){if(!this.wtTypeof($U)){var $U=new Array();};var ii=$U.length;$U[ii]=new Image();if($Q=='hm'){$U[ii].src=$r+"&hm_ts="+new Date().getTime();}else{$U[ii].src=$r;};$U[ii].onload=function(){};}else{document.write("<img src='"+$r+"' height='1' width='1'>");}};this.send=function(p,$V,ep){if($V=="link"){this.config.linkId=p;this.linkTrack="manual";this.wtEp=ep;if(this.isChrome||this.isOpera||this.isSafari){webtrekkUnload('noForm');}else{this.registerEvent(window,(this.isIE&&this.wtTypeof(window.onbeforeunload))?"beforeunload":"unload",webtrekkUnload);};return;};if($V=="click"){this.config.linkId=p;this.wtEp=ep;webtrekkUnload('noForm');return;};var $W=(p)?p:this.config.contentId;if(!$W){$W="no_content";};var $X="";var $Y=this.wtEscape($W)+",1,";$Y+=this.baseparams();var $Z=navigator.plugins.length;var $00="";if($Z>0){var $01=Array();for(var i=0;i<$Z;i++){if(navigator.plugins&&navigator.appName!='Microsoft Internet Explorer'){if(navigator.plugins[i].name=="Shockwave Flash"){$00=navigator.plugins[i].description;}else{$00=navigator.plugins[i].name;};var $02=this.plugInArray(this.plugins,$00);if($02&&!this.plugInArray($01,$02)){$01.push($02);}}};$00=$01.join("|");};if(typeof(ep)=="string"&&ep!=""){ep=ep.split(/;/);for(var z=0;z<ep.length;z++){if(this.wtTypeof(ep[z])){$d=ep[z].split(/=/);if(this.checkSC('custom')){$d[1]=this.decrypt($d[1]);};$d[1]=this.wtEscape($d[1]);$X+='&'+$d[0]+'='+$d[1];}}}else{this.wtEpEncoded=false;var $03='';if(typeof(this.config.customParameter)=='object'){for(var z in this.config.customParameter){if(!isNaN(z)&&this.wtTypeof(this.config.customParameter[z])&&typeof(this.config.customParameter[z])=='string'&&this.config.customParameter[z]!=''){if(this.checkSC('custom')){this.config.customParameter[z]=this.decrypt(this.config.customParameter[z]);};$03+='&cp'+z+'='+this.wtEscape(this.config.customParameter[z]);}}};var $04='';if(typeof(this.config.customSessionParameter)=='object'){for(var z in this.config.customSessionParameter){if(!isNaN(z)&&this.wtTypeof(this.config.customSessionParameter[z])&&typeof(this.config.customSessionParameter[z])=='string'&&this.config.customSessionParameter[z]!=''){if(this.checkSC('custom')){this.config.customSessionParameter[z]=this.decrypt(this.config.customSessionParameter[z]);};$04+='&cs'+z+'='+this.wtEscape(this.config.customSessionParameter[z]);}}};var $05='';if(typeof(this.config.customTimeParameter)=='object'){for(var z in this.config.customTimeParameter){if(!isNaN(z)&&this.wtTypeof(this.config.customTimeParameter[z])&&typeof(this.config.customTimeParameter[z])=='string'&&this.config.customTimeParameter[z]!=''){if(this.checkSC('custom')){this.config.customTimeParameter[z]=this.decrypt(this.config.customTimeParameter[z]);};$05+='&ce'+z+'='+this.wtEscape(this.config.customTimeParameter[z]);}}};var $06='';if(typeof(this.config.customEcommerceParameter)=='object'){for(var z in this.config.customEcommerceParameter){if(!isNaN(z)&&this.wtTypeof(this.config.customEcommerceParameter[z])&&typeof(this.config.customEcommerceParameter[z])=='string'&&this.config.customEcommerceParameter[z]!=''){if(this.checkSC('custom')){this.config.customEcommerceParameter[z]=this.decrypt(this.config.customEcommerceParameter[z]);};$06+='&cb'+z+'='+this.wtEscape(this.config.customEcommerceParameter[z]);}}};if(this.config.orderValue){if(this.checkSC('order')){$X+="&ov="+this.wtEscape(this.decrypt(this.config.orderValue));}else{$X+="&ov="+this.wtEscape(this.config.orderValue);}};if(this.config.orderCurrency){if(this.checkSC('order')){$X+="&cr="+this.wtEscape(this.decrypt(this.config.orderCurrency));}else{$X+="&cr="+this.wtEscape(this.config.orderCurrency);}};if(this.config.orderId){$X+="&oi="+this.wtEscape(this.config.orderId);};if(this.config.product){$X+="&ba="+this.wtEscape(this.config.product);if(this.config.productCost){$X+="&co="+this.wtEscape(this.config.productCost);};if(this.config.productQuantity){$X+="&qn="+this.wtEscape(this.config.productQuantity);};if(typeof(this.config.productCategory)=='object'){for(var z in this.config.productCategory){if(!isNaN(z)&&typeof(this.config.productCategory[z])=='string'&&this.config.productCategory[z]!=''){$X+="&ca"+z+"="+this.wtEscape(this.config.productCategory[z]);}}};if(this.config.productStatus){$X+="&st="+this.wtEscape(this.config.productStatus);}};if(this.config.customerId){$X+="&cd="+this.wtEscape(this.config.customerId);};if(typeof(this.config.crmCategory)=='object'){for(var z in this.config.crmCategory){if(!isNaN(z)&&typeof(this.config.crmCategory[z])=='string'&&this.config.crmCategory[z]!=''){$X+="&vc"+z+"="+this.wtEscape(this.config.crmCategory[z]);}}};if(this.browserLang){$X+="&la="+this.wtEscape(this.browserLang);};if(typeof(this.config.contentGroup)=='object'){for(var z in this.config.contentGroup){if(!isNaN(z)&&typeof(this.config.contentGroup[z])=='string'&&this.config.contentGroup[z]!=''){$X+="&cg"+z+"="+this.wtEscape(this.config.contentGroup[z]);}}};var $07='';if(this.config.campaignId&&!(this.config.campaignId in this.sentCampaignIds)){$X+="&mc="+this.wtEscape(this.config.campaignId);$X+="&mca="+this.config.campaignAction.substring(0,1);this.sentCampaignIds[this.config.campaignId]=true;if(typeof(this.config.customCampaignParameter)=='object'){for(var z in this.config.customCampaignParameter){if(!isNaN(z)&&this.wtTypeof(this.config.customCampaignParameter[z])&&typeof(this.config.customCampaignParameter[z])=='string'&&this.config.customCampaignParameter[z]!=''){if(this.checkSC('custom')){this.config.customCampaignParameter[z]=this.decrypt(this.config.customCampaignParameter[z]);};$07+='&cc'+z+'='+this.wtEscape(this.config.customCampaignParameter[z]);}}}};if(this.trackingSwitchMediaCode){$X+="&tmc="+this.wtEscape(this.trackingSwitchMediaCode);};if(this.trackingSwitchMediaCodeValue){$X+="&tmcv="+this.wtEscape(this.trackingSwitchMediaCodeValue);};if(this.trackingSwitchMediaCodeTimestamp){$X+="&tmct="+this.wtEscape(this.trackingSwitchMediaCodeTimestamp);};var $08="";var $09;if(typeof(wt_vt)!="undefined"){$09=wt_vt;};if(!this.wtTypeof($09)){$09=this.urlParam(location.href,'wt_vt',false);};if($09){var $0a=this.getCookie('wt_vt').split(";");for(var i=0;i<$0a.length;i++){if($0a[i].indexOf($09+'v')!=-1){$08='&wt_vt='+$0a[i].split('t')[0].split('v')[1];}}};if($08){$X+=$08;};if(this.config.internalSearch){$X+="&is="+this.wtEscape(this.maxlen(this.config.internalSearch,255));};if($03){$X+=$03;};if($07){$X+=$07;};if($05){$X+=$05;};if($06){$X+=$06;};if($04){$X+=$04;};if(this.wtTypeof(this.config.customSid)&&this.config.customSid!=''){$X+="&csid="+this.config.customSid;};if(this.wtTypeof(this.config.customEid)&&this.config.customEid!=''){$X+="&ceid="+this.config.customEid;};if(this.wtTypeof(this.config.xwtip)&&this.config.xwtip!=''){$X+="&X-WT-IP="+this.wtEscape(this.config.xwtip);};if(this.wtTypeof(this.config.xwtua)&&this.config.xwtua!=''){$X+="&X-WT-UA="+this.wtEscape(this.config.xwtua);};if(this.wtTypeof(this.config.xwtrq)&&this.config.xwtrq!=''){$X+="&X-WT-RQ="+this.wtEscape(this.config.xwtrq);}};if(this.config.linkId&&this.config.customClickParameter){var $K=(this.config.customClickParameter[this.config.linkId])?this.config.customClickParameter[this.config.linkId]:this.config.customClickParameter;for(var z in $K){if(!isNaN(z)&&this.wtTypeof($K[z])&&typeof($K[z])=='string'&&$K[z]!=''){if(this.checkSC('custom')){$K[z]=this.decrypt($K[z]);};$X+='&ck'+z+'='+this.wtEscape($K[z]);}};this.ccParams=false;};if(this.config.xlc&&this.config.xlct){if(this.config.xlc!=""||this.config.xlct!=""){if(this.config.xlcv){var $0b=this.getExtLifeCycles(this.config.xlc,this.config.xlct,this.config.xlcv);}else{var $0b=this.getExtLifeCycles(this.config.xlc,this.config.xlct);};$X+=$0b;}};if(this.config.linkId&&this.config.sendOnUnload){this.linkTrack="manual";this.wtEp=$X;this.wtEpEncoded=true;if(this.isChrome||this.isOpera||this.isSafari){webtrekkUnload('noForm');}else{this.registerEvent(window,(this.isIE&&this.wtTypeof(window.onbeforeunload))?"beforeunload":"unload",webtrekkUnload);};return;}else if(this.config.linkId){this.wtEp=$X;this.wtEpEncoded=true;webtrekkUnload('noForm');return;}else if(!this.config.contentId&&!this.config.linkId){this.config.contentId=this.contentId;this.config.linkId="wt_ignore";this.wtEp=$X;this.wtEpEncoded=true;webtrekkUnload('noForm');return;}else if(this.config.sendOnUnload){this.wtEp=$X;this.wtEpEncoded=true;if(this.isChrome||this.isOpera||this.isSafari){webtrekkUnload('noForm');}else{this.registerEvent(window,(this.isIE&&this.wtTypeof(window.onbeforeunload))?"beforeunload":"unload",webtrekkUnload);};return;};if(this.cookie=="1"){if(this.cookieOne){$X+="&np="+this.wtEscape($00);}}else{$X+="&np="+this.wtEscape($00);};this.quicksend($Y,$X,false,"sendRequest");};this.sendinfo=function(c,p,$V,ep){if(this.cookie=="1"&&!this.optOut&&!this.deactivatePixel){this.firstParty();};if(location.href.indexOf('fb_xd_fragment')!=-1){return;};if(typeof(c)=='object'){this.config=c;}else{this.config=this.getConfig();};if(!this.config.campaignId&&this.mediaCode){this.getMediaCode();};if(this.getCookie("saveRequestV3")){var $0c=this.getCookie("saveRequestV3").split("<<>>");for(var i=0;i<$0c.length;i++){this.sendPixel($0c[i],"wt");};this.setCookie("saveRequestV3","",-1000);};if(this.beforeSendinfoPixel!=false){this.beforeSendinfoPixel();};if(this.contentId!=""||p!=""||document.layers){this.send(p,$V,ep);};if(this.afterSendinfoPixel!=false){this.afterSendinfoPixel();}};this.sendinfo_media=function($0d,mk,$0e,$0f,mg,bw,$0g,$0h){if(this.wtTypeof($0i)){$0i($0d,mk,$0e,$0f,mg,bw,$0g,$0h,this.unloadInstance);}};this.sendExtLifeCycles=function($0j){if(typeof($0j)!="object"){return;};if(typeof($0j.xlc)=="undefined"&&typeof($0j.xlct)=="undefined"){return;};if($0j.xlc!=""||$0j.xlct!=""){if(typeof($0j.xlcv)!="undefined"){var $P=this.getExtLifeCycles($0j.xlc,$0j.xlct,$0j.xlcv);}else{var $P=this.getExtLifeCycles($0j.xlc,$0j.xlct);}}else{return;};this.quicksend('wt_ignore',$P,false,"sendRequest");};this.getExtLifeCycles=function(xlc,xlct,xlcv){var $0k="";var $0l=new Object();var $0m=xlc.split("|");for(var i=0;i<$0m.length;i++){var $0n=$0m[i].split(";");for(var j=0;j<$0n.length;j++){if(j==0){$0k+=this.wtEscape($0n[j]);}else{$0k+=$0n[j];};$0k+=";";};$0k=$0k.substr(0,$0k.length-1);$0k+="|";};$0k=$0k.substr(0,$0k.length-1);$0l.xlcl=this.wtEscape(xlc.split("|").length);$0l.xlct=this.wtEscape(xlct);if(typeof(xlcv)!="undefined"){$0l.xlcv=this.wtEscape(xlcv);};$0l.xlc=this.wtEscape($0k);var $P="";for(i in $0l){$P+="&"+i+"="+$0l[i];};return $P;};this.isOwnDomain=function(l){var pt='';if(this.domain){if(this.domain.toUpperCase().indexOf("REGEXP:")==0){pt=new RegExp(this.domain.substring(7),"i");if(pt.test(this.getDomain(l))){return true;}}else{var $0o=this.domain.split(';');var $0p=this.getDomain(l);for(var i=0;i<$0o.length;i++){if($0p==$0o[i]){return true;}}}}else{return false;};return false;};this.getDomain=function(l){if(typeof(l)!='string'){return '';};l=this.wtUnescape(l);l=l.split('://')[1];var rx=new RegExp('^(?:[^\/]+:\/\/)?([^\/:]+)','g');if(typeof(l)!="undefined"){l=l.match(rx);if(l[0]){return l[0].toLowerCase();}};return '';};this.baseparams=function(){var $0q=screen.width+"x"+screen.height+","+(navigator.appName!='Netscape'?screen.colorDepth:screen.pixelDepth)+",";$0q+=((navigator.cookieEnabled==true)?"1,":((navigator.cookieEnabled==false)?"0,":((document.cookie.indexOf("=")!=-1)?"1,":"0,")));$0q+=new Date().getTime()+",";var $0r=0;if(this.framesetReferrer){$0r=this.wtEscape(this.framesetReferrer);}else{if(document.referrer.length>0){$0r=this.wtEscape(document.referrer);}};if(this.sentFullPixel){$0q+="2";}else if(!this.isOwnDomain($0r)){$0q+=$0r;}else if(this.isOwnDomain($0r)){$0q+="1";}else{$0q+=$0r;};var h=0;if(!document.layers&&document.getElementById){eval("try {h = top.window.innerHeight;}catch(e){};");}else{h=top.window.innerHeight;};if(!h){eval("try {h = top.document.documentElement.clientHeight;}catch(e){};");};if(!h){eval("try {h = top.document.body.clientHeight;}catch(e){};");};var w=0;if(!document.layers&&document.getElementById){eval("try {w = top.window.innerWidth;}catch(e){};");}else{w=top.window.innerWidth;};if(!w){eval("try {w = top.document.documentElement.clientWidth;}catch(e){};");};if(!w){eval("try {w = top.document.body.clientWidth;}catch(e){};");};if(h&&h>screen.height){h=screen.height;};if(w&&w>screen.width){w=screen.width;};if(typeof(w)=='undefined'){w=-1;};if(typeof(h)=='undefined'){h=-1;};$0q+=","+w+"x"+h;$0q+=","+(navigator.javaEnabled()?"1":"0");return $0q;};this.getMediaCode=function(mc){if(!mc){if(!this.mediaCode){return false;};mc=this.mediaCode;};if(this.mediaCodeValue){v=this.mediaCodeValue.split(";");};var m=mc.split(";");this.config.campaignId="";for(var i=0;i<m.length;i++){if(this.config.campaignId!=""){this.config.campaignId+=";";};if(this.mediaCodeCookie){if(this.getCookie('wt_'+m[i].toLowerCase()+this.allUrlParam(m[i],"").toLowerCase())==''){this.config.campaignId+=m[i]+this.wtEscape("="+this.allUrlParam(m[i],""));}else{this.config.campaignId+=m[i]+"=ignore";};var $0s='';if(this.mediaCodeCookie=='eid'){$0s=60*30*24*60;};this.setCookie('wt_'+m[i].toLowerCase()+this.allUrlParam(m[i],"").toLowerCase(),1,$0s);}else{if(typeof(v)!="undefined"&&typeof(v[i])!="undefined"&&v[i]!=""){this.config.campaignId+=m[i]+this.wtEscape("="+v[i]);}else if(this.allUrlParam(m[i],"")!=""){this.config.campaignId+=m[i]+this.wtEscape("="+this.allUrlParam(m[i],""));}}}};this.heatmapOn=(this.wtHref().indexOf("wt_heatmap=1")>=0);this.overlayOn=(this.wtHref().indexOf("wt_overlay=1")>=0||document.cookie.indexOf("wt_overlay=1")>=0);if(this.wtHref().indexOf("wt_overlay=0")>=0){this.overlayOn=false;this.setCookie("wt_overlay","",-1);};var $0t=false;for(i=0;i<webtrekkHeatmapObjects.length;i++){if(this==webtrekkHeatmapObjects[i]){$0t=true;}};if(!$0t){webtrekkHeatmapObjects.push(this);};if(this.heatmap&&this.heatmap=="1"&&!this.heatmapOn){this.registerEvent(document,"mousedown",webtrekkHeatmapClick);};if(this.heatmapOn&&!this.disableOverlayView){if(this.include(location.protocol+"//"+this.reporturl+"/heatmap.pl?wt_contentId="+this.wtEscape(this.contentId.split(";")[0])+"&x="+new Date().getTime())){if(navigator.userAgent.indexOf('MSIE 6')!=-1&&navigator.userAgent.indexOf('Windows NT 5.0')!=-1){alert("Click OK to start heatmap.");};this.registerEvent(window,"load",webtrekkStartHeatmap);}};if(this.overlayOn&&!this.disableOverlayView){this.setCookie("wt_overlay","1");if(this.include(location.protocol+"//"+this.reporturl+"/overlay.pl?wt_contentId="+this.wtEscape(this.contentId.split(";")[0])+"&x="+new Date().getTime()))this.registerEvent(window,"load",webtrekkStartOverlay);};this.setPixelSampling=function($0u){if(!$0u){var $0u=this.pixelSampling;};var trackId=this.trackId.split(",")[0];var $0v=this.getCookie("wt3_sample").split(";");var $0w=false;for(var i=0;i<$0v.length;i++){if(this.indexOf($0v[i],trackId+"|"+$0u)!=-1){$0w=true;}else if(this.indexOf($0v[i],trackId+"|")!=-1){$0v[i]="";}};if(!$0w){if(Math&&Math.random&&parseInt(Math.random()*$0u)==0){$0v.push(trackId+"|"+$0u+"|1");}else{$0v.push(trackId+"|"+$0u+"|0");};var $0x=60;if(this.cookieEidTimeout){$0x=this.cookieEidTimeout;};this.setCookie("wt3_sample",$0v.join(";"),$0x*30*24*60);$0v=this.getCookie("wt3_sample");};if(this.indexOf($0v,trackId+"|"+$0u+"|1")==-1){this.deactivatePixel=true;}};if(this.pixelSampling&&!this.optOut){this.setPixelSampling();};this.firstParty=function(){var $0y=this.getCookie("wt3_sid").split(";");var $0z=this.getCookie("wt3_eid").split(";");var $0A=(this.cookieSidTimeout)?this.cookieSidTimeout:30;var $0x=(this.cookieEidTimeout)?this.cookieEidTimeout:60;var trackId=this.trackId.split(",")[0];var $0B=false;var $0C=false;for(var i=0;i<$0y.length;i++){if($0y[i].indexOf(trackId)!=-1){$0B=i;break;}};for(var i=0;i<$0z.length;i++){if($0z[i].indexOf(trackId+"|")!=-1){$0C=i;break;}};if(!$0B){$0y.push(trackId);if($0C){this.forceNewSession=true;}};if(!$0C){this.eid=this.generateEid();this.cookieOne=true;$0z.push(trackId+"|"+this.eid);this.setCookie("wt3_eid",$0z.join(";"),$0x*30*24*60);}else{this.eid=$0z[$0C].replace(trackId+"|","");};this.setCookie("wt3_sid",$0y.join(";"));};var $0D=false;for(i=0;i<webtrekkUnloadObjects.length;i++){if(this==webtrekkUnloadObjects[i]){$0D=true;}};if(!$0D){webtrekkUnloadObjects.push(this);this.registerEvent(window,(this.wtTypeof(window.onbeforeunload))?"beforeunload":"unload",webtrekkUnload);};this.findForm=function(){var f=document.forms;for(var i=0;i<f.length;i++){var cf=f[i];if(this.wtTypeof(cf.elements["wt_form"])){this.formObject=cf;return;}}};this.checkFormFocus=function($0E){if($0E==this.formFocus){return 1;};return 0;};this.getFormFieldValue=function(ff){var p=ff.name;if(this.formFieldAttribute){p='';var tmp=false;eval("tmp = (ff.getAttribute(this.formFieldAttribute) ? ff.getAttribute(this.formFieldAttribute) : '')");if(tmp){p=tmp;};if(p){p=p.replace(/[\.|;]/g,"_");}};return p;};this.gatherForm=function(){var $0F=";";if(!this.formObject){return;};var f=this.formObject;var p=f.getAttribute('name')?f.getAttribute('name'):this.contentId.split(";")[0];if(this.formAttribute){var tmp="";eval("tmp = (f.getAttribute(this.formAttribute) ? f.getAttribute(this.formAttribute) : '')");if(tmp){p=tmp;}};this.formName=p;var fl="";if(this.wtTypeof(f.elements["wt_fields"])){fl=f.elements["wt_fields"].value;};if(!fl){for(var i=0;i<f.elements.length;i++){var e=f.elements[i];if(this.getFormFieldValue(e)){fl+=this.getFormFieldValue(e)+$0F;}};fl=fl.substring(0,fl.lastIndexOf($0F))};var $0G=fl.split($0F);var $0H=$0G.length;var $0I="";if(this.formFullContent){$0I=this.formFullContent.split($0F);};var pa="";var $0J=new Array();for(var i=0;i<f.elements.length;i++){var e=f.elements[i],$z,$0K,$0L=false;if(fl){for(var j=0;j<$0H;j++){if(this.getFormFieldValue(e)==$0G[j]){$0L=true;}}}else{if(this.getFormFieldValue(e)){$0L=true;}};if($0L){$z=null;if(e.type=='select-multiple'){for(var j=0;j<e.options.length;j++){var $0M=false;if(e.options[j].selected){$0M=true;pa+=";"+this.getFormFieldValue(e).replace(/[\.|;]/g,"_")+"."+e.type+"|"+((this.formAnonymous)?"anon":e.options[j].value.replace(/[\.|;]/g,"_"))+"|"+this.checkFormFocus(e.name);};if(!$0M){$z="empty";}}};if(e.type=='select-one'){if(e.selectedIndex!=-1){$z=e.options[e.selectedIndex].value.replace(/[\.|;]/,"_");if(!$z){$z="empty";}}};if(e.type=='checkbox'){if(!e.checked){$z="empty";}else{$z=e.value.replace(/[\.|;]/,"_");}};if(e.type=='radio'){if(e.checked){$z=e.value.replace(/[\.|;]/g,"_");};$0J[$0J.length]=this.getFormFieldValue(e);};if(e.type=="password"||e.type=="text"||e.type=="textarea"){$z=(e.value?"filled_out":"empty");for(var k=0;k<$0I.length;k++){if($0I[k]==this.getFormFieldValue(e)){$z=this.maxlen(e.value,30);}};if(!$z){$z="empty";}};if($z){name=this.getFormFieldValue(e).replace(/[\.|;]/g,"_");$0K=";"+name+"."+e.type+"|";if(pa.indexOf($0K)==-1){pa+=$0K+((this.formAnonymous)?"anon":$z)+"|"+this.checkFormFocus(e.name);}}}};for(var i=0;i<$0J.length;i++){var n=";"+$0J[i].replace(/[\.|;]/g,"_")+".radio|";if(pa.indexOf(n)==-1){pa+=n+((this.formAnonymous)?"anon":"empty")+"|"+this.checkFormFocus(e.name);}};if(pa){pa=pa.substring(1);};return pa;};this.formTrackInstall=function(f){if(f){this.formObject=f;};this.form=1;webtrekkFormTrackInstall();};if(this.form){webtrekkFormTrackInstall();};this.cookieManager=function(name,$0N,$0O){var i,j;this.name=name;this.keySeperator="~";this.fieldSeparator="#";this.durationSeperator="|";this.found=false;this.expires=$0N;this.accessPath=$0O;this.rawValue="";this.fields=[];this.fieldsDuration=[];this.fieldnames=[];this.read=function(){var $0P=this.name+"=";var $0Q=document.cookie;this.rawValue=null;this.found=false;if($0Q.length>0){$0R=$0Q.indexOf($0P);if($0R!=-1){$0R+=$0P.length;end=$0Q.indexOf(";",$0R);if(end==-1){end=$0Q.length};this.rawValue=$0Q.substring($0R,end);this.found=true;}};if(this.rawValue!=null){var sl=this.rawValue.length;var $0S=0;var $0T=0;var i=0;do{$0T=this.rawValue.indexOf(this.fieldSeparator,$0S);if($0T!=-1){var $0U=this.rawValue.substring($0S,$0T).split(this.durationSeperator);var rV=$0U[0].split(this.keySeperator);this.fields[rV[0]]=unescape(rV[1]);this.fieldsDuration[rV[0]]=parseInt(unescape($0U[1]));i++;$0S=$0T+1;}}while($0T!=-1&$0T!=(this.rawValue.length-1));};return this.found;};this.getSize=function(){var $0V=new Date().getTime();var $0W="";for(i in this.fields){if(this.fieldsDuration[i]>=$0V){$0W+=escape(i)+this.keySeperator+escape(this.fields[i])+this.durationSeperator+escape(this.fieldsDuration[i])+this.fieldSeparator;}};return $0W.length;};this.write=function(){var $0V=new Date().getTime();var $0X=true;var $0W=this.name+"=";for(i in this.fields){if(this.fieldsDuration[i]>=$0V){$0W+=escape(i)+this.keySeperator+escape(this.fields[i])+this.durationSeperator+escape(this.fieldsDuration[i])+this.fieldSeparator;$0X=false;}};var $0Y=($0X)?-99999:this.expires;if($0Y!=""){if(typeof($0Y)=="number"){var $0Z=new Date();var $10=new Date();$10.setTime($0Z.getTime()+1000*60*60*24*$0Y);$0W+="; expires="+$10.toGMTString();}else{$0W+="; expires="+$0Y.toGMTString();}};if(this.accessPath!=null){$0W+="; PATH="+this.accessPath;};var d=location.hostname;var $B="^[0-9]{1,3"+String.fromCharCode(125)+"\.[0-9]{1,3"+String.fromCharCode(125)+"\.[0-9]{1,3"+String.fromCharCode(125)+"\.[0-9]{1,3"+String.fromCharCode(125)+"$";if(d.search($B)==-1){d=location.hostname.split(".");d=d[d.length-2]+"."+d[d.length-1];};$0W+="; DOMAIN="+d;document.cookie=$0W;return null;};this.remove=function(){this.expires=-10;this.write();return this.read();};this.get=function($11){var $0V=new Date().getTime();if(this.fieldsDuration[$11]>=$0V){return this.fields[$11];};return "";};this.set=function($11,$12,$A,$V,$13){if(!$A){$A=31536000;};if(!$V){$V="";};var $0V=new Date().getTime();if($V=="first"&&this.fields[$11]!=""&&this.fields[$11]!=null&&this.fieldsDuration[$11]>=$0V){return this.fields[$11];};this.fields[$11]=$12;this.fieldsDuration[$11]=$0V+(parseInt($A)*1000);if(!$13){this.write();};return $12;};this.prepare=function($11,$12,$A,$V){this.set($11,$12,$A,$V,true);};this.read();};};
/* End of webtrekk.js */

/* Kompatibilitätsmodus */
var webtrekkPixel = false;function wt_sendinfo(p, mode, ep) {if (webtrekkPixel) {for (i in webtrekk) {if (i != "plugins" && i != "sendinfo") {webtrekkPixel[i] = webtrekk[i];}}webtrekkPixel.sendinfo(false, p, mode, ep);}}

if (typeof(webtrekk) == "object") {
	webtrekkConfig = webtrekk;
	webtrekkPixel = new webtrekkV3();
	if(typeof(wt_updatePixel) == "function"){
		wt_updatePixel();
	}
	if (webtrekk.sendinfo && webtrekk.sendinfo == '1'){
		webtrekkPixel.sendinfo();
	}
}
/* End Kompatibilitätsmodus */


