function WebTrends(){var a=this;this.dcsid="dcstli8cu1000043dvoxfytg4_9l3x";this.domain="reports.bezeq.co.il";this.timezone=2;this.fpcdom=".bezeq.co.il";this.onsitedoms="";this.downloadtypes="xls,doc,pdf,txt,csv,zip";this.navigationtag="div,table";this.adclickparam="WT.ad";this.trackevents=true;this.trimoffsiteparams=true;this.enabled=true;this.i18n=false;this.fpc="WT_FPC";this.paidsearchparams="gclid";this.DCS={};this.WT={};this.DCSext={};this.images=[];this.index=0;this.exre=(function(){return(window.RegExp?new RegExp("dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)","i"):"");})();this.re=(function(){return(window.RegExp?(a.i18n?{"%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}):"");})();}WebTrends.prototype.dcsGetId=function(){if(this.enabled&&(document.cookie.indexOf(this.fpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){document.write("<script type='text/javascript' src='http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+"/"+this.dcsid+"/wtid.js'></script>");}};WebTrends.prototype.dcsGetCookie=function(k){var l=document.cookie.split("; ");var a=[];var m=0;var b=0;var d=k.length;var g=l.length;for(b=0;b<g;b++){var h=l[b];if((h.substring(0,d+1))==(k+"=")){a[m++]=h;}}var e=a.length;if(e>0){m=0;if((e>1)&&(k==this.fpc)){var j=new Date(0);for(b=0;b<e;b++){var n=parseInt(this.dcsGetCrumb(a[b],"lv"));var f=new Date(n);if(f>j){j.setTime(f.getTime());m=b;}}}return unescape(a[m].substring(d+1));}else{return null;}};WebTrends.prototype.dcsGetCrumb=function(f,c,a){var e=f.split(a||":");for(var b=0;b<e.length;b++){var d=e[b].split("=");if(c==d[0]){return d[1];}}return null;};WebTrends.prototype.dcsGetIdCrumb=function(e,a){var b=e.substring(0,e.indexOf(":lv="));var c=b.split("=");for(var d=0;d<c.length;d++){if(a==c[0]){return c[1];}}return null;};WebTrends.prototype.dcsIsFpcSet=function(f,a,e,d){var b=this.dcsGetCookie(f);if(b){return((a==this.dcsGetIdCrumb(b,"id"))&&(e==this.dcsGetCrumb(b,"lv"))&&(d==this.dcsGetCrumb(b,"ss")))?0:3;}return 2;};WebTrends.prototype.dcsFPC=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return;}var a=this.WT;var b=this.fpc;var q=new Date();var s=(q.getTimezoneOffset()*60000)+(this.timezone*3600000);q.setTime(q.getTime()+s);var d=new Date(q.getTime()+315360000000);var h=new Date(q.getTime());a.co_f=a.vtid=a.vtvs=a.vt_f=a.vt_f_a=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(document.cookie.indexOf(b+"=")==-1){if((typeof(gWtId)!="undefined")&&(gWtId!="")){a.co_f=gWtId;}else{if((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){a.co_f=gTempWtId;a.vt_f="1";}else{a.co_f="2";var l=q.getTime().toString();for(var k=2;k<=(32-l.length);k++){a.co_f+=Math.floor(Math.random()*16).toString(16);}a.co_f+=l;a.vt_f="1";}}if(typeof(gWtAccountRollup)=="undefined"){a.vt_f_a="1";}a.vt_f_s=a.vt_f_d="1";a.vt_f_tlh=a.vt_f_tlv="0";}else{var n=this.dcsGetCookie(b);var m=this.dcsGetIdCrumb(n,"id");var f=parseInt(this.dcsGetCrumb(n,"lv"));var g=parseInt(this.dcsGetCrumb(n,"ss"));if((m==null)||(m=="null")||isNaN(f)||isNaN(g)){return;}a.co_f=m;var p=new Date(f);a.vt_f_tlh=Math.floor((p.getTime()-s)/1000);h.setTime(g);if((q.getTime()>(p.getTime()+1800000))||(q.getTime()>(h.getTime()+28800000))){a.vt_f_tlv=Math.floor((h.getTime()-s)/1000);h.setTime(q.getTime());a.vt_f_s="1";}if((q.getDay()!=p.getDay())||(q.getMonth()!=p.getMonth())||(q.getYear()!=p.getYear())){a.vt_f_d="1";}}a.co_f=escape(a.co_f);a.vtid=(typeof(this.vtid)=="undefined")?a.co_f:(this.vtid||"");a.vtvs=(h.getTime()-s).toString();var j="; expires="+d.toGMTString();var r=q.getTime().toString();var o=h.getTime().toString();document.cookie=b+"=id="+a.co_f+":lv="+r+":ss="+o+j+"; path=/"+(((this.fpcdom!=""))?("; domain="+this.fpcdom):(""));var e=this.dcsIsFpcSet(b,a.co_f,r,o);if(e!=0){a.co_f=a.vtvs=a.vt_f_s=a.vt_f_d=a.vt_f_tlh=a.vt_f_tlv="";if(typeof(this.vtid)=="undefined"){a.vtid="";}a.vt_f=a.vt_f_a=e;}};WebTrends.prototype.dcsAdSearch=function(){if(document.links){var k=this.adclickparam+"=";var a=k.length;var j=new RegExp(k,"i");var e=document.links.length;var c=end=-1;var g=urlp=value="";var h;var d=document.URL+"";var f=d.search(j);if(f!=-1){end=d.indexOf("&",f);urlp=d.substring(f,(end!=-1)?end:d.length);h=new RegExp(urlp+"(&|#)","i");}for(var b=0;b<e;b++){if(document.links[b].href){g=document.links[b].href+"";if(urlp.length>0){g=g.replace(h,"$1");}c=g.search(j);if(c!=-1){f=c+a;end=g.indexOf("&",f);value=g.substring(f,(end!=-1)?end:g.length);this.WT.ad=this.WT.ad?(this.WT.ad+";"+value):value;}}}}};WebTrends.prototype.dcsIsOnsite=function(c){if(c.length>0){c=c.toLowerCase();if(c==window.location.hostname.toLowerCase()){return true;}if(typeof(this.onsitedoms.test)=="function"){return this.onsitedoms.test(c);}else{if(this.onsitedoms.length>0){var d=this.dcsSplit(this.onsitedoms);var b=d.length;for(var a=0;a<b;a++){if(c==d[a]){return true;}}}}}return false;};WebTrends.prototype.dcsTypeMatch=function(f,b){var c=f.toLowerCase().substring(f.lastIndexOf(".")+1,f.length);var d=this.dcsSplit(b);var e=d.length;for(var a=0;a<e;a++){if(c==d[a]){return true;}}return false;};WebTrends.prototype.dcsEvt=function(c,a){var b=c.target||c.srcElement;while(b.tagName&&(b.tagName.toLowerCase()!=a.toLowerCase())){b=b.parentElement||b.parentNode;}return b;};WebTrends.prototype.dcsNavigation=function(d){var c="";var j="";var g=this.dcsSplit(this.navigationtag);var f=g.length;var a,h,b;for(a=0;a<f;a++){b=g[a];if(b.length){h=this.dcsEvt(d,b);c=(h.getAttribute&&h.getAttribute("id"))?h.getAttribute("id"):"";j=h.className||"";if(c.length||j.length){break;}}}return c.length?c:j;};WebTrends.prototype.dcsBind=function(b,a){if((typeof(a)=="function")&&document.body){if(document.body.addEventListener){document.body.addEventListener(b,a.wtbind(this),true);}else{if(document.body.attachEvent){document.body.attachEvent("on"+b,a.wtbind(this));}}}};WebTrends.prototype.dcsET=function(){var a=(navigator.appVersion.indexOf("MSIE")!=-1)?"click":"mousedown";this.dcsBind(a,this.dcsDownload);this.dcsBind(a,this.dcsMailTo);this.dcsBind(a,this.dcsOffsite);this.dcsBind("contextmenu",this.dcsRightClick);};WebTrends.prototype.dcsMultiTrack=function(){var b=dcsMultiTrack.arguments?dcsMultiTrack.arguments:arguments;if(b.length%2==0){this.dcsSetProps(b);var a=new Date();this.DCS.dcsdat=a.getTime();this.dcsFPC();this.dcsTag();}};WebTrends.prototype.dcsCleanUp=function(){this.DCS={};this.WT={};this.DCSext={};if(arguments.length%2==0){this.dcsSetProps(arguments);}};WebTrends.prototype.dcsSetProps=function(b){for(var a=0;a<b.length;a+=2){if(b[a].indexOf("WT.")==0){this.WT[b[a].substring(3)]=b[a+1];}else{if(b[a].indexOf("DCS.")==0){this.DCS[b[a].substring(4)]=b[a+1];}else{if(b[a].indexOf("DCSext.")==0){this.DCSext[b[a].substring(7)]=b[a+1];}}}}};WebTrends.prototype.dcsSplit=function(b){var c=b.toLowerCase().split(",");var a=c.length;for(var d=0;d<a;d++){c[d]=c[d].replace(/^\s*/,"").replace(/\s*$/,"");}return c;};WebTrends.prototype.dcsDownload=function(f){f=f||(window.event||"");if(f&&((typeof(f.which)!="number")||(f.which==1))){var g=this.dcsEvt(f,"A");if(g.href){var a=g.hostname?(g.hostname.split(":")[0]):"";if(this.dcsIsOnsite(a)&&this.dcsTypeMatch(g.pathname,this.downloadtypes)){var b=g.search?g.search.substring(g.search.indexOf("?")+1,g.search.length):"";var i=g.pathname?((g.pathname.indexOf("/")!=0)?"/"+g.pathname:g.pathname):"/";var d="";var h=document.all?g.innerText:g.text;var c=this.dcsEvt(f,"IMG");if(c.alt){d=c.alt;}else{if(h){d=h;}else{if(g.innerHTML){d=g.innerHTML;}}}this.dcsMultiTrack("DCS.dcssip",a,"DCS.dcsuri",i,"DCS.dcsqry",g.search||"","WT.ti","Download:"+d,"WT.dl","20","WT.nv",this.dcsNavigation(f));this.DCS.dcssip=this.DCS.dcsuri=this.DCS.dcsqry=this.WT.ti=this.WT.dl=this.WT.nv="";}}}};WebTrends.prototype.dcsRightClick=function(f){f=f||(window.event||"");if(f){var b=f.which||f.button;if((b!=1)||(navigator.userAgent.indexOf("Safari")!=-1)){var d=this.dcsEvt(f,"A");if((typeof(d.href)!="undefined")&&d.href){if((typeof(d.protocol)!="undefined")&&d.protocol&&(d.protocol.indexOf("http")!=-1)){if((typeof(d.pathname)!="undefined")&&this.dcsTypeMatch(d.pathname,this.downloadtypes)){var c=d.pathname?((d.pathname.indexOf("/")!=0)?"/"+d.pathname:d.pathname):"/";var a=d.hostname?(d.hostname.split(":")[0]):"";this.dcsMultiTrack("DCS.dcssip",a,"DCS.dcsuri",c,"DCS.dcsqry","","WT.ti","RightClick:"+c,"WT.dl","25");this.DCS.dcssip=this.DCS.dcsuri=this.WT.ti=this.WT.dl=this.WT.nv="";}}}}}};WebTrends.prototype.dcsMailTo=function(c){c=c||(window.event||"");if(c&&((typeof(c.which)!="number")||(c.which==1))){var b=this.dcsEvt(c,"A");if(b.href&&b.protocol){var a=b.search?b.search.substring(b.search.indexOf("?")+1,b.search.length):"";if(b.protocol.toLowerCase()=="mailto:"){this.dcsMultiTrack("DCS.dcssip","","DCS.dcsuri",b.href,"WT.ti","MailTo:"+b.innerHTML,"WT.dl","23","WT.nv",this.dcsNavigation(c));this.DCS.dcssip=this.DCS.dcsuri=this.WT.ti=this.WT.dl=this.WT.nv="";}}}};WebTrends.prototype.dcsOffsite=function(c){c=c||(window.event||"");if(c&&((typeof(c.which)!="number")||(c.which==1))){var d=this.dcsEvt(c,"A");if(d.href){var a=d.hostname?(d.hostname.split(":")[0]):"";var f=d.protocol||"";if((a.length>0)&&(f.indexOf("http")==0)&&!this.dcsIsOnsite(a)){var b=d.search?d.search.substring(d.search.indexOf("?")+1,d.search.length):"";var g=d.pathname?((d.pathname.indexOf("/")!=0)?"/"+d.pathname:d.pathname):"/";this.dcsMultiTrack("DCS.dcssip",a,"DCS.dcsuri",g,"DCS.dcsqry",this.trimoffsiteparams?"":b,"DCS.dcsref",window.location,"WT.ti","Offsite:"+a+g+"?"+b,"WT.dl","24","WT.nv",this.dcsNavigation(c));this.DCS.dcssip=this.DCS.dcsuri=this.DCS.dcsqry=this.DCS.dcsref=this.WT.ti=this.WT.dl=this.WT.nv="";}}}};WebTrends.prototype.dcsAdv=function(){if(this.trackevents&&(typeof(this.dcsET)=="function")){if(window.addEventListener){window.addEventListener("load",this.dcsET.wtbind(this),false);}else{if(window.attachEvent){window.attachEvent("onload",this.dcsET.wtbind(this));}}}this.dcsFPC();this.dcsAdSearch();};WebTrends.prototype.dcsVar=function(){var h=new Date();var f=this.WT;var a=this.DCS;f.tz=parseInt(h.getTimezoneOffset()/60*-1)||"0";f.bh=h.getHours()||"0";f.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;if(typeof(screen)=="object"){f.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;f.sr=screen.width+"x"+screen.height;}if(typeof(navigator.javaEnabled())=="boolean"){f.jo=navigator.javaEnabled()?"Yes":"No";}if(document.title){if(window.RegExp){var d=new RegExp("^"+window.location.protocol+"//"+window.location.hostname+"\\s-\\s");f.ti=document.title.replace(d,"");}else{f.ti=document.title;}}f.js="Yes";f.jv=(function(){var u=navigator.userAgent.toLowerCase();var z=parseInt(navigator.appVersion);var t=(u.indexOf("mac")!=-1);var s=(u.indexOf("firefox")!=-1);var p=(u.indexOf("firefox/0.")!=-1);var y=(u.indexOf("firefox/1.0")!=-1);var A=(u.indexOf("firefox/1.5")!=-1);var l=(u.indexOf("firefox/2.0")!=-1);var v=(s&&!p&&!y&!A&!l);var o=(!s&&(u.indexOf("mozilla")!=-1)&&(u.indexOf("compatible")==-1));var q=(o&&(z==4));var i=(o&&(z>=5));var w=((u.indexOf("msie")!=-1)&&(u.indexOf("opera")==-1));var e=(w&&(z==4)&&(u.indexOf("msie 4")!=-1));var k=(w&&!e);var B=(u.indexOf("opera")!=-1);var r=(u.indexOf("opera 5")!=-1||u.indexOf("opera/5")!=-1);var x=(u.indexOf("opera 6")!=-1||u.indexOf("opera/6")!=-1);var n=(B&&!r&&!x);var m="1.1";if(v){m="1.8";}else{if(l){m="1.7";}else{if(A){m="1.6";}else{if(p||y||i||n){m="1.5";}else{if((t&&k)||x){m="1.4";}else{if(k||q||r){m="1.3";}else{if(e){m="1.2";}}}}}}}return m;})();f.ct="unknown";if(document.body&&document.body.addBehavior){try{document.body.addBehavior("#default#clientCaps");f.ct=document.body.connectionType||"unknown";document.body.addBehavior("#default#homePage");f.hp=document.body.isHomePage(location.href)?"1":"0";}catch(j){}}if(document.all){f.bs=document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown";}else{f.bs=window.innerWidth+"x"+window.innerHeight;}f.fv=(function(){var l,k;if(window.ActiveXObject){for(l=10;l>0;l--){try{k=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+l);return l+".0";}catch(m){}}}else{if(navigator.plugins&&navigator.plugins.length){for(l=0;l<navigator.plugins.length;l++){if(navigator.plugins[l].name.indexOf("Shockwave Flash")!=-1){return navigator.plugins[l].description.split(" ")[2];}}}}return"Not enabled";})();f.slv=(function(){var m="Not enabled";try{if(navigator.userAgent.indexOf("MSIE")!=-1){var n=new ActiveXObject("AgControl.AgControl");if(n){m="Unknown";}}else{if(navigator.plugins["Silverlight Plug-In"]){m="Unknown";}}}catch(o){}if(m!="Not enabled"){var k,l,p;if((typeof(Silverlight)=="object")&&(typeof(Silverlight.isInstalled)=="function")){for(k=3;k>0;k--){for(l=9;l>=0;l--){p=k+"."+l;if(Silverlight.isInstalled(p)){m=p;break;}}if(m==p){break;}}}}return m;})();if(this.i18n){if(typeof(document.defaultCharset)=="string"){f.le=document.defaultCharset;}else{if(typeof(document.characterSet)=="string"){f.le=document.characterSet;}else{f.le="unknown";}}}f.tv="8.6.2";f.dl="0";f.ssl=(window.location.protocol.indexOf("https:")==0)?"1":"0";a.dcsdat=h.getTime();a.dcssip=window.location.hostname;a.dcsuri=window.location.pathname;f.es=a.dcssip+a.dcsuri;if(window.location.search){a.dcsqry=window.location.search;}if(a.dcsqry){var b=a.dcsqry.toLowerCase();var g=this.paidsearchparams.length?this.paidsearchparams.toLowerCase().split(","):[];for(var c=0;c<g.length;c++){if(b.indexOf(g[c]+"=")!=-1){f.srch="1";break;}}}if((window.document.referrer!="")&&(window.document.referrer!="-")){if(!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){a.dcsref=window.document.referrer;}}};WebTrends.prototype.dcsEscape=function(c,b){if(b!=""){c=c.toString();for(var a in b){if(b[a] instanceof RegExp){c=c.replace(b[a],a);}}return c;}else{return escape(c);}};WebTrends.prototype.dcsA=function(f,j){if(this.i18n&&(this.exre!="")&&!this.exre.test(f)){if(f=="dcsqry"){var a="";var c=j.substring(1).split("&");for(var b=0;b<c.length;b++){var h=c[b];var d=h.indexOf("=");if(d!=-1){var g=h.substring(0,d);var e=h.substring(d+1);if(b!=0){a+="&";}a+=g+"="+this.dcsEncode(e);}}j=j.substring(0,1)+a;}else{j=this.dcsEncode(j);}}return"&"+f+"="+this.dcsEscape(j,this.re);};WebTrends.prototype.dcsEncode=function(a){return(typeof(encodeURIComponent)=="function")?encodeURIComponent(a):escape(a);};WebTrends.prototype.dcsCreateImage=function(a){if(document.images){this.images[this.index]=new Image();this.images[this.index].src=a;this.index++;}else{document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+a+'">');}};WebTrends.prototype.dcsMeta=function(){var c;if(document.all){c=document.all.tags("meta");}else{if(document.documentElement){c=document.getElementsByTagName("meta");}}if(typeof(c)!="undefined"){var d=c.length;for(var b=0;b<d;b++){var f=c.item(b).name;var e=c.item(b).content;var a=c.item(b).httpEquiv;if(f.length>0){if(f.toUpperCase().indexOf("WT.")==0){this.WT[f.substring(3)]=e;}else{if(f.toUpperCase().indexOf("DCSEXT.")==0){this.DCSext[f.substring(7)]=e;}else{if(f.toUpperCase().indexOf("DCS.")==0){this.DCS[f.substring(4)]=e;}}}}}}};WebTrends.prototype.dcsTag=function(){if(document.cookie.indexOf("WTLOPTOUT=")!=-1){return;}var g=this.WT;var a=this.DCS;var c=this.DCSext;var d=this.i18n;var h="http"+(window.location.protocol.indexOf("https:")==0?"s":"")+"://"+this.domain+(this.dcsid==""?"":"/"+this.dcsid)+"/dcs.gif?";if(d){g.dep="";}for(var f in a){if(a[f]&&(typeof a[f]!="function")){h+=this.dcsA(f,a[f]);}}var e=["co_f","vtid","vtvs","vt_f_tlv"];for(var b=0;b<e.length;b++){var j=e[b];if(g[j]){h+=this.dcsA("WT."+j,g[j]);delete g[j];}}for(f in g){if(g[f]&&(typeof g[f]!="function")){h+=this.dcsA("WT."+f,g[f]);}}for(f in c){if(c[f]&&(typeof c[f]!="function")){if(d){g.dep=(g.dep.length==0)?f:(g.dep+";"+f);}h+=this.dcsA(f,c[f]);}}if(d&&(g.dep.length>0)){h+=this.dcsA("WT.dep",g.dep);}if(h.length>2048&&navigator.userAgent.indexOf("MSIE")>=0){h=h.substring(0,2040)+"&WT.tu=1";}this.dcsCreateImage(h);this.WT.ad="";};WebTrends.prototype.dcsDebug=function(){var c=this;var b=c.images[0].src;var a=b.indexOf("?");var e=b.substring(0,a).split("/");var d="<b>Protocol</b><br><code>"+e[0]+"<br></code>";d+="<b>Domain</b><br><code>"+e[2]+"<br></code>";d+="<b>Path</b><br><code>/"+e[3]+"/"+e[4]+"<br></code>";d+="<b>Query Params</b><code>"+b.substring(a+1).replace(/\&/g,"<br>")+"</code>";d+="<br><b>Cookies</b><br><code>"+document.cookie.replace(/\;/g,"<br>")+"</code>";if(c.w&&!c.w.closed){c.w.close();}c.w=window.open("","dcsDebug","width=500,height=650,scrollbars=yes,resizable=yes");c.w.document.write(d);c.w.focus();};WebTrends.prototype.dcsCollect=function(){if(this.enabled){this.dcsVar();this.dcsMeta();this.dcsAdv();this.dcsTag();}};function dcsMultiTrack(){if(typeof(_tag)!="undefined"){return(_tag.dcsMultiTrack());}}function dcsDebug(){if(typeof(_tag)!="undefined"){return(_tag.dcsDebug());}}Function.prototype.wtbind=function(b){var a=this;var c=function(){return a.apply(b,arguments);};return c;};
