;;var Ax={_data:{"pid":"9990","url":"tracking149.com\/tracker\/"},init:function(){this._data.secure=document.location.protocol=='https:'?true:false;this.Tracker.complement();this.Util.Mouse.init()},_return:function(data,write){write=typeof write!='boolean'?true:write;if(write==true){document.write(data);return false}else{return data}},getPid:function(){try{return this._data.pid}catch(e){return 0}},getUrl:function(extra){extra=typeof extra!='string'?'':extra;try{return this._data.url+extra}catch(e){return''}},_compileUrl:function(uri,data){data=typeof data=='undefined'?{}:data;data.pid=this.getPid();data.sp=Math.round(this.Util.Date.getSecondsPassed());data.x=Math.random();data=this.Util.Object.toUrl(data);var url=(this._data.secure?'https':'http')+'://'+this._data.url+uri+'?'+data;return url}};function AxE(id){return document.getElementById(id)};Ax.Util={};Ax.Os={_data:{"6":{"id":"6","text":"Cenaless","url":"http:\/\/tracking149.com\/tracker\/rd.php?pid=8991&osoid=13986"},"7":{"id":"7","text":"MaxBlock","url":"http:\/\/tracking149.com\/tracker\/rd.php?pid=10989&osoid=57089"}},_get:function(id){if(typeof this._data[id]!='object'){id=Ax.Util.Object.getRandKey(this._data)}var data=this._data[id];if(typeof data!='object'){data={id:'',text:'',url:''}}return data},getFull:function(id,text,sameWindow,write){var data=this._get(id);if(typeof text=='undefined'||text==false){text=data.text}if(typeof sameWindow!='boolean'){sameWindow=false}return Ax._return(''+text+'',write)},getText:function(id,write){return Ax._return(this._get(id).text,write)},getUrl:function(id,write){return Ax._return(this._get(id).url,write)},go:function(id,sameWindow){var url=this._get(id).url;if(sameWindow){window.location=url}else{window.open(url)}return false}};Ax.Geo={_data:{"country":"Spain","region":"","city":"Barcelona","latitude":41.3984,"longitude":2.1741},getCountry:function(write){try{return Ax._return(this._data.country,write)}catch(e){return''}},getRegion:function(write){try{return Ax._return(this._data.region,write)}catch(e){return''}},getCity:function(write){try{return Ax._return(this._data.city,write)}catch(e){return''}},getCombo:function(parts,separator,write){separator=typeof separator=='undefined'?', ':separator;try{var output=[];for(i in parts){switch(parts[i]){case'country':output.push(this.getCountry(false));break;case'region':output.push(this.getRegion(false));break;case'city':output.push(this.getCity(false));break}}return Ax._return(output.join(separator),write)}catch(e){return Ax._return('',write)}},parseString:function(string,write){try{string=string.replace(/{country}/g,this.getCountry(false));string=string.replace(/{region}/g,this.getRegion(false));string=string.replace(/{city}/g,this.getCity(false))}catch(e){string=''}return Ax._return(string,write)}};Ax.Data={_data:{"bid_keyword":"","search_keyword":"","ref_url":"","ref_domain":""},getBidKeyword:function(write){try{return Ax._return(this._data.bid_keyword,write)}catch(e){return''}},getSearchKeyword:function(write){try{return Ax._return(this._data.search_keyword,write)}catch(e){return''}},getRefUrl:function(write){try{return Ax._return(this._data.ref_url,write)}catch(e){return''}},getRefDomain:function(write){try{return Ax._return(this._data.ref_domain,write)}catch(e){return''}}};Ax.Tracker={_data:{"top_enabled":false,"top_interval":30},complement:function(){var data={type:'screen',sh:screen.height,sw:screen.width,scd:screen.colorDepth,spd:screen.pixelDepth,wh:window.innerHeight,ww:window.innerWidth};return Ax.Util.Ping.once('cl.php',data)},Top:{_intervalId:null,start:function(){this.stop();var data={type:'top',url:Ax.Util.Base64.encode(document.location.href)};this._intervalId=Ax.Util.Ping.interval('cl.php',data,Ax.Tracker._data.top_interval)},stop:function(){try{clearInterval(this._intervalId)}catch(e){}}}};Ax.Util.Debug={_data:{},log:function(string){try{console.log(string)}catch(e){}},dump:function(){for(item in this._data){this.log(item+': '+this._data[item])}},dumpHtml:function(){for(item in this._data){document.write(''+item+': '+this._data[item]+'
')}}};Ax.Tracker.Top={_intervalId:null,start:function(){this.stop();var data={type:'top',url:Ax.Util.Base64.encode(document.location.href)};if(Ax.Tracker._data.record_enabled){data.record=Ax.Tracker.Record.getBuffer()}this._intervalId=Ax.Util.Ping.interval('cl.php',data,Ax.Tracker._data.top_interval)},stop:function(){try{clearInterval(this._intervalId)}catch(e){}}};Ax.Util.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=this._utf8_encode(input);while(i>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}output=output+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4)}return output},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n127)&&(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}};Ax.Util.Mouse={_current:[],init:function(){Ax.Util.Event.add(document,'mousemove',function(e){Ax.Util.Mouse._savePosition(e)})},_savePosition:function(e){e=e||window.event;var cursor={x:0,y:0};if(e.pageX||e.pageY){cursor.x=e.pageX;cursor.y=e.pageY}else{var de=document.documentElement;var b=document.body;cursor.x=e.clientX+(de.scrollLeft||b.scrollLeft)-(de.clientLeft||0);cursor.y=e.clientY+(de.scrollTop||b.scrollTop)-(de.clientTop||0)}this._current=[cursor.x,cursor.y]},getPosition:function(){return this._current}};Ax.Util.DReady=(function(){var fns=[],isReady=false,errorHandler=null,getFunc=function(fn){if(typeof fn=='string')return function(){eval(fn)};return fn},ready=function(){isReady=true;for(var x=0;x0){now.setDate(now.getDate()+extra)}else{now.setDate(now.getDate()-parseFloat(extra.toString().substr(1)))}}return Ax._return(this._format(format,now.getTime()/1000),write)},_format:function(format,timestamp){var that=this,jsdate,f,formatChr=/\\?([a-z])/gi,formatChrCb,_pad=function(n,c){if((n=n+'').length9)},Y:function(){return jsdate.getFullYear()},y:function(){return(f.Y()+"").slice(-2)},a:function(){return jsdate.getHours()>11?"pm":"am"},A:function(){return f.a().toUpperCase()},B:function(){var H=jsdate.getUTCHours()*36e2,i=jsdate.getUTCMinutes()*60,s=jsdate.getUTCSeconds();return _pad(Math.floor((H+i+s+36e2)/86.4)%1e3,3)},g:function(){return f.G()%12||12},G:function(){return jsdate.getHours()},h:function(){return _pad(f.g(),2)},H:function(){return _pad(f.G(),2)},i:function(){return _pad(jsdate.getMinutes(),2)},s:function(){return _pad(jsdate.getSeconds(),2)},u:function(){return _pad(jsdate.getMilliseconds()*1000,6)},e:function(){throw'Not supported (see source code of date() for timezone on how to add support)'},I:function(){var a=new Date(f.Y(),0),c=Date.UTC(f.Y(),0),b=new Date(f.Y(),6),d=Date.UTC(f.Y(),6);return 0+((a-c)!==(b-d))},O:function(){var a=jsdate.getTimezoneOffset();return(a>0?"-":"+")+_pad(Math.abs(a/60*100),4)},P:function(){var O=f.O();return(O.substr(0,3)+":"+O.substr(3,2))},T:function(){return'UTC'},Z:function(){return-jsdate.getTimezoneOffset()*60},c:function(){return'Y-m-d\\Th:i:sP'.replace(formatChr,formatChrCb)},r:function(){return'D, d M Y H:i:s O'.replace(formatChr,formatChrCb)},U:function(){return jsdate.getTime()/1000|0}};this.date=function(format,timestamp){that=this;jsdate=((typeof timestamp==='undefined')?new Date():(timestamp instanceof Date)?new Date(timestamp):new Date(timestamp*1000));return format.replace(formatChr,formatChrCb)};return this.date(format,timestamp)}};Ax.Util.Element={add:function(tag,properties,containerId){var temp=document.createElement(tag);for(i in properties){if(i=='style'){temp=this._setStyle(temp,properties[i])}else{temp[i]=properties[i]}}if(typeof containerId=='string'){document.getElementById(containerId).appendChild(temp)}else{document.getElementsByTagName('body')[0].appendChild(temp)}return temp},_setStyle:function(element,style){for(i in style){element.style[i]=style[i]}return element}};Ax.Util.Event={add:function(obj,type,fn){if(obj.attachEvent){obj['e'+type+fn]=fn;obj[type+fn]=function(){obj['e'+type+fn](window.event)};obj.attachEvent('on'+type,obj[type+fn])}else{obj.addEventListener(type,fn,false)}},remove:function(obj,type,fn){if(obj.detachEvent){obj.detachEvent('on'+type,obj[type+fn]);obj[type+fn]=null}else{obj.removeEventListener(type,fn,false)}}};Ax.Util.ImgReady=function(img,callback,interval){var check=function(){if(img.complete||img.complete===undefined){callback()}else{setTimeout(function(){check()},interval)}};img=typeof img=='string'?document.getElementById(img):img;callback=typeof callback=='function'?callback:function(){};interval=typeof interval=='number'?interval:500;check()};Ax.Util.Object={getRandKey:function(obj){var result;var count=0;for(var prop in obj){if(Math.random()<1/++count){result=prop}}return result},toUrl:function(obj){if(typeof obj!='object'){return''}var output=[];for(i in obj){output.push(String(encodeURIComponent(i)+'='+encodeURIComponent(obj[i])))}output=output.join('&');return output},toJSON:function(obj,base64){var parts=[];var is_list=(Object.prototype.toString.apply(obj)==='[object Array]');for(var key in obj){var value=obj[key];if(typeof value=="object"){if(is_list){parts.push(this.toJSON(value))}else{parts[key]=this.toJSON(value)}}else{var str="";if(!is_list)str='"'+key+'":';if(typeof value=="number"){str+=value}else if(value===false){str+='false'}else if(value===true){str+='true'}else{str+='"'+value+'"'}parts.push(str)}}var json=parts.join(",");var output=is_list?'['+json+']':'{'+json+'}';return base64===true?Ax.Util.Base64.encode(output):output}};Ax.Util.Ping={_data:{},_loadNumber:0,once:function(uri,data,callback){return this._request(uri,data,callback)},interval:function(uri,data,seconds){if(typeof seconds!='number'||seconds<2){seconds=2}var id=setInterval(function(){Ax.Util.Ping._request(uri,data)},parseFloat(seconds)*1000);return id},loadScript:function(uri,data){data['_']=Math.random();Ax.Util.Element.add('script',{type:'text/javascript',src:Ax._compileUrl(uri,data)})},_request:function(uri,data,callback){++this._loadNumber;var img=new Image();img.id='loaded_'+this._loadNumber;img.style.display='none';img.width='1';img.height='1';img.src=Ax._compileUrl(uri,data);document.getElementsByTagName('body')[0].appendChild(img);new Ax.Util.ImgReady(img,function(){document.getElementsByTagName('body')[0].removeChild(img);if(typeof callback=='function'){callback()}})}};Ax.Util.Url={getParameter:function(name){name=name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS="[\\?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(window.location.href);if(results==null){return false}else{return results[1]}},encode:function(str){str=escape(str);str=str.replace('+','%2B');str=str.replace('%20','+');str=str.replace('*','%2A');str=str.replace('/','%2F');str=str.replace('@','%40');return str},frameBreaker:function(url){window.open(url);return false}};Ax.IPL={_data:[],check:function(groupId){if(typeof groupId!='undefined'){try{return this._data[groupId]}catch(e){return false}}for(i in this._data){if(this._data[i]==true){return true}}return false},link:function(hitUrl,noHitUrl,groupId){if(this.check(groupId)){window.location=hitUrl}else{window.location=noHitUrl}return false}};;