function importantPageData(){this.sServer="";this.referrer="";this.referrer2="";this.refNumber=0;this.searchStr="";this.dataStr="";this.onMyOwn=false;this.url=document.URL;this.http_user_agent=navigator.userAgent;this.canCookie=navigator.cookieEnabled;this.onLine=navigator.onLine;this.screen_h=screen.height;this.screen_w=screen.width;this.historyStr='';this.getUrlParam=function(rp,rn,def){var arp=rp.split('=');if(arp[0]==rn)return arp[1];return def;},this.getKnownParam=function(rp,rn){var arp=rp.split('=');if(rn==0){if(arp[0]==this.urlField)this.searchStr=unescape(arp[1]);}else if(rn==1){if(arp[0]=='q')this.searchStr=Utf8.decode(unescape(arp[1]));}else if(rn==2){if(arp[0]=='s')this.searchStr=unescape(arp[1]);}else if(rn==3){if(arp[0]=='q')this.searchStr=unescape(arp[1]);}else if(rn==4){if(arp[0]=='p')this.searchStr=Utf8.decode(unescape(arp[1]));}else if(rn==5){if(arp[0]=='q')this.searchStr=Utf8.decode(unescape(arp[1]));}else if(rn==401){if(arp[0]=='q')this.searchStr=Utf8.decode(unescape(arp[1]));}},this.getKnownParams=function(rf,rn){var arf=rf.split('?');if(arf.length<2)return false;var arp=arf[1].split('&');for(var i=0;i0)this.recognizeReferrer(unescape(aDs[0]));if(aDs.length>1)this.http_user_agent=unescape(aDs[1]);if(aDs.length>2)this.remote_addr=unescape(aDs[2]);if(aDs.length>3)this.historyStr=unescape(aDs[3]);},this.rememberData=function(){var CH=new CookieHandler();if(this.searchStr!=''){this.mergeData();CH.setCookie('impada',this.dataStr,1800);}else{this.dataStr=CH.getCookie('impada');if(this.dataStr==null)this.dataStr='';this.parseData();}},this.rememberSearchStr=function(){var CH=new CookieHandler();if(this.searchStr!=''){CH.setCookie('searchstr',this.searchStr,1800);}else{this.searchStr=CH.getCookie('searchstr');if(this.searchStr==null)this.searchStr='';}},this.checkReferrerFulltext=function(r){this.recognizeReferrer(r);this.rememberData();return this.getSearchStr();},this.checkReferrerFulltextUrl=function(r){this.recognizeReferrer(r);this.rememberData();return this.getFullRefStr();},this.getUrlField=function(fld){if(typeof(this.url)=='undefined')return false;if(typeof(fld)=='undefined')return false;if(fld=='')return false;this.urlField=fld;this.getKnownParams(this.url,0);return this.getSearchStr();},this.getValFrom=function(elId){var mysel=document.getElementById(elId);if(!mysel)return '';if(typeof(mysel)=='undefined')return '';if(mysel==undefined)return '';var rezlt='';if(mysel.tagName=='A'){rezlt=mysel.innerHTML;}else if(mysel.tagName=='SPAN'){rezlt=mysel.innerHTML;}else if(mysel.tagName=='DIV'){rezlt=mysel.innerHTML;}else if(mysel.tagName=='TD'){rezlt=mysel.innerHTML;}else if(mysel.type=='select'){rezlt=mysel.options[mysel.selectedIndex].value;}else if(mysel.type=='radio'){rezlt=mysel.checked;}else if(mysel.type=='checkbox'){rezlt=mysel.checked;}else{rezlt=mysel.value;}return rezlt;}}function etaMeta(){ this.getKeywMetaStr=function(){var keywords='';if(document.getElementsByTagName){var ameta=document.getElementsByTagName('meta');for(var i=0;i8)l=8;for(var i=0;i127)&&(c<2048)){u=u+String.fromCharCode((c>>6)|192);u=u+String.fromCharCode((c&63)|128);}else{u=u+String.fromCharCode((c>>12)|224);u=u+String.fromCharCode(((c>>6)&63)|128);u=u+String.fromCharCode((c&63)|128);}}return u;},decode:function(u){var s="";var i=0;var c=c1=c2=0;while(i191)&&(c<224)){c2=u.charCodeAt(i+1);s=s+String.fromCharCode(((c&31)<<6)|(c2&63));i=i+2;}else{c2=u.charCodeAt(i+1);c3=u.charCodeAt(i+2);s=s+String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i=i+3;}}return s;}};function Etarget(options){this.options=new Object();this.src='';this.id='';this.fulltextField='';this.fulltextElement='';this.usereferrer=false;this.country='';this.host='';this.emptyDocument=false;this.setCountry=function(country){this.country=country;},this.setHost=function(host){this.host=host;},this.setParams=function(options){if(typeof(options)=='string'){var aP=options.split(',');for(i=0;i<=(aP.length-1);i++){var aR=aP[i].split(':');if(aR.length>2)for(var j=2;j<=(aR.length-1);j++){aR[1]=aR[1]+':'+aR[j]};if(aR[0]=='field'){this.fulltextField=aR[1];}else if(aR[0]=='element'){this.fulltextElement=aR[1];}else if(aR[0]=='usereferrer'){this.usereferrer=true;}else{this.options[aR[0]]=aR[1];}}return true;}if(typeof(options)!='undefined'){for(x in options)this.options[x]=options[x];}},this.fromInner=function(x){this.options.g=x;this.etarget_space=document.getElementById("etarget_"+x);if(this.etarget_space.nodeName=='DIV'){n=this.etarget_space.innerHTML;this.etarget_space.innerHTML='';this.etarget_space.style.display='block';this.setParams(n);}},this.setId=function(x){this.id=x;},this.fromName=function(x){this.options.g=x;this.etarget_space=document.getElementById("etarget_"+x);if(this.etarget_space.nodeName=='DIV'){var n=this.etarget_space.style;this.etarget_space.innerHTML='';this.etarget_space.style.display='block';this.setParams(n);}},this.findMyself=function(x){var scripts=document.getElementsByTagName('script');for(var i=0;i1){ if(arguments[1] in this.inner)this.inner[arguments[1]].ob.innerHTML=s; }else{ this.ob.innerHTML=s; } }, this.init=function(){ this.ob=document.createElement(this.tag); }, this.getIn=function(o){ if(typeof(o.ob)!='undefined'){ this.pOb=o.ob; o.addObj(this); } else this.pOb=o; this.apply(this.par); this.pOb.appendChild(this.ob); }, this.apply=function(o){ for(var x in o) { if(x=='tag'){} else if(x=='ID'){} else if(x=='inner'){ if(typeof(o[x])=='string')this.objInside(o[x]); else if(typeof(o[x])=='object')for(var i=0;i-1;i--){ if(typeof(this.inners[i].remove)=='function') this.inners[i].remove(); else{ this.ob.removeChild(this.inners[i]); } } }, this.measure=function(o){ var p=o; var pos={x:0,y:0,h:0,w:0,xx:0,yy:0}; this.x=0; this.y=0; if(!p)return false; pos.h=p.offsetHeight; pos.w=p.offsetWidth; while(p && p.offsetParent) { pos.x += p.offsetLeft; pos.y += p.offsetTop; p = p.offsetParent; } pos.xx=Number(pos.x+pos.w); pos.yy=Number(pos.y+pos.h); return pos; }, this.mergePos=function(pos,par){ if(typeof(par)=='undefined')return pos; if('x' in par)pos.x=(Number(pos.x)+Number(par.x)); if('y' in par)pos.y=(Number(pos.y)+Number(par.y)); if('xx' in par)pos.x=(Number(pos.xx)+Number(par.xx)); if('yy' in par)pos.y=(Number(pos.yy)+Number(par.yy)); if('xxx' in par)pos.x=(Number(pos.x+Math.round(pos.w/2))+Number(par.xxx)); if('yyy' in par)pos.y=(Number(pos.y+Math.round(pos.h/2))+Number(par.yyy)); return pos; }, this.placeAtObj=function(s,par){ var o=null; if(typeof(s)=='string')o=document.getElementById(s); else if(typeof(s)=='object'){ if('ob' in s)o=s.ob;else o=s; } if(!o)return false; var pos=this.measure(o); pos=this.mergePos(pos,par); this.place(pos); }, this.place=function(pos){ this.ob.style.position='absolute'; this.ob.style.top =pos.y+'px'; this.ob.style.left =pos.x+'px'; }, this.init(); }function TheEtargetObjCookie(par){ this.data={}; this.setup={name:'etargetreader',time:3600}; for(var x in par){ this.setup[x]=par[x]; }; this.setCookie=function(name,value,seconds){ if(typeof(seconds)!='undefined'){ var date=new Date(); date.setTime(date.getTime()+(seconds*1000)); var expires='; expires='+date.toGMTString(); }else{ var expires=''; }; document.cookie=name+'='+value+expires+'; path=/'; }, this.getCookie=function(name){ name=name+'='; var carray=document.cookie.split(';'); for(var i=0;i'); this.data[c[0]]=c[1]; } }, this.setAssoc=function(o){ this.parseAssoc(); for(var x in o){ this.data[x]=o[x]; }; var s=''; for(var x in this.data) if(this.data[x]!=null) { if(s!='')s+='|'; s+=x+'->'+this.data[x]; } this.setCookie(this.setup.name,s,this.setup.time); }, this.getAssoc=function(name){ this.parseAssoc(); if(name in this.data) return this.data[name]; else return ''; }, this.delAssoc=function(name){ if(name in this.data)this.data[name]=null; var s=''; for(var x in this.data) if(this.data[x]!=null) { if(s!='')s+='|'; s+=x+'->'+this.data[x]; } this.setCookie(this.setup.name,s,this.setup.time); }};function TheEtargetObjTime(){ this.d=new Date(); this.starttime=this.d.getTime();this.now=function(){ this.d=new Date(); return Math.round((this.d.getTime()-this.starttime)/1000);},this.start=function(){ return this.starttime;}}function TheEtargetObjEventRec(time,name,val){ this.time=time; this.endtime=time; this.name=name; this.val=val; this.mk='';this.getTime=function(){ return (this.endtime-this.time);},this.mark=function(s){ this.mk=s;},/*this.store=function(name,val){ this.name=name; this.val=val; this.time=time.now(); evs[evs.length]=this;},*/this.gets=function(){ var s=''; if(typeof(this.val)=='undefined')this.val=''; return this.time+'.'+this.endtime+'.'+this.name+'.'+this.val+':';}}function TheEtargetObjMouseRec(time,x,y){ this.time=time; this.x=x; this.y=y;this.gets=function(){ return this.time+'.'+this.x+'x'+this.y+':';},this.play=function(o){ o.style.top=this.y; o.style.left=this.x;}}function TheEtargetObjReader(o,id,setup){ this.Screen={w:0,h:0,x:0,y:0,xx:0,yy:0}; this.Window={w:0,h:0,x:0,y:0,xx:0,yy:0,minimized:false}; this.evs=[]; this.lastEv=''; this.cookie=new TheEtargetObjCookie(); this.mice=[]; this.time=new TheEtargetObjTime(); this.id=id; this.o=o; this.t=0; this.tresholds=0; this.setup={domain:'',tstart:0,ref:0,start:{},treshold:{perc:30,func:null,cnt:1},click:true,measurement:'round',send:true,offset:0,debug:false}; if(typeof(setup)=='object'){for(var x in setup)this.setup[x]=setup[x];} this.browserModel=0; if (document.layers) { this.browserModel=1; document.captureEvents(Event.MOUSEMOVE); } else if (document.all) { this.browserModel=2; } else if (document.getElementById) { this.browserModel=3; }this.uptime=function(){ if(this.evs.length>0)this.evs[this.evs.length-1].endtime=this.time.now();}, this.eventAddOrUpd=function(ev){ var oev=null; if(ev.name=='C'){ if(this.evs.length>0)this.evs[this.evs.length-1].endtime=this.time.now(); this.evs[this.evs.length]=ev; return true; } if(this.evs.length>0)oev=this.evs[this.evs.length-1]; if(!oev){this.evs[this.evs.length]=ev;return true;}; if((oev.name==ev.name)&&(oev.val==ev.val)){ if(this.evs.length>0)this.evs[this.evs.length-1].endtime=this.time.now();return true; } if((oev.name==ev.name)&&(oev.time==ev.time)){ if(this.evs.length>0){ if(this.setup.measurement=='round') this.evs[this.evs.length-1].val=Math.round((Number(this.evs[this.evs.length-1].val)+Number(ev.val))/2); else if(this.setup.measurement=='min')this.evs[this.evs.length-1].val=Math.min(Number(this.evs[this.evs.length-1].val),Number(ev.val)); else this.evs[this.evs.length-1].val=Math.max(Number(this.evs[this.evs.length-1].val),Number(ev.val)); } return true; } if(this.evs.length>0)this.evs[this.evs.length-1].endtime=this.time.now(); this.evs[this.evs.length]=ev; return true;},this.handleEvent=function(name){ if(!this.o)this.o=document.getElementById(this.id); if(this.id){ if(!(this.o.id==this.id))this.o.id=this.id; }else{ this.id=this.o.id; }; /* if(this.setup.debug)document.title=name; */ this.lastEv=name; if(name=='B'){ var a=new TheEtargetObjEventRec(this.time.now(),name,0); }else{ var perc=this.percOnScreen(); if((perc>this.setup.treshold.perc)&&(this.tresholds100)this.sendM();},this.run=function(){ },this.init=function(){ if(this.setup.send)this.send(); /*this.handleEvent('I');*/ var that=this; this.on('load',function(){that.handleEvent('L');}); this.on('focus',function(){that.handleEvent('F');}); this.on('blur',function(){that.handleEvent('B');}); this.on('scroll',function(){that.handleEvent('S');}); this.on('resize',function(){that.handleEvent('R');}); if(this.setup.click)this.on('click',function(){that.handleEvent('C');}); if(this.setup.mouse)this.on('mousemove',function(e){that.handleMouse(e);}); else this.on('mousemove',function(e){that.handleEvent('M');}); /* var that=this; setTimeout(function(){that.store();},1000); */ this.on('unload',function(e){that.store();}); if(this.setup.debug)setTimeout(function(){that.debug();},1000);},this.compact=function(){ for(var i=0;i75)this.t=this.t+this.evs[i].getTime(); }; if(this.evs.length>0)var oev=this.evs[this.evs.length-1]; this.evs=[]; this.evs[0]=oev;},this.score=function(){ var s='';var ss=''; this.uptime(); var t=0;var pt=0;var ft=0; for(var i=0;i75)t=Number(t)+Number(this.evs[i].getTime()); pt=Number(pt)+(this.evs[i].getTime()*this.evs[i].val); ss+=this.evs[i].gets(); } this.t=t; var r='id:'+this.id; r+=',rf:'+this.setup.ref; r+=',st:'+this.setup.tstart; r+=',tt:'+this.time.now();/* total */ r+=',ft:'+ft;/* focus */ r+=',at:'+t;/* >3/4 */ r+=',pt:'+Math.round(pt/100);/* perc */ r+=',wh:'+this.Window.h; r+=',ww:'+this.Window.w; r+=',sh:'+this.Screen.h; r+=',sw:'+this.Screen.w; r+=',bh:'+this.h; r+=',bw:'+this.w; r+=',bx:'+this.x; r+=',by:'+this.y; return r;},this.scoreMice=function(){ var ss=''; for(var i=0;i -1 ){ if ( ver >= 8.0 ){ this.browser='IE'; return true; }else { this.browser='IE'; return true; }; }return false;}, this.on=function(n,f){ if(this.isIE()){ if(this.browserModel==2){ if(n=='focus')return this.onD('focusin',f); if(n=='blur')return this.onD('focusout',f); if(n=='mousemove')return this.onD(n,f); /* if(n=='beforeunload'){window.onbeforeunload=f;return true;}; if(n=='unload'){window.onunload=f;return true;}; */ } window.attachEvent('on'+n,f); }else{ window.addEventListener(n,f,false); };},this.onD=function(n,f){ if(this.isIE()){ document.attachEvent('on'+n,f); }else{ document.addEventListener(n,f,false); };},this.captureMousePosition=function(e){ if ((this.browserModel==1)||(this.browserModel==3)) { this.xMousePos = e.pageX; this.yMousePos = e.pageY; } else if ((this.browserModel==2)) { this.xMousePos = window.event.x+this.xScreenPos; this.yMousePos = window.event.y+this.yScreenPos; } this.xMouseViewportPos = this.xMousePos-this.xScreenPos; this.yMouseViewportPos = this.yMousePos-this.yScreenPos; return true;},this.percOnScreen=function(){ this.measure(); this.update(); if(this.Window.minimized)return 0; var ofs=this.setup.offset; var x=this.x-ofs; var xx=this.xx+ofs; var y=this.y-ofs; var yy=this.yy+ofs; if(xx(this.Screen.w+this.Screen.x))return 0; if(y>(this.Screen.h+this.Screen.y))return 0; if(x(Number(this.Screen.w)+Number(this.Screen.x)))xx=(Number(this.Screen.w)+Number(this.Screen.x)); if(yy>(Number(this.Screen.h)+Number(this.Screen.y)))yy=(Number(this.Screen.h)+Number(this.Screen.y)); var w=Number(xx)-Number(x); var h=Number(yy)-Number(y); var full=this.w*this.h; var seen=w*h; if(full==0){ var perc=100;} else{var perc=Math.round((Number(seen)/Number(full))*100); } return perc;},this.measure=function(){ this.Screen={w:0,h:0,x:0,y:0,xx:0,yy:0}; this.Window={w:0,h:0,x:0,y:0,xx:0,yy:0,minimized:false}; if( typeof( window.outerWidth ) != 'undefined' ) { this.Window.w=window.outerWidth; this.Window.h=window.outerHeight;} else if( typeof(document.body.offsetWidth) != 'undefined' ) { this.Window.w=document.body.offsetWidth; this.Window.h=document.body.offsetHeight;} if(typeof(window.screenTop)=='number'){ if(window.screenTop<-32000)this.Window.minimized=true; this.Window.y=window.screenTop; }else if(typeof(window.screenY)=='number'){ if(window.screenY<-32000)this.Window.minimized=true; this.Window.y=window.screenY; } if(!this.isIE()) if((this.Window.w<100)&&(this.Window.h!=0)) this.Window.minimized=true; if( typeof(window.innerWidth ) == 'number' ) { this.Screen.w = window.innerWidth; this.Screen.h = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { this.Screen.w = document.documentElement.clientWidth; this.Screen.h = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { this.Screen.w = document.body.clientWidth; this.Screen.h = document.body.clientHeight; } if( typeof( window.pageYOffset ) == 'number' ) { this.Screen.x = window.pageXOffset; this.Screen.y = window.pageYOffset; } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { this.Screen.x = document.body.scrollLeft; this.Screen.y = document.body.scrollTop; } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { this.Screen.x = document.documentElement.scrollLeft; this.Screen.y = document.documentElement.scrollTop; } },this.update=function(){ var p=this.o; this.x=0; this.y=0; this.xx=0; this.yy=0; if(!p)return false; this.h=p.offsetHeight; this.w=p.offsetWidth; while(p && p.offsetParent){this.x += p.offsetLeft;this.y += p.offsetTop;p = p.offsetParent;} this.xx=Number(this.x+this.w); this.yy=Number(this.y+this.h);}};function getEtargetBanner1607206496x1952515030(){ var referrer = document.referrer;if(typeof(referrer)!='string')referrer='';var imPaDa = new importantPageData(); var searchStrUrl = imPaDa.checkReferrerFulltextUrl(referrer); var searchStr = imPaDa.getSearchStr(); var e = new Etarget(); e.setCountry('sk'); e.setHost('sk.search.etargetnet.com'); e.setId('1607206496x1952515030'); if(document.location.protocol=='https:')e.findMyself('https://sk.static.etargetnet.com/generic/advert.php?g=ref:2641,area:728x90,tabl:3,n:2,js:1,target:_new,logo:1,logo_type:5,left:1,border_color:ffffff,background_color:white,title_color:0066CC,desc_color:black,title_underline:1,fsi:11,font:verdana,reader:1,field:q'); if((document.location.protocol!='https:')||(!e.etarget_space))e.findMyself('http://sk.static.etargetnet.com/generic/advert.php?g=ref:2641,area:728x90,tabl:3,n:2,js:1,target:_new,logo:1,logo_type:5,left:1,border_color:ffffff,background_color:white,title_color:0066CC,desc_color:black,title_underline:1,fsi:11,font:verdana,reader:1,field:q'); e.setParams('tabl:1'); e.setParams('ref:2641');e.setParams('area:728x90');e.setParams('tabl:3');e.setParams('n:2');e.setParams('js:1');e.setParams('target:_new');e.setParams('logo:1');e.setParams('logo_type:5');e.setParams('left:1');e.setParams('border_color:ffffff');e.setParams('background_color:white');e.setParams('title_color:0066CC');e.setParams('desc_color:black');e.setParams('title_underline:1');e.setParams('fsi:11');e.setParams('font:verdana');e.setParams('reader:1');e.setParams('field:q');var em=new etaMeta(); e.setParams('metakeywords:'+em.getMetaKeywords()); e.setParams('im:101');e.setParams('rf:'+escape(referrer));if(e.usereferrer){ e.setParams('q:'+escape(referrer));}else if(e.fulltextField!=''){e.setParams('q:'+escape(imPaDa.getUrlField(e.fulltextField)));}else if(e.fulltextElement!=''){e.setParams('q:'+encodeURIComponent(imPaDa.getValFrom(e.fulltextElement)));}if(typeof(e.options.q)!='undefined'){if(e.options.q=='CATALOG_CATEGORY_ID'){e.setParams('q:'+escape(location.href));}}if(searchStrUrl!='') e.setParams('r:'+escape(searchStrUrl));if(searchStr!='') e.setParams('refquery:'+escape(searchStr));var etarget_bbb=e.getBanner(); if(typeof(etargetReaders)=='undefined')etargetReaders=[]; etargetReaders[etargetReaders.length]=new TheEtargetObjReader(etarget_bbb,false,{ mouse:false,send:true,offset:0,domain:'sk.static.etargetnet.com',ref:2641,tstart:1607206496 }); etargetReaders[etargetReaders.length-1].init();} getEtargetBanner1607206496x1952515030();