(function(Adform){var subs={"\\":"\\\\","\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"'};var quote=function(s){var newstring="";if(typeof s==="string"&&s!=null&&s.length>0){for(var i=0;i<s.length;i++){var c=s.charAt(i);var sub=subs[c];if(typeof sub==="string"){newstring+=sub}else{newstring+=c}}}return newstring};Adform.JSON={};Adform.JSON.stringify=function(obj){var t=typeof(obj);if(t!="object"||obj===null){if(t=="string"){obj='"'+quote(obj)+'"'}return String(obj)}else{var n,v,json=[],arr=(obj&&obj.constructor==Array);for(n in obj){v=obj[n];t=typeof(v);if(t=="undefined"||t=="function"){continue}if(t=="string"){v='"'+quote(v)+'"'}else{if(t=="object"&&v!==null){v=Adform.JSON.stringify(v)}}json.push((arr?"":'"'+n+'":')+String(v))}return(arr?"[":"{")+String(json)+(arr?"]":"}")}}})(Adform=window.Adform||{});(function(){var _w=window;if(_w.Adform&&_w.Adform.BrowserInfo){return}var _s=_w.screen,_n=_w.navigator;function getScreenSize(s){var d;if(s){d=s.width+"x"+s.height}else{if(!s&&window.java){try{var j=window.java.awt.Toolkit.getDefaultToolkit().getScreenSize();d=j.width+"x"+j.height}catch(e){}}}return d}window.Adform=window.Adform||{};if(!window.Adform.BrowserInfo){window.Adform.BrowserInfo={language:(_n&&_n.language?_n.language:_n&&_n.browserLanguage?_n.browserLanguage:""),screenSize:getScreenSize(_s),colorDepth:(_s?_s.colorDepth:"")}}})();(function(){window.adf=window.adf||{};window.adf.fpc=window.adf.fpc||{setCookie:function(name,value,days,domain){var expires="";if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toGMTString()}try{document.cookie=name+"="+value+expires+"; path=/; "+((domain)?("domain="+domain):"")}catch(e){}},readCookie:function(name){var nameEQ=name+"=";var ca=[];try{ca=document.cookie.split(";")}catch(e){}for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length)}if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length)}}return null},isOptedOut:function(){return this.readCookie("adfoptout")=="1"},readCookieSafely:function(name){if(this.isOptedOut()){return null}return this.readCookie(name)},setCookieSafely:function(name,value,days,domain){if(this.isOptedOut()){return}this.setCookie(name,value,days,domain)},eraseCookie:function(name,domain){if(domain){this.setCookie(name,"",-1,domain)}else{this.setCookie(name,"",-1)}},setFPCookie:function(cid,domain){this.setCookieSafely("adfcid",cid,60,domain)},readFPCookie:function(){var adfcid=this.readCookieSafely("adfcid");return(typeof(adfcid)=="undefined"||!(adfcid))?0:adfcid},getQSParam:function(paramName,queryString){try{var qs=((typeof(queryString)!="undefined")&&(queryString))?queryString:location.search;if((typeof(qs)=="undefined")||!qs){return null}if(qs[0]=="?"){qs=qs.substring(1)}var params=qs.split("&");if((typeof(params)=="undefined")||!params){return null}for(var i=0;i<params.length;i++){var param=params[i];if((typeof(param)!="undefined")&&(param)){var par=param.split("=");if((par!=null)&&(par.length>1)){if(par[0].toLowerCase()==paramName){return decodeURIComponent(par[1])}}}}}catch(e){}return null},processFirstPartyCookie:function(defaultUrl){var uid=this.getQSParam("uid");var rdir=this.getQSParam("rdir");var domain=this.getQSParam("domain");var cookiesEnabled=0;var fpcid=0;if(this.isOptedOut()){cookiesEnabled=3}else{fpcid=this.readFPCookie();fpcid=((typeof(fpcid)!="undefined")&&(fpcid))?fpcid:uid;if(fpcid){this.setFPCookie(fpcid,domain);var cookiesEnabled=false;var fpcid_check=this.readFPCookie();cookiesEnabled=((fpcid_check)&&(fpcid_check==fpcid))?1:2}}rdir=((typeof(rdir)!="undefined")&&(rdir))?rdir.replace("{fpcid}",fpcid).replace("{fpcon}",cookiesEnabled):defaultUrl;if(rdir){this.redirectBack(rdir)}},redirectBack:function(url){if(url){document.location.href=url}},optOutForNumberOfDays:function(domain,days){this.setCookie("adfoptout","1",days,domain);this.eraseCookie("adfcid",domain)},optOut:function(domain){this.optOutForNumberOfDays(domain,730)}}})();(function(Adform,_w,_d){if(Adform.TrackingPixel){return}Adform.TrackingPixel={imgs:[],loadPixel:function(url){var img=_w.Image?new Image(1,1):_d.createElement("img");img.src=url;this.imgs.push(img)}}})(Adform=window.Adform||{},window,document);(function(doAsyncTrack,isAdTruthEnabled){window.Adform=window.Adform||{};window.Adform.Tracking=window.Adform.Tracking||{};window.Adform.Tracking.Params=window.Adform.Tracking.Params||{};window.Adform.Tracking.Params.HttpHost="track.adform.net";window.Adform.Tracking.Vars=window.Adform.Tracking.Vars||{};window.Adform.Tracking.Vars.Custom=window.Adform.Tracking.Vars.Custom||{};window.Adform.Tracking.Vars.toString=function(){var a="",s="",val="",c=("ADF__").length;var args=["ADF__Sale","ADF__OrderID","ADF__TD","ADF__BasketSize","ADF__Email","ADF__FName","ADF__LName","ADF__Addr1","ADF__Addr2","ADF__Phone","ADF__ZIP","ADF__Country","ADF__var1","ADF__var2","ADF__var3","ADF__var4","ADF__var5","ADF__var6","ADF__var7","ADF__var8","ADF__var9","ADF__var10"];for(var i=0;i<args.length;i++){try{a=(this[args[i].substring(c)]||window[args[i]]||"").toString();val=(a.toLowerCase().indexOf("<insert")>-1)?"":encodeURIComponent(a.toString().replace(/\||@@/g,""));s+=(val!="")?args[i].substring(c)+"="+val+"|":""}catch(e){}}if(s!=""){s=s.substring(0,s.length-1)}return s};window.Adform.BrowserInfo=window.Adform.BrowserInfo||{language:"",screenSize:"",colorDepth:"",flashVersion:""};window.Adform.Tracking={Vars:window.Adform.Tracking.Vars,Params:window.Adform.Tracking.Params,Products:[],Steps:{View:1,Basket:2,Purchase:3},prerenderedPoints:window.Adform.Tracking.prerenderedPoints||[],addProduct:function(json){var productToAdd={};if(typeof json.pid!="undefined"){productToAdd.pid=json.pid}if(typeof json.productid!="undefined"){productToAdd.pid=json.productid}if(typeof json.weight!="undefined"){productToAdd.weight=json.weight}if(typeof json.step!="undefined"){productToAdd.step=json.step}if(typeof json.name!="undefined"){productToAdd.pnm=json.name}if(typeof json.productname!="undefined"){productToAdd.pnm=json.productname}if(typeof json.group!="undefined"){productToAdd.pgr=json.group}if(typeof json.categoryname!="undefined"){productToAdd.pgr=json.categoryname}if(typeof json.categoryid!="undefined"){productToAdd.cid=json.categoryid}if(typeof json.productsales!="undefined"){productToAdd.psl=json.productsales}if(typeof json.productcount!="undefined"){productToAdd.pcnt=json.productcount}if(typeof json.custom!="undefined"){productToAdd.cvr=json.custom}this.getCustomVars(json,productToAdd,"sv",255);this.getCustomVars(json,productToAdd,"svn",255);if(window.Adform.Tracking.Order!=null){window.Adform.Tracking.Order.itms=window.Adform.Tracking.Order.itms||[];window.Adform.Tracking.Order.itms.push(productToAdd)}else{window.Adform.Tracking.Products.push(productToAdd)}if(typeof window.Adform.Tracking.Vars.Order!="undefined"&&window.Adform.Tracking.Vars.Order!=null){window.Adform.Tracking.Vars.Order.products=window.Adform.Tracking.Vars.Order.products||[];window.Adform.Tracking.Vars.Order.products.push(json)}else{window.Adform.Tracking.Vars.Products=window.Adform.Tracking.Vars.Products||[];window.Adform.Tracking.Vars.Products.push(json)}},createOrder:function(ob){var order={};if(typeof ob.sales!="undefined"){order.sl=ob.sales}if(typeof ob.orderid!="undefined"){order.id=ob.orderid}if(typeof ob.email!="undefined"){order.email=ob.email}if(typeof ob.firstname!="undefined"){order.fn=ob.firstname}if(typeof ob.lastname!="undefined"){order.ln=ob.lastname}if(typeof ob.address1!="undefined"){order.adr1=ob.address1}if(typeof ob.address2!="undefined"){order.adr2=ob.address2}if(typeof ob.phone!="undefined"){order.phn=ob.phone}if(typeof ob.zip!="undefined"){order.zip=ob.zip}if(typeof ob.country!="undefined"){order.cntr=ob.country}if(typeof ob.basketsize!="undefined"){order.bsz=ob.basketsize}if(typeof ob.agegroup!="undefined"){order.age=ob.agegroup}if(typeof ob.gender!="undefined"){order.gen=ob.gender}if(typeof ob.currency!="undefined"){order.cur=ob.currency}if(typeof ob.productgroup!="undefined"){order.pgr=ob.productgroup}if(typeof ob.orderstatus!="undefined"){order.ost=ob.orderstatus}this.getCustomVars(ob,order,"var",10);this.getCustomVars(ob,order,"sv",255);this.getCustomVars(ob,order,"svn",255);window.Adform.Tracking.Order=order;window.Adform.Tracking.Vars.Order=ob},getCustomVars:function(fromObject,toObject,prefix,count){for(var k in fromObject){if(k.toLowerCase().indexOf(prefix)==0){var n=k.slice(prefix.length);var nn=parseInt(n);if(nn.toString()==n&&nn>0&&nn<=count){toObject[prefix+nn.toString()]=fromObject[k]}}}},CheckEscape:function(val){val=((val.indexOf("%")!=-1)?val:encodeURIComponent(val)).replace(/\+/g,"%2B");return val},GetQueryVar:function(variable){try{var query=window.location.search.substring(1);var vars=query.split("&");for(var i=0;i<vars.length;i++){var pair=vars[i].split("=");if(pair[0].toLowerCase()==variable){return pair[1]}}}catch(e){}return""},CreateIframeElement:function(loc,retryNo){try{if("\v"=="v"){if(document.body&&document.body.insertAdjacentHTML){document.body.insertAdjacentHTML("afterBegin",'<iframe src="'+loc+'" width="0" height="0" scrolling="no" frameborder="0" style="border:0px;width:0px;height:0px;position:absolute"></iframe>')}}else{if(document.createElement&&document.body&&document.body.appendChild){var tempIFrame=document.createElement("iframe");tempIFrame.style.position="absolute";tempIFrame.style.border="0px";tempIFrame.style.width="0px";tempIFrame.style.height="0px";tempIFrame.src=loc;document.body.appendChild(tempIFrame)}else{if(!document.body){retryNo?++retryNo:retryNo=1;if(retryNo<50){window.setTimeout("window.Adform.Tracking.CreateIframeElement('"+loc+"', "+retryNo+")",20)}}}}}catch(e){}},LoadScript:function(loc){if(document.createElement&&document.getElementsByTagName){var s=document.createElement("script");var h=document.getElementsByTagName("head");if(s&&h.length){s.src=loc;s.async=true;h[0].appendChild(s);return true}}return false},Base64:{_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",encode:function(input){var out=[];var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=this._utf8_encode(input);while(i<input.length){chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64}else{if(isNaN(chr3)){enc4=64}}out.push(this._keyStr.charAt(enc1),this._keyStr.charAt(enc2));if(enc3!=64){out.push(this._keyStr.charAt(enc3))}if(enc4!=64){out.push(this._keyStr.charAt(enc4))}}return out.join("")},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c)}else{if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128)}else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128)}}}return utftext}},ClickTrack:function(element,pm,id,svo,rdir){if(typeof element.href!="undefined"){this.Track(pm,id,svo,rdir);if(typeof element.target!="undefined"&&element.target!=""){setTimeout(function(){window.open(element.href,element.target)},100)}else{setTimeout(function(){window.location=element.href},100)}}else{if(typeof element.type!="undefined"&&element.type=="submit"){this.Track(pm,id,svo,rdir);setTimeout(function(){element.form.submit()},100)}else{this.Track(pm,id,svo,rdir)}}this.CleanUp();return false},Container:function(pm,id,svo,rdir){this.Track(pm,id,svo,rdir,"Container");this.CleanUp()},Track:function(pm,id,svo,rdir,mode){var set1=encodeURIComponent(Adform.BrowserInfo.language+"|"+Adform.BrowserInfo.language+"|"+Adform.BrowserInfo.screenSize+"|"+Adform.BrowserInfo.colorDepth);var protocolAndHost=((document.location.protocol=="https:")?"https://":"http://")+Adform.Tracking.Params.HttpHost;var ref="";try{ref=top.document.referrer}catch(e){ref=document.referrer}var loc="";try{loc=window.location.href.substring(0,Math.min(99,window.location.href.length))}catch(e){}window.Adform.Tracking.Params.PageName=window.Adform.Tracking.Params.PageName||window.ADFPageName||"";window.Adform.Tracking.Params.Divider=(window.Adform.Tracking.Params.PageName=="")?"":window.Adform.Tracking.Params.Divider||window.ADFdivider||"|";window.Adform.Tracking.Vars.Sale=window.Adform.Tracking.Vars.Sale||window.ADF__Sale||"";window.Adform.Tracking.Vars.OrderID=window.Adform.Tracking.Vars.OrderID||window.ADF__OrderID||"";window.Adform.Tracking.Vars.SubOrders=window.Adform.Tracking.Vars.SubOrders||window.ADF__SubOrders||"";window.Adform.Tracking.Vars.CPref=ref||"";window.Adform.Tracking.Vars.loc=loc||"";window.Adform.Tracking.AdvertiserId=window.Adform.Tracking.AdvertiserId||"";window.Adform.Tracking.ThirdPartyId=window.Adform.Tracking.ThirdPartyId||"";var cookieIdTimestamp=(new Date().getTime()*10000)+6.21355968e+17;var rand=Math.floor(1000000000000*Math.random());var lid=(typeof(id)=="undefined"||!id)?"":id;if(!this.IsNumber(lid)&&window.Adform.Tracking.Params.PageName==""){window.Adform.Tracking.Params.PageName=lid;window.Adform.Tracking.Params.Divider="|";lid=""}var sv1=window.Adform.Tracking.Vars.toString();var sv2=encodeURIComponent(window.Adform.Tracking.Vars.SubOrders);var sv=(((sv1!=null)&&(sv1!=""))||((sv2!=null)&&(sv2!="")))?sv1+"@@"+sv2:"";if(typeof(svo)!="undefined"&&svo!=null){if(this.IsString(svo)){sv=svo+"@@"}else{this.CreateOrderAndProductVars(svo)}}var prerendering=document.webkitVisibilityState=="prerender";var urlParams=[];if(prerendering){urlParams.push("hid=2")}this.PushIfNotEmpty(urlParams,this.JoinIfNotEmpty("ADFPageName",this.CheckEscape(window.Adform.Tracking.Params.PageName)));this.PushIfNotEmpty(urlParams,this.JoinIfNotEmpty("ADFdivider",this.CheckEscape(window.Adform.Tracking.Params.Divider)));this.PushIfNotEmpty(urlParams,this.JoinIfNotEmpty("ADFsysvars",sv));this.PushIfNotEmpty(urlParams,this.JoinIfNotEmpty("ord",rand));this.PushIfNotEmpty(urlParams,this.JoinIfNotEmpty("Set1",set1));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("CPref",ref));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("iprodgrp",window.Adform.Tracking.Vars.InterestProductGroup));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("iprod",window.Adform.Tracking.Vars.InterestProduct));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("iprodwght",window.Adform.Tracking.Vars.InterestProductWeight));var urlToLoadFallBack=urlToLoad;if(typeof(rdir)=="undefined"||rdir==""||!rdir){if(mode=="Container"){urlParams.push("ADFtpmode=3")}else{urlParams.push("ADFtpmode=2")}this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("ADFsale",window.Adform.Tracking.Vars.Sale));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("ADForderid",window.Adform.Tracking.Vars.OrderID));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("ADFSubOrders",window.Adform.Tracking.Vars.SubOrders))}else{this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("rdir",rdir))}var emptyCustomVars=true;for(var i in window.Adform.Tracking.Vars.Custom){emptyCustomVars=false;break}try{this.PushIfNotEmpty(urlParams,this.JoinIf("adfcustvars",encodeURIComponent(window.Adform.JSON.stringify(window.Adform.Tracking.Vars.Custom)),function(){return !emptyCustomVars}));this.PushIfNotEmpty(urlParams,this.JoinIf("ecpr",this.Base64.encode(window.Adform.JSON.stringify(window.Adform.Tracking.Products)),function(){return window.Adform.Tracking.Products.length>0}));this.PushIfNotEmpty(urlParams,this.JoinIf("itm",this.Base64.encode(window.Adform.JSON.stringify(window.Adform.Tracking.Order)),function(){return(window.Adform.Tracking.Order!=null)}));this.PushIfNotEmpty(urlParams,this.JoinAndEncodeIfNotEmpty("loc",loc));this.PushIfNotEmpty(urlParams,this.JoinIf("msrc","1",function(){return window.Adform.Tracking.AdvertiserId.length>0}));this.PushIfNotEmpty(urlParams,this.JoinIf("adid",encodeURIComponent(window.Adform.Tracking.AdvertiserId),function(){return window.Adform.Tracking.AdvertiserId.length>0}));this.PushIfNotEmpty(urlParams,this.JoinIf("icid",encodeURIComponent(window.Adform.Tracking.ThirdPartyId),function(){return window.Adform.Tracking.ThirdPartyId.length>0}));this.PushIfNotEmpty(urlParams,this.JoinIf("icidt",encodeURIComponent(cookieIdTimestamp),function(){return(window.Adform.Tracking.AdvertiserId.length>0||window.Adform.Tracking.ThirdPartyId.length>0)}));this.PushIfNotEmpty(urlParams,this.JoinIf("atdt",encodeURIComponent(window.Adform.Tracking.AdTruthPayload),function(){return window.Adform.Tracking.AdTruthPayload&&window.Adform.Tracking.AdTruthPayload.length<1024}))}catch(e){}var urlToLoad=(pm)?protocolAndHost+"/Serving/TrackPoint/?pm="+pm+(lid==""?"":("&lid="+lid))+"&"+urlParams.join("&"):protocolAndHost+"/Banners/Invisible.gif";if(prerendering){urlPostPrerender=urlToLoad.replace("&hid=2","&hid=1");window.Adform.Tracking.prerenderedPoints.push(urlPostPrerender);try{document.addEventListener("webkitvisibilitychange",function(){if(document.webkitVisibilityState!="prerender"){while(window.Adform.Tracking.prerenderedPoints.length>0){var url=window.Adform.Tracking.prerenderedPoints.pop();window.Adform.Tracking.LoadScript(url)}}},false)}catch(ex){}}var doFallBack=false;try{doFallBack=!this.LoadScript(urlToLoad)}catch(e){doFallBack=true}if(doFallBack){var img=(typeof(window.Image)=="undefined")?document.createElement("img"):new window.Image();img.src=urlToLoadFallBack}if(this.GetQueryVar("adfcm")!=""){try{window.Adform.CMData=window.Adform.CMData||{};window.Adform.CMData.protocolAndHost=protocolAndHost;window.Adform.CMData.hashKey=this.GetQueryVar("adfhash");this.LoadScript(protocolAndHost+"/logpoint/utils/ADFClickMap.js")}catch(e){}}},JoinIf:function(l,r,f){return(f())?(l+"="+r):""},JoinIfNotEmpty:function(l,r){return this.JoinIf(l,r,function(){return((r!=null)&&(r!=""))})},JoinAndEncodeIfNotEmpty:function(l,r){return this.JoinIf(l,encodeURIComponent(r),function(){return((r!=null)&&(r!=""))})},PushIfNotEmpty:function(array,o){if((o!=null)&&(o!="")){array.push(o)}},TrackClean:function(pm,id,svo,rdir){this.Track(pm,id,svo,rdir);this.CleanUp()},CreateOrderAndProductVars:function(vo){if(this.IsString(vo)){return}if(this.IsObject(vo)){this.Order=null;this.Products=[];this.createOrder(vo);if(this.IsArray(vo.itms)){this.AddProductsFromArray(vo.itms)}}if(this.IsArray(vo)){this.AddProductsFromArray(vo)}},IsArray:function(obj){return typeof obj!="undefined"&&Object.prototype.toString.call(obj)=="[object Array]"},IsObject:function(obj){return typeof obj!="undefined"&&Object.prototype.toString.call(obj)=="[object Object]"},IsString:function(obj){return typeof obj!="undefined"&&Object.prototype.toString.call(obj)=="[object String]"},IsNumber:function(n){return !isNaN(parseFloat(n))&&isFinite(n)},AddProductsFromArray:function(arr){try{for(var i=0;i<arr.length;i++){this.addProduct(arr[i])}}catch(e){}},CollectAdTruth:function(retryNo){try{if(window.fortyone&&window.fortyone.collect){window.Adform.Tracking.AdTruthPayload=fortyone.collect()}else{retryNo?++retryNo:retryNo=1;if(retryNo<50){window.setTimeout("window.Adform.Tracking.CollectAdTruth("+retryNo+")",20)}}}catch(e){}},CleanUp:function(){Adform.Tracking.Vars.var1="";Adform.Tracking.Vars.var2="";Adform.Tracking.Vars.var3="";Adform.Tracking.Vars.var4="";Adform.Tracking.Vars.var5="";Adform.Tracking.Vars.var6="";Adform.Tracking.Vars.var7="";Adform.Tracking.Vars.var8="";Adform.Tracking.Vars.var9="";Adform.Tracking.Vars.var10="";Adform.Tracking.Vars.Sale="";Adform.Tracking.Vars.OrderID="";Adform.Tracking.Vars.SubOrders="";Adform.Tracking.Products=[];Adform.Tracking.Order=null;Adform.Tracking.Params.PageName="";Adform.Tracking.Params.Divider=""},Post:function(pm,id,json){var postProtocolAndHost=((document.location.protocol=="https:")?"https://":"http://")+Adform.Tracking.Params.HttpHost;if(id==""){return}var lid;if(!this.IsNumber(id)){lid="&ADFPageName="+id+"&ADFdivider=|"}else{lid="&lid="+id}var urlParams=[];try{this.PushIfNotEmpty(urlParams,this.JoinIf("ecpr",this.Base64.encode(window.Adform.JSON.stringify(window.Adform.Tracking.Products)),function(){return window.Adform.Tracking.Products.length>0}));this.PushIfNotEmpty(urlParams,this.JoinIf("itm",this.Base64.encode(window.Adform.JSON.stringify(window.Adform.Tracking.Order)),function(){return(window.Adform.Tracking.Order!=null)}));this.PushIfNotEmpty(urlParams,this.JoinIf("atdt",encodeURIComponent(window.Adform.Tracking.AdTruthPayload),function(){return window.Adform.Tracking.AdTruthPayload&&window.Adform.Tracking.AdTruthPayload.length<1024}))}catch(e){}var variables="";if(urlParams.length>0){variables="&"+urlParams.join("&")}var adfUrl=(pm)?postProtocolAndHost+"/Serving/TrackPoint/?pm="+pm+lid+"&ADFtpmode=2"+variables:postProtocolAndHost+"/Banners/Invisible.gif";try{var adfJson;var adfxmlhttp;if(typeof JSON!="undefined"){adfJson=JSON.stringify(json)}else{adfJson="'{";for(var key in json){adfJson+='"'+key+'":"'+json[key]+'",'}adfJson+="}'"}if(window.XMLHttpRequest){adfxmlhttp=new XMLHttpRequest()}else{adfxmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}adfxmlhttp.open("POST",adfUrl,false);adfxmlhttp.setRequestHeader("Content-Type","application/json");adfxmlhttp.send(adfJson)}catch(e){}}};window.Adform.Tracking.fpc=window.adf.fpc||{};window.Adform.Tracking.async=window.adf.async||{};window.adf=window.Adform.Tracking;window.adf.track=window.Adform.Tracking.TrackClean;window.adf.clicktrack=window.Adform.Tracking.ClickTrack;window.adf.container=window.Adform.Tracking.Container;window.adf.post=window.Adform.Tracking.Post;window.adf.createItem=window.adf.createOrder;window.adf.addSubItem=window.adf.addProduct;if(isAdTruthEnabled==1){window.Adform.Tracking.CollectAdTruth()}if(doAsyncTrack==1&&(typeof window.adf.async.track!="undefined")){window.adf.async.track(window.adf)}})("0","0");