function ed_manualTrack(a){var b=["onclick","onmousedown","onmouseup"];for(i in b)if(a.getAttribute(b[i])&&a.getAttribute(b[i]).indexOf("dcsMultiTrack")!=-1)return true;return false}function ed_global(){}function dcsCookie(){if(typeof dcsOther=="function")dcsOther();else if(typeof dcsPlugin=="function")dcsPlugin();else typeof dcsFPC=="function"&&dcsFPC(gTimeZone)} function dcsGetCookie(a){var b=document.cookie.split("; "),c=[],d=0,e=0,f=a.length,g=b.length;for(e=0;e<g;e++){var h=b[e];if(h.substring(0,f+1)==a+"=")c[d++]=h}b=c.length;if(b>0){d=0;if(b>1&&typeof gFpc!="undefined"&&a==gFpc){a=new Date(0);for(e=0;e<b;e++){g=parseInt(dcsGetCrumb(c[e],"lv"));g=new Date(g);if(g>a){a.setTime(g.getTime());d=e}}}return unescape(c[d].substring(f+1))}else return null} function dcsGetCrumb(a,b){for(var c=a.split(":"),d=0;d<c.length;d++){var e=c[d].split("=");if(b==e[0])return e[1]}return null}function dcsGetIdCrumb(a,b){for(var c=a.substring(0,a.indexOf(":lv=")).split("="),d=0;d<c.length;d++)if(b==c[0])return c[1];return null}function dcsIsFpcSet(a,b,c){if(a=dcsGetCookie(a))return b==dcsGetIdCrumb(a,"id")&&c==dcsGetCrumb(a,"lv")&&dcsGetCrumb(a,"ss")?0:3;return 2} function dcsFPC(a){if(typeof a!="undefined")if(document.cookie.indexOf("WTLOPTOUT=")==-1){var b=gFpc,c=new Date,d=c.getTimezoneOffset()*6E4+a*36E5;c.setTime(c.getTime()+d);var e=new Date(c.getTime()+31536E7);a=new Date(c.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(b+"=")==-1){if(typeof gWtId!="undefined"&&gWtId!="")WT.co_f=gWtId;else{if(typeof gTempWtId!="undefined"&&gTempWtId!="")WT.co_f=gTempWtId;else{WT.co_f="2";for(var f= c.getTime().toString(),g=2;g<=32-f.length;g++)WT.co_f+=Math.floor(Math.random()*16).toString(16);WT.co_f+=f}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 h=dcsGetCookie(b);f=dcsGetIdCrumb(h,"id");g=parseInt(dcsGetCrumb(h,"lv"));h=parseInt(dcsGetCrumb(h,"ss"));if(f==null||f=="null"||isNaN(g)||isNaN(h))return;WT.co_f=f;f=new Date(g);WT.vt_f_tlh=Math.floor((f.getTime()-d)/1E3);a.setTime(h);if(c.getTime()>f.getTime()+18E5|| c.getTime()>a.getTime()+288E5){WT.vt_f_tlv=Math.floor((a.getTime()-d)/1E3);a.setTime(c.getTime());WT.vt_f_s="1"}if(c.getDay()!=f.getDay()||c.getMonth()!=f.getMonth()||c.getYear()!=f.getYear())WT.vt_f_d="1"}WT.co_f=escape(WT.co_f);WT.vt_sid=WT.co_f+"."+(a.getTime()-d);d="; expires="+e.toGMTString();f=c.getTime().toString();c=a.getTime().toString();document.cookie=b+"=id="+WT.co_f+":lv="+f+":ss="+c+d+"; path=/"+(typeof gFpcDom!="undefined"&&gFpcDom!=""?"; domain="+gFpcDom:"");b=dcsIsFpcSet(b,WT.co_f, f,c);if(b!=0){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=b}}}function dcsParseSvl(a){a=a.split(" ").join("");a=a.split("\t").join("");a=a.split("\n").join("");var b=a.toUpperCase().indexOf("WT.SVL=");if(b!=-1){b=b+8;var c=a.indexOf('"',b);if(c==-1){c=a.indexOf("'",b);if(c==-1)c=a.length}return a.substring(b,c)}return""}function dcsIsOnsite(a){for(var b=ed_doms.split(","),c=0;c<b.length;c++)if(a.indexOf(b[c])!=-1)return 1;return 0} function dcsIsHttp(a){return a.href&&a.protocol&&a.protocol.indexOf("http")!=-1?true:false}function dcsTypeMatch(a,b){for(var c=a.substring(a.lastIndexOf(".")+1,a.length),d=b.split(","),e=0;e<d.length;e++)if(c==d[e])return true;return false}function dcsEvt(a,b){for(var c=a.target||a.srcElement;c.tagName&&c.tagName!=b;)c=c.parentElement||c.parentNode;return c} function dcsBind(a,b){if(typeof window[b]=="function"&&document.body)if(document.body.addEventListener)document.body.addEventListener(a,window[b],true);else document.body.attachEvent&&document.body.attachEvent("on"+a,window[b])}function dcsET(){var a=navigator.appVersion.indexOf("MSIE")!=-1?"click":"mousedown";dcsBind(a,"dcsDownload")} function dcsMultiTrack(){if(arguments.length%2==0){for(var a=0;a<arguments.length;a+=2)if(arguments[a].indexOf("WT.")==0)WT[arguments[a].substring(3)]=arguments[a+1];else if(arguments[a].indexOf("DCS.")==0)DCS[arguments[a].substring(4)]=arguments[a+1];else if(arguments[a].indexOf("DCSext.")==0)DCSext[arguments[a].substring(7)]=arguments[a+1];DCS.dcsdat=(new Date).getTime();dcsFunc("dcsCookie");_ed.starter();delete _ed.proto;dcsTag()}} function dcsDownload(a){if((a=a||window.event||"")&&(typeof a.which!="number"||a.which==1)){a=dcsEvt(a,"A");if(a.hostname&&dcsIsOnsite(a.hostname))if(dcsTypeMatch(a.pathname,ed_types))if(!(typeof ed_manualDownload!="undefined"&&ed_manualDownload&&ed_manualTrack(a))){if((a.search?a.search.substring(a.search.indexOf("?")+1,a.search.length):"").toUpperCase().indexOf("WT.SVL=")==-1)WT.svl=dcsParseSvl(a.name?a.name.toString():a.onclick?a.onclick.toString():"");var b=a.pathname?a.pathname.indexOf("/")!= 0?"/"+a.pathname:a.pathname:"/";_ed.proto=a.protocol;dcsMultiTrack("DCS.dcssip",a.hostname,"DCS.dcsuri",b,"DCS.dcsqry",a.search||"","WT.ti","Download:"+(a.innerHTML||""),"WT.dl","1");DCS.dcssip=DCS.dcsuri=DCS.dcsqry=WT.ti=WT.svl=WT.dl=""}}}function dcsAdv(){dcsFunc("dcsET");dcsFunc("dcsCookie");dcsFunc("dcsAdSearch");dcsFunc("dcsTP")}var gImages=[],gIndex=0,DCS={},WT={},DCSext={},gQP=[],gI18n=false; 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} function dcsVar(){var a=new Date;WT.tz=a.getTimezoneOffset()/60*-1;if(WT.tz==0)WT.tz="0";WT.bh=a.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)if(window.RegExp){var b=RegExp("^"+window.location.protocol+"//"+window.location.hostname+ "\\s-\\s");WT.ti=document.title.replace(b,"")}else WT.ti=document.title;WT.js="Yes";WT.jv=dcsJV();WT.ct=document.body&&document.body.addBehavior?document.body.connectionType||"unknown":"unknown";WT.bs=document.all?document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown":window.innerWidth+"x"+window.innerHeight;WT.fi="No";if(window.ActiveXObject)for(b=10;b>0;b--)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+b);WT.fi="Yes";WT.fv=b+".0";break}catch(c){}else if(navigator.plugins&& navigator.plugins.length)for(b=0;b<navigator.plugins.length;b++)if(navigator.plugins[b].name.indexOf("Shockwave Flash")!=-1){WT.fi="Yes";WT.fv=navigator.plugins[b].description.split(" ")[2];break}if(gI18n)WT.le=typeof document.defaultCharset=="string"?document.defaultCharset:typeof document.characterSet=="string"?document.characterSet:"unknown";WT.tv="8.0.3";DCSext.wtg_tv="1.1.0";DCSext.wti_tv=typeof ed_wti_tv!="undefined"?ed_wti_tv:"";DCS.dcsdat=a.getTime();DCS.dcssip=window.location.hostname;if(typeof(DCS.dcsuri== "undefined")||DCS.dcsuri=="")DCS.dcsuri=window.location.pathname;if(window.location.search){DCS.dcsqry=window.location.search;if(gQP.length>0)for(b=0;b<gQP.length;b++){var d=DCS.dcsqry.indexOf(gQP[b]);if(d!=-1){a=DCS.dcsqry.substring(0,d);d=DCS.dcsqry.substring(d+gQP[b].length,DCS.dcsqry.length);DCS.dcsqry=a+d}}}if(window.document.referrer!=""&&window.document.referrer!="-")if(!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4))DCS.dcsref=window.document.referrer} function dcsA(a,b){if(gI18n&&!EXRE.test(a))if(a=="dcsqry"){for(var c="",d=b.substring(1).split("&"),e=0;e<d.length;e++){var f=d[e],g=f.indexOf("=");if(g!=-1){var h=f.substring(0,g);f=f.substring(g+1);if(e!=0)c+="&";c+=h+"="+dcsEncode(f)}}b=b.substring(0,1)+c}else b=dcsEncode(b);return"&"+a+"="+dcsEscape(b,RE)}function dcsEscape(a,b){if(typeof b!="undefined"){a=a.toString();for(var c in b)a=a.replace(b[c],c);return a}else return escape(a)} function dcsEncode(a){return typeof encodeURIComponent=="function"?encodeURIComponent(a):escape(a)}function dcsCreateImage(a){if(document.images){gImages[gIndex]=new Image;gImages[gIndex].src=a;gIndex++}else document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+a+'">')} function dcsMeta(){var a;if(document.all)a=document.all.tags("meta");else if(document.documentElement)a=document.getElementsByTagName("meta");if(typeof a!="undefined")for(var b=a.length,c=0;c<b;c++){var d=a.item(c).name,e=a.item(c).content;a.item(c);if(d.length>0)if(d.indexOf("WT.")==0)WT[d.substring(3)]=e;else if(d.indexOf("DCSext.")==0)DCSext[d.substring(7)]=e;else if(d.indexOf("DCS.")==0)DCS[d.substring(4)]=e}if(typeof DCSext.wtg_contentarea=="undefined"||DCSext.wtg_contentarea=="")DCSext.wtg_contentarea= "other"} function dcsTag(){if(document.cookie.indexOf("WTLOPTOUT=")==-1){var a="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+gDomain+(gDcsId==""?"":"/"+gDcsId)+"/dcs.gif?";for(var b in DCS)if(DCS[b])a+=dcsA(b,DCS[b]);for(var c=["co_f","vt_sid","vt_f_tlv"],d=0;d<c.length;d++){var e=c[d];if(WT[e]){a+=dcsA("WT."+e,WT[e]);delete WT[e]}}for(b in WT)if(WT[b])a+=dcsA("WT."+b,WT[b]);for(b in DCSext)if(DCSext[b]){if(gI18n)WT.dep=typeof WT.dep=="undefined"?b:WT.dep+";"+b;a+=dcsA(b,DCSext[b])}if(gI18n&&typeof WT.dep!= "undefined")a+=dcsA("WT.dep",WT.dep);if(a.length>2048&&navigator.userAgent.indexOf("MSIE")>=0)a=a.substring(0,2040)+"&WT.tu=1";dcsCreateImage(a)}} function dcsJV(){var a=navigator.userAgent.toLowerCase(),b=parseInt(navigator.appVersion),c=a.indexOf("mac")!=-1,d=a.indexOf("firefox")!=-1,e=a.indexOf("firefox/0.")!=-1,f=a.indexOf("firefox/1.0")!=-1,g=a.indexOf("firefox/1.5")!=-1,h=d&&!e&&!f&!g,l=!d&&a.indexOf("mozilla")!=-1&&a.indexOf("compatible")==-1;d=l&&b==4;l=l&&b>=5;var k=a.indexOf("msie")!=-1&&a.indexOf("opera")==-1;b=k&&b==4&&a.indexOf("msie 4")!=-1;k=k&&!b;var m=a.indexOf("opera")!=-1,n=a.indexOf("opera 5")!=-1||a.indexOf("opera/5")!= -1;a=a.indexOf("opera 6")!=-1||a.indexOf("opera/6")!=-1;m=m&&!n&&!a;var j="1.1";if(h)j="1.7";else if(g)j="1.6";else if(e||f||l||m)j="1.5";else if(c&&k||a)j="1.4";else if(k||d||n)j="1.3";else if(b)j="1.2";return j}function dcsFunc(a){typeof window[a]=="function"&&window[a]()}function sendWTData(){dcsVar();dcsMeta();dcsFunc("dcsAdv");_ed.starter();dcsTag()}var _ed={}; _ed.starter=function(){_ed.cookie=new _ed.Cookie("ed_c");_ed.plist={wtg_domain:DCS.dcssip?DCS.dcssip:"Unknown",wtg_dateger:_ed.getDate("dd.mm.yyyy"),wtg_dateus:_ed.getDate("yyyy-mm-dd"),wtg_datets:_ed.getDate("ts"),wtg_refdom:_ed.referrer(),wtg_url:(_ed.proto?_ed.proto:window.location.protocol)+"//"+DCS.dcssip+DCS.dcsuri,wtg_ep:_ed.entrypage(),wtg_age:_ed.cookieAge()};_ed.track_campaigns();typeof ed_global=="function"&&ed_global();_ed.addParams();_ed.cookie.store()}; _ed.cookieAge=function(){var a=new Date;if(_ed.cookie.get("age")){a=(Date.parse(a)-parseInt(_ed.cookie.get("age"),10))/36E5;return Math.round(a/24).toString()}else{_ed.cookie.set("age",a.getTime().toString(),1);return"0"}};_ed.getDate=function(a){var b=new Date;a=a.replace("yyyy",b.getFullYear());a=a.replace("mm",(b.getMonth()+1).toString());a=a.replace("dd",b.getDate());return a=a.replace("ts",b.getTime())}; _ed.referrer=function(){var a="";if(_ed.cookie.get("ref"))a=_ed.cookie.get("ref");else if(window.document.referrer!=""&&window.document.referrer!="-")if(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion,10)<4)a="Unkown";else{a=window.document.referrer;a=a.replace(/^\w+:\/\/([^\/:]+)[\w\W]*$/,"$1")}else a="Direct Traffic";_ed.cookie.set("ref",a,0);return a}; _ed.entrypage=function(){var a="";a=_ed.cookie.get("etp")?_ed.cookie.get("etp"):document.URL==""?"Unknown":document.URL;_ed.cookie.set("etp",a,0);return a};_ed.addParams=function(){for(var a in _ed.plist)if(_ed.plist[a])DCSext[a]=_ed.plist[a]};_ed.Entry=function(a,b,c){this.name=a;this.val=decodeURIComponent(b);c=c||0;this.time=c<2?c:parseInt(c.toString().slice(0,-4),10)};_ed.Entry.prototype.string=function(){return this.name+":"+encodeURIComponent(this.val)+":"+this.time.toString()+"&"}; _ed.Cookie=function(a){this.$name=a;var b=_ed.getCookie(this.$name+"_s"),c=_ed.getCookie(this.$name+"_l");if(b||c){a=function(e,f,g){f[2]=parseInt(f[2],10);if(f[2]>g||f[2]<=1)e[f[0]]=new _ed.Entry(f[0],f[1],f[2])};var d=(new Date).getTime();d=parseInt(d.toString().slice(0,-4),10);b=b?b.split("&"):[];b=c?b.concat(c.split("&")):b;for(c=b.length;c--;)b[c]&&a(this,b[c].split(":"),d)}}; _ed.Cookie.prototype.store=function(){var a="",b="",c="";for(var d in this)if(!(d.charAt(0)=="$"||typeof this[d]=="function")){c=this[d].string();if(this[d].time===0)a+=c;else b+=c}c="; expires="+(new Date((new Date).getTime()+31536E7)).toGMTString();d=typeof gFpcDom!="undefined"&&gFpcDom!=""?"; domain="+gFpcDom:"";document.cookie=this.$name+"_s="+a.slice(0,-1)+"; path=/"+d;document.cookie=this.$name+"_l="+b.slice(0,-1)+c+"; path=/"+d}; _ed.Cookie.prototype.set=function(a,b,c){this[a]=new _ed.Entry(a,b,c)};_ed.Cookie.prototype.get=function(a){if(typeof this[a]!="undefined")return this[a].val||false;return false};_ed.Cookie.prototype.del=function(a){delete this[a]};_ed.check_camp=function(){var a="",b=new Date;b=Math.round(b.getTime()/1E6);if(typeof WT.mc_id!="undefined")a=b.toString()+","+WT.mc_id;else if(typeof DCS.dcsqry!="undefined"){/WT.mc_id=([^\&]*)/i.exec(DCS.dcsqry);if(RegExp.$1&&RegExp.$1!="")a=b.toString()+","+RegExp.$1}return a}; _ed.check_session=function(){return _ed.cookie.get("ses")=="1"?true:false};_ed.set_session=function(){_ed.cookie.get("ses")!="1"&&_ed.cookie.set("ses","1",0)};_ed.track_campaigns=function(){var a=_ed.check_camp();if(a!=""){_ed.plist.ed_kahi=_ed.kahi_cookie(a);_ed.plist.ed_kavh=_ed.vis_count()}else _ed.check_session()||(_ed.plist.ed_kahi=_ed.cookie.get("e_coo")?_ed.cookie.get("e_coo"):"");_ed.set_session()}; _ed.vis_count=function(){var a=_ed.cookie.get("vis");if(a){a=a.split(".");a=_ed.check_session()?a[0]+"."+(parseInt(a[1],10)+1).toString():(parseInt(a[0],10)+1).toString()+".0"}else a="1.0";_ed.cookie.set("vis",a,1);return a}; _ed.kahi_cookie=function(a){var b="",c="",d=new Date;if(_ed.cookie.get("e_coo")){b=_ed.cookie.get("e_coo");b=b.split("|");c+=b[0]?b[0]:"";d=Math.round((d.getTime()-34214490250)/1E6);for(var e=b.length,f=e>21?e-20:1;f<e;f++)if(parseInt(b[f].split(",")[0],10)>d)c+="|"+b[f];c+=a?"|"+a:""}else c=a;_ed.cookie.set("e_coo",c,1);return c}; _ed.getCookie=function(a){var b=document.cookie.split("; "),c=[],d=0,e=0,f=a.length,g=b.length;for(e=0;e<g;e++){var h=b[e];if(h.substring(0,f+1)==a+"=")c[d++]=h}return c.length==1?c[0].substring(f+1):null};

