if(typeof(newurl)=='undefined' || !newurl){(function(){ new function(){
this.ident='1474283675x1730471269x';
this.surl='hu.search.etargetnet.com/generic/advert.php?g=ref:58025,area:468x60,tabl:4,divid:,design_name:custom,border_color:ffffff,border_style:none,background_opacity:100,background_color:000033,hover_back:,title_color:00ffff,text_color:00ffff,url_color:0067d6,h_title_color:00ffff,h_text_color:00ffff,h_url_color:00ffff,freespace:0,logo_type:3,logo:1,title_underline:0,url_underline:0,h_title_underline:1,h_url_underline:1,nourl:,fsi:11,font:verdana,require_login_pass:,login_pass:,show_in_fb:,show_in_fb_text:';
this.surl2='';
this.surl3='';
if(this.surl && this.surl.length>0) this.surl2=this.surl.replace(/\%20/g,' ');
this.charset='utf-8';
this.height='transparent';
this.width='468px';
this.height='60px';
var frconlen = parseInt('40825');
this.fRun=function(){
this.ifrm=this.I.contentWindow;
this.ifrm.document.open();
this.w('
ETARGET 4.1var rotimages=[];var forcedWidth=468;var forcedHeight=60;function changeImage(o,num){o.onerror = \'\'; var newsrcx = o.src.replace(\'_9\',\'_5\'); o.src = newsrcx;}var columns=1;var borderstyle=\'none\';var radius=0;var opacity=100;var minspace=5;var ref=58025;var c=3;var vert=0;var logo_type=5;var goUrl=\'http://hu.search.etargetnet.com/generic/context_ad/go.php?action=ppc&cid=3&\';var boCol=\'#ffffff\';var bgCol=\'#000033\';var tbw=455;var lbw=100;var opac = 100;var transition = false;var icanthide=false;;function makeBorders(a,b,c,d,e,f){};var iebug=true;var aShopItems = new Array();var bw = 0;var bh = 0;var wh = 0;var ww = 0;var sxtotal = 0;var sytotal = 0;var ymax = 0;var header = null;var footer = null;var mytime;var j = new Array();var s = new Array();var hide = null;var cnt = 0;var shop = 0;var smer = \'\';var shopItemNo = 1;var dtime=new Date();var btime=dtime.getTime();var captchax = false;var cdata = false;function setCaptcha(){if(typeof(Captcha)==\'function\'){if(captchax==false){captchax = new Captcha(); captchax.init();};};};function getCaptcha(){if(typeof(captchax)==\'object\'){if(typeof(captchax.serialize)==\'function\'){cdata = captchax.serialize(); cdata = window.btoa(cdata); return cdata};};};setCaptcha();function clicktime(o,event){var dtime=new Date();o.href=o.href+\'&cti=\'+Math.round((dtime.getTime()-btime)/1000);if(typeof(event)==\'object\' && typeof(event.clientX)==\'number\'){var ctype = \'\'; var shownflag = 0; var parents = findParents(\'inbox\',o); if(typeof(parents)==\'object\'){if(parents.getElementsByClassName(\'etarget_img\').length){shownflag+=1;};if(parents.getElementsByClassName(\'etarget_title\').length){shownflag+=2;};if(parents.getElementsByClassName(\'etarget_desc\').length){shownflag+=4;};if(parents.getElementsByClassName(\'etarget_url\').length){shownflag+=8;};}; if(typeof(o.className)==\'string\'){try{var otype = o.className;var atype = otype.split(\'etarget_\');var ctype = atype[1]; ctype = ctype.split(\' \'); ctype = ctype[0];}catch(e){console.log(e);}}; var where=ctype+\'x\'+(parseInt(event.clientX)*(58025))+\'x\'+(parseInt(event.pageY)*(58025))+\'x\'+shownflag;var cdata = getCaptcha();if(typeof(cdata)==\'string\' && typeof(where)==\'string\'){where = where+\'|\'+cdata};if(where){o.href=o.href+\'&psi=\'+where;};};};function TRJS(src){var s=document.createElement(\'sc'+'ript\');document.body.appendChild(s);s.src=src+\'&js=1\';};function findParents(cname,o){var p = o; if(typeof(p)==\'object\'){var px = \'\'; var pi = 0;while(true){if(pi>10){break;};if(typeof(p.className)==\'string\'){if(p.className==cname){return p;break;}};pi++;p = p.parentNode;};};return false;}function jednotka(o){this.o=o;this.width=this.o.offsetWidth;this.height=this.o.offsetHeight;this.c=o.className;this.left=0;this.top=0;this.isShop=false;this.hasImage=false;this.img=null;this.tab=null;this.title=null;this.text=null;this.url=null;this.price1=null;this.price2=null;this.badge=null;this.btn=null;this.moveRate=50;this.moveStepX=0;this.moveStepY=0;this.moveStartX=0;this.moveEndX=0;this.moveStartY=0;this.moveEndY=0;this.moveFrames=0;this.moveFrame=0;this.init=function(){var e=this.o.getElementsByTagName(\'DIV\');for(var i=0;i=want){have=0;return Math.floor(y+this.height+yspace);}else{return Math.floor(x+this.width+xspace);}},this.setMove=function(moveStartX,moveStartY,moveEndX,moveEndY,moveFrames){var moveLengthX=Math.floor(moveEndX-moveStartX);var moveLengthY=Math.floor(moveEndY-moveStartY);this.moveStepX=moveLengthX/moveFrames;this.moveStepY=moveLengthY/moveFrames;this.moveFrames=moveFrames;this.moveEndX=moveEndX;this.moveEndY=moveEndY;this.moveStartX=moveStartX;this.moveStartY=moveStartY;},this.setMoveTo=function(moveEndX,moveEndY,moveFrames){this.setMove(this.left,this.top,moveEndX,moveEndY,moveFrames);},this.setMoveFrom=function(moveStartX,moveStartY,moveFrames){this.setMove(moveStartX,moveStartY,this.left,this.top,moveFrames);this.left=moveStartX;this.top=moveStartY;this.place();},this.move=function(){if(this.moveFrame==this.moveFrames){this.moveFrame=0;this.left=this.moveEndX;this.top=this.moveEndY;this.place();return false;}else if(this.moveFrame==0){this.moveFrame++;this.left=this.moveStartX;this.top=this.moveStartY;this.place();return true;}else if(this.moveFrame0;i--){xtotal=xtotal-j[i].width;if(ymax0;i--){ytotal=ytotal-j[i].height;if(ymax0)iebug=false;var nytotal1=0;var nytotal2=0;if(ytotal<(wh-(cnt*minspace))){if((i%2)==0){nytotal1=j[i].nextY(ytotal,0);}else{nytotal2=j[i].nextY(ytotal,0);}if(Math.max(nytotal1,nytotal2)<=(wh-((cnt+1)*minspace))){if(((i%2)!=0)||((j.length-1)==i)){cnt++;ytotal=Math.max(nytotal1,nytotal2);}}}if(j[i].c==\'shop\'){shop=i;j[i].isShop=true;};};var yspace=Math.floor((wh-ytotal-1)/(cnt-1));for(var i=0;i0){if(borderstyle==\'3d\'){wh=wh-Math.floor(radius/2);ww=ww-Math.floor(radius/2);};};if(columns==2)return refresh2();var xtotal=0;var ytotal=0;var y=0;var x=0;if((vert==0)){ww=ww-10;x=5;if(header){header.o.style.display=\'none\';};if(borderstyle==\'3d\'){if(footer){footer.o.style.width=\'120px\';footer.measure();footer.left=bw-120-Math.floor(radius/2);footer.top=bh-footer.height-Math.floor(radius/2);footer.place();};}else{if(footer){footer.o.style.width=\'120px\';footer.measure();footer.left=bw-120;footer.top=bh-footer.height;footer.place();};};}else{if(header){header.o.style.width=ww+\'px\';header.measure();header.left=x;header.top=0;header.place();y=header.height;};if(footer){footer.o.style.width=ww+\'px\';footer.measure();footer.left=x;footer.top=wh-footer.height;footer.place();};if(header)wh=wh-header.height;else wh=wh-5;if(footer)wh=wh-footer.height;else wh=wh-5;};for(var i=0;i0)iebug=false;if(vert==0){if(j[i].height>(wh-2)){j[i].height=wh-2;j[i].o.style.height=wh-2;};};if(ymax=(wh-((cnt-1)*minspace))){ytotal=maxi(wh,ytotal);};if(ytotal>=(wh-((cnt-1)*minspace))){if(footer){footer.o.style.display=\'none\';wh=wh+footer.height;};};if(ytotal>=(wh-((cnt-1)*minspace))){if(header){header.o.style.display=\'none\';wh=wh+header.height;y=0;};};var yspace=0;if(cnt>2)yspace=Math.floor((wh-ytotal)/(cnt-1));else if(cnt==2){y=Number(y)+Math.floor((wh-ytotal)/3);yspace=y;}else if(ytotal>wh){x=0;}else y=Number(y)+Math.floor((wh-ytotal)/2);for(var i=0;i=(ww-((cnt-1)*minspace))){xtotal=maxix(ww,xtotal);};ymaxi();if(ymax>(wh-10)){if(footer){footer.o.style.display=\'none\';wh=wh+footer.height;};ymax=wh;y=0;}else{y=Math.round((Number(wh)-(Number(ymax)+12))/2);};var xspace=0;if(cnt>2)xspace=Math.floor((ww-xtotal)/(cnt-1));else if(cnt==2){x=Number(x)+Math.floor((ww-xtotal)/3);xspace=x;}else x=Number(x)+Math.floor((ww-xtotal)/2);for(var i=0;i=cnt)j[i].hide();else j[i].place();}};};function go(){bh=document.getElementById(\'main\').offsetHeight;bw=document.getElementById(\'main\').offsetWidth;if(typeof(forcedWidth)!=\'undefined\')bw=forcedWidth;if(typeof(forcedHeight)!=\'undefined\')bh=forcedHeight;makeBorders(\'main\',borderstyle,radius,opacity,boCol,bgCol);hide=document.getElementById(\'hide\');var d=document.getElementsByTagName(\'DIV\');var changed=0;if(shop!=0)changeShop();for(var i=0;i=this.srcs.length)this.w=0;if(typeof(this.srcs[this.w])==\'string\'){var u=this.srcs[this.w];this.srcs[this.w]=new Image();this.srcs[this.w].src=u;}this.ob.src=this.srcs[this.w].src;},this.assign();}if(typeof(rotimages)==\'undefined\') var rotimages=[];function imgrot(){for(var i=0;ifunction changeImage(o,num){o.onerror = \'\';var newsrcx = o.src.replace(\'_9\',\'_5\');o.src = newsrcx;}');
this.w('/**/function changeImage(o,num){o.onerror = \'\'; var newsrcx = o.src.replace(\'_9\',\'_5\'); o.src = newsrcx;}var columns=1;var borderstyle=\'none\';var radius=0;var opacity=100;var minspace=5;var ref=58025;var c=3;var vert=0;var logo_type=5;var goUrl=\'http://hu.search.etargetnet.com/generic/context_ad/go.php?action=ppc&cid=3&\';var boCol=\'#ffffff\';var bgCol=\'#000033\';var tbw=455;var lbw=100;var opac = 100;var transition = false;var icanthide=false;;function makeBorders(a,b,c,d,e,f){};var iebug=true;var aShopItems = new Array();var bw = 0;var bh = 0;var wh = 0;var ww = 0;var sxtotal = 0;var sytotal = 0;var ymax = 0;var header = null;var footer = null;var mytime;var j = new Array();var s = new Array();var hide = null;var cnt = 0;var shop = 0;var smer = \'\';var shopItemNo = 1;var dtime=new Date();var btime=dtime.getTime();var captchax = false;var cdata = false;function setCaptcha(){if(typeof(Captcha)==\'function\'){if(captchax==false){captchax = new Captcha(); captchax.init();};};};function getCaptcha(){if(typeof(captchax)==\'object\'){if(typeof(captchax.serialize)==\'function\'){cdata = captchax.serialize(); cdata = window.btoa(cdata); return cdata};};};setCaptcha();function clicktime(o,event){var dtime=new Date();o.href=o.href+\'&cti=\'+Math.round((dtime.getTime()-btime)/1000);if(typeof(event)==\'object\' && typeof(event.clientX)==\'number\'){var ctype = \'\'; var shownflag = 0; var parents = findParents(\'inbox\',o); if(typeof(parents)==\'object\'){if(parents.getElementsByClassName(\'etarget_img\').length){shownflag+=1;};if(parents.getElementsByClassName(\'etarget_title\').length){shownflag+=2;};if(parents.getElementsByClassName(\'etarget_desc\').length){shownflag+=4;};if(parents.getElementsByClassName(\'etarget_url\').length){shownflag+=8;};}; if(typeof(o.className)==\'string\'){try{var otype = o.className;var atype = otype.split(\'etarget_\');var ctype = atype[1]; ctype = ctype.split(\' \'); ctype = ctype[0];}catch(e){console.log(e);}}; var where=ctype+\'x\'+(parseInt(event.clientX)*(58025))+\'x\'+(parseInt(event.pageY)*(58025))+\'x\'+shownflag;var cdata = getCaptcha();if(typeof(cdata)==\'string\' && typeof(where)==\'string\'){where = where+\'|\'+cdata};if(where){o.href=o.href+\'&psi=\'+where;};};};function TRJS(src){var s=document.createElement(\'sc'+'ript\');document.body.appendChild(s);s.src=src+\'&js=1\';};function findParents(cname,o){var p = o; if(typeof(p)==\'object\'){var px = \'\'; var pi = 0;while(true){if(pi>10){break;};if(typeof(p.className)==\'string\'){if(p.className==cname){return p;break;}};pi++;p = p.parentNode;};};return false;}function jednotka(o){this.o=o;this.width=this.o.offsetWidth;this.height=this.o.offsetHeight;this.c=o.className;this.left=0;this.top=0;this.isShop=false;this.hasImage=false;this.img=null;this.tab=null;this.title=null;this.text=null;this.url=null;this.price1=null;this.price2=null;this.badge=null;this.btn=null;this.moveRate=50;this.moveStepX=0;this.moveStepY=0;this.moveStartX=0;this.moveEndX=0;this.moveStartY=0;this.moveEndY=0;this.moveFrames=0;this.moveFrame=0;this.init=function(){var e=this.o.getElementsByTagName(\'DIV\');for(var i=0;i=want){have=0;return Math.floor(y+this.height+yspace);}else{return Math.floor(x+this.width+xspace);}},this.setMove=function(moveStartX,moveStartY,moveEndX,moveEndY,moveFrames){var moveLengthX=Math.floor(moveEndX-moveStartX);var moveLengthY=Math.floor(moveEndY-moveStartY);this.moveStepX=moveLengthX/moveFrames;this.moveStepY=moveLengthY/moveFrames;this.moveFrames=moveFrames;this.moveEndX=moveEndX;this.moveEndY=moveEndY;this.moveStartX=moveStartX;this.moveStartY=moveStartY;},this.setMoveTo=function(moveEndX,moveEndY,moveFrames){this.setMove(this.left,this.top,moveEndX,moveEndY,moveFrames);},this.setMoveFrom=function(moveStartX,moveStartY,moveFrames){this.setMove(moveStartX,moveStartY,this.left,this.top,moveFrames);this.left=moveStartX;this.top=moveStartY;this.place();},this.move=function(){if(this.moveFrame==this.moveFrames){this.moveFrame=0;this.left=this.moveEndX;this.top=this.moveEndY;this.place();return false;}else if(this.moveFrame==0){this.moveFrame++;this.left=this.moveStartX;this.top=this.moveStartY;this.place();return true;}else if(this.moveFrame0;i--){xtotal=xtotal-j[i].width;if(ymax0;i--){ytotal=ytotal-j[i].height;if(ymax0)iebug=false;var nytotal1=0;var nytotal2=0;if(ytotal<(wh-(cnt*minspace))){if((i%2)==0){nytotal1=j[i].nextY(ytotal,0);}else{nytotal2=j[i].nextY(ytotal,0);}if(Math.max(nytotal1,nytotal2)<=(wh-((cnt+1)*minspace))){if(((i%2)!=0)||((j.length-1)==i)){cnt++;ytotal=Math.max(nytotal1,nytotal2);}}}if(j[i].c==\'shop\'){shop=i;j[i].isShop=true;};};var yspace=Math.floor((wh-ytotal-1)/(cnt-1));for(var i=0;i0){if(borderstyle==\'3d\'){wh=wh-Math.floor(radius/2);ww=ww-Math.floor(radius/2);};};if(columns==2)return refresh2();var xtotal=0;var ytotal=0;var y=0;var x=0;if((vert==0)){ww=ww-10;x=5;if(header){header.o.style.display=\'none\';};if(borderstyle==\'3d\'){if(footer){footer.o.style.width=\'120px\';footer.measure();footer.left=bw-120-Math.floor(radius/2);footer.top=bh-footer.height-Math.floor(radius/2);footer.place();};}else{if(footer){footer.o.style.width=\'120px\';footer.measure();footer.left=bw-120;footer.top=bh-footer.height;footer.place();};};}else{if(header){header.o.style.width=ww+\'px\';header.measure();header.left=x;header.top=0;header.place();y=header.height;};if(footer){footer.o.style.width=ww+\'px\';footer.measure();footer.left=x;footer.top=wh-footer.height;footer.place();};if(header)wh=wh-header.height;else wh=wh-5;if(footer)wh=wh-footer.height;else wh=wh-5;};for(var i=0;i0)iebug=false;if(vert==0){if(j[i].height>(wh-2)){j[i].height=wh-2;j[i].o.style.height=wh-2;};};if(ymax=(wh-((cnt-1)*minspace))){ytotal=maxi(wh,ytotal);};if(ytotal>=(wh-((cnt-1)*minspace))){if(footer){footer.o.style.display=\'none\';wh=wh+footer.height;};};if(ytotal>=(wh-((cnt-1)*minspace))){if(header){header.o.style.display=\'none\';wh=wh+header.height;y=0;};};var yspace=0;if(cnt>2)yspace=Math.floor((wh-ytotal)/(cnt-1));else if(cnt==2){y=Number(y)+Math.floor((wh-ytotal)/3);yspace=y;}else if(ytotal>wh){x=0;}else y=Number(y)+Math.floor((wh-ytotal)/2);for(var i=0;i=(ww-((cnt-1)*minspace))){xtotal=maxix(ww,xtotal);};ymaxi();if(ymax>(wh-10)){if(footer){footer.o.style.display=\'none\';wh=wh+footer.height;};ymax=wh;y=0;}else{y=Math.round((Number(wh)-(Number(ymax)+12))/2);};var xspace=0;if(cnt>2)xspace=Math.floor((ww-xtotal)/(cnt-1));else if(cnt==2){x=Number(x)+Math.floor((ww-xtotal)/3);xspace=x;}else x=Number(x)+Math.floor((ww-xtotal)/2);for(var i=0;i=cnt)j[i].hide();else j[i].place();}};};function go(){bh=document.getElementById(\'main\').offsetHeight;bw=document.getElementById(\'main\').offsetWidth;if(typeof(forcedWidth)!=\'undefined\')bw=forcedWidth;if(typeof(forcedHeight)!=\'undefined\')bh=forcedHeight;makeBorders(\'main\',borderstyle,radius,opacity,boCol,bgCol);hide=document.getElementById(\'hide\');var d=document.getElementsByTagName(\'DIV\');var changed=0;if(shop!=0)changeShop();for(var i=0;i=this.srcs.length)this.w=0;if(typeof(this.srcs[this.w])==\'string\'){var u=this.srcs[this.w];this.srcs[this.w]=new Image();this.srcs[this.w].src=u;}this.ob.src=this.srcs[this.w].src;},this.assign();}if(typeof(rotimages)==\'undefined\') var rotimages=[];function imgrot(){for(var i=0;ivar eident=\'EPLAYA\';var skanJSForYT=false;var nextVideoAfterEnd=parseInt(\'0\');var eplayaAutoplay=parseInt(\'0\');var etargetAfterClose = parseInt(\'\');var skiptext = \'ETARGET reklám\';var ceuvn = \'YTowOnt9\';try{if(typeof(isEplayaRunSet)==\'undefined\'){var isEplayaRunSet=false;}if(!isEplayaRunSet){if(typeof(apiREADY)==\'undefined\'){var apiREADY=false;}if(typeof(onReadyFilled)==\'undefined\'){var onReadyFilled=false;}if(typeof(onLoadFilled)==\'undefined\'){var onLoadFilled=false;}if(typeof(alreadyChecked)==\'undefined\'){var alreadyChecked=false;}if(typeof(etargetVideoType)==\'undefined\'){var etargetVideoType = \'0\';}if(typeof(maxAdsCount)==\'undefined\'){var maxAdsCount = parseInt(\'0\');}if(typeof(etargetVideoReferrer)==\'undefined\'){var etargetVideoReferrer = 0;}if(typeof(etargetVideoDomain)==\'undefined\'){var etargetVideoDomain = \'\';}if(typeof(eplayaDeviceType)==\'undefined\'){var eplayaDeviceType = parseInt(\'-2\');}if(document.readyState==\'complete\' || document.readyState==\'interactive\'){if(typeof(checkYURun)==\'function\' && !alreadyChecked){checkYURun(\'start\');}}if(!alreadyChecked){if(true){var docold = \'\';if(!alreadyChecked && !onReadyFilled){if(typeof(document.onreadystatechange)==\'function\'){docold = document.onreadystatechange;}document.onreadystatechange = function(){if(!alreadyChecked){checkYURun(\'ready\');}if(typeof(docold)==\'function\'){docold();}onReadyFilled = true;}}var winold = \'\';if(!alreadyChecked && !onLoadFilled){if(typeof(window.onload)==\'function\'){winold = window.onload;}window.onload = function(){if(!alreadyChecked){checkYURun(\'loaded\');}if(typeof(winold)==\'function\'){winold();}onLoadFilled = true;}}}}if(typeof(onYouTubeIframeAPIReady)!=\'function\'){apiREADY = true;}else{apiREADY = true;skanJSForYT=true;}function checkYURun(where){var state = document.readyState;if(state==\'complete\' || state==\'interactive\'){if(typeof(checkYUExist)==\'function\' && !alreadyChecked){if(typeof(eplayaInit)==\'function\'){eplayaInit();}else{checkYUExist();}}}}function checkYUExist(){var exist = false;var estyle = document.getElementsByTagName(\'link\');for(key in estyle){if(estyle[key]){var esrc = estyle[key].href;if(esrc && esrc.indexOf(\'eplayaV2.css\')>=0){var exist = true;}}}if(!exist){var newstyle = document.createElement(\'link\');newstyle.type = \'text/css\';newstyle.rel = \'stylesheet\';newstyle.href = \'//hu.search.etargetnet.com/embed/eplayaV2.css\';document.head.appendChild(newstyle);}var exist = false;var exist2 = false;var esc'+'ripts = document.getElementsByTagName(\'sc'+'ript\');for(key in esc'+'ripts){if(esc'+'ripts[key]){var esrc = esc'+'ripts[key].src;if(esrc && esrc.indexOf(\'eplayaV3.5.js\')>=0){var exist = true;}if(esrc && esrc.indexOf(\'iframe_api\')>=0){var exist2 = true;}}}if(!exist2){var yusc'+'ript = document.createElement(\'sc'+'ript\');yusc'+'ript.type = \'text/javasc'+'ript\';yusc'+'ript.src = \'https://www.youtube.com/iframe_api\';document.head.appendChild(yusc'+'ript);}else{apiREADY = true;}if(!exist){etargetVideoReferrer = parseInt(\'58025\');etargetVideoDomain = \'hu\';var newsc'+'ript = document.createElement(\'sc'+'ript\');newsc'+'ript.type = \'text/javasc'+'ript\';newsc'+'ript.src = \'//hu.search.etargetnet.com/embed/eplayaV3.5.js\';if(document.head){document.head.appendChild(newsc'+'ript);}}}isEplayaRunSet = true;}}catch(e){console.log(e);}');
this.ifrm.document.close();
},
this.w=function(s){
this.ifrm.document.write(s);
},
this.iframeStyle=function(){
var a={'width':this.width,'height':this.height,'marginwidth':'0','marginheight':'0','vspace':'0','hspace':'0','allowTransparency':'true','frameBorder':'0','scrolling':'no','charset':this.charset};
for(var x in a)this.I.setAttribute(x,a[x]);
var a={borderWidth:'0px',overflow:'hidden',display:'block',margin:'0px',width:this.width,height:this.height,background:this.background};
for(var x in a)this.I.style[x]=a[x];
},
this.findIn=function(o){
var S=null;
var aS=o.getElementsByTagName('script');
for(var i=0;i0)){
var S=aS[i];
break;
}
}
}
}catch(err){}
};
return S;
}
,
this.showMobileBottomBar=function(o){
if(o && o!='undefined' && frconlen>0){
var barnode = o.parentNode.parentNode;
if(barnode && barnode.className){
var barclass = barnode.className;
if(barclass=='etBotBar'){
barnode.style.display = 'block';
}
}
}
},
this.makeBody=function(){
var D=document;
var B=D.createElement('body');
D.documentElement.appendChild(B);
},
this.findmyself=function(){
if(typeof(document.etargetBanners)=='undefined')document.etargetBanners={};
if(typeof(document.etargetBanners[this.ident])!='undefined'){
return 0;
};
document.etargetBanners[this.ident]=this;
var D=document;var S=null;
var aH=D.getElementsByTagName('head');
var aB=D.getElementsByTagName('body');
this.I=D.createElement('iframe');this.iframeStyle();
if(aH.length>0){S=this.findIn(aH[0])};
if(S){
if(aB.length<1){this.makeBody();aB=D.getElementsByTagName('body');};
aB[0].appendChild(this.I);
this.fRun();
this.showMobileBottomBar(S);
S.parentNode.removeChild(S);
document.etargetBanners[this.ident]=this;
return 1;
};
if(aB.length>0){S=this.findIn(aB[0])};
if(S){
S.parentNode.insertBefore(this.I,S);
this.fRun();
this.showMobileBottomBar(S);
S.parentNode.removeChild(S);
document.etargetBanners[this.ident]=this;
return 1;
};
var aB=D.getElementsByTagName('body');
return 0;
if(aB.length<1){this.makeBody();var aB=D.getElementsByTagName('body');};
},
this.init=function(){
var that=this;
var abody = document.getElementsByTagName('body');
if(abody[0] && ((abody[0].readyState == 'loaded')||(abody[0].readyState == 'complete'))) {
this.findmyself();
}else{
if(document.addEventListener){
document.addEventListener('load',function(){that.findmyself();},true);
}else if(document.attachEvent){
var o=this;
window.attachEvent('onload',function(){o.findmyself();});
};
};
}
,
this.init();
}
})()}else{
console.log('resize');
var oldscr = document.getElementsByTagName('script');
var oldobj = false;
for(var k in oldscr){
var oldsrc = oldscr[k].src;
if(oldsrc){
oldsrc = oldsrc.replace(/(http(s)?\:\/\/)?/,'');
}
if(oldsrc && oldsrc==oldurl){
oldobj = oldscr[k];
}
}
if(oldobj){
var newscr = document.createElement('script');
newscr.src = '//'+newurl;
oldobj.parentNode.insertBefore(newscr,oldobj);
}
};
var eident="EPLAYA";
var skanJSForYT=false;
var nextVideoAfterEnd=parseInt("0");
var eplayaAutoplay=parseInt("0");
var etargetAfterClose = parseInt("");
var skiptext = "ETARGET reklám";
var ceuvn = "YTowOnt9";
try{
if(typeof(isEplayaRunSet)=="undefined"){
var isEplayaRunSet=false;
}
if(!isEplayaRunSet){
if(typeof(apiREADY)=="undefined"){
var apiREADY=false;
}
if(typeof(onReadyFilled)=="undefined"){
var onReadyFilled=false;
}
if(typeof(onLoadFilled)=="undefined"){
var onLoadFilled=false;
}
if(typeof(alreadyChecked)=="undefined"){
var alreadyChecked=false;
}
if(typeof(etargetVideoType)=="undefined"){
var etargetVideoType = "0";
}
if(typeof(maxAdsCount)=="undefined"){
var maxAdsCount = parseInt("0");
}
if(typeof(etargetVideoReferrer)=="undefined"){
var etargetVideoReferrer = 0;
}
if(typeof(etargetVideoDomain)=="undefined"){
var etargetVideoDomain = "";
}
if(typeof(eplayaDeviceType)=="undefined"){
var eplayaDeviceType = parseInt("-2");
}
if(document.readyState=="complete" || document.readyState=="interactive"){
if(typeof(checkYURun)=="function" && !alreadyChecked){
checkYURun("start");
}
}
if(!alreadyChecked){
if(true){
var docold = "";
if(!alreadyChecked && !onReadyFilled){
if(typeof(document.onreadystatechange)=="function"){
docold = document.onreadystatechange;
}
document.onreadystatechange = function(){
if(!alreadyChecked){
checkYURun("ready");
}
if(typeof(docold)=="function"){
docold();
}
onReadyFilled = true;
}
}
var winold = "";
if(!alreadyChecked && !onLoadFilled){
if(typeof(window.onload)=="function"){
winold = window.onload;
}
window.onload = function(){
if(!alreadyChecked){
checkYURun("loaded");
}
if(typeof(winold)=="function"){
winold();
}
onLoadFilled = true;
}
}
}
}
if(typeof(onYouTubeIframeAPIReady)!="function"){
apiREADY = true;
}else{
apiREADY = true;
skanJSForYT=true;
}
function checkYURun(where){
var state = document.readyState;
if(state=="complete" || state=="interactive"){
if(typeof(checkYUExist)=="function" && !alreadyChecked){
if(typeof(eplayaInit)=="function"){
eplayaInit();
}else{
checkYUExist();
}
}
}
}
function checkYUExist(){
var exist = false;
var estyle = document.getElementsByTagName("link");
for(key in estyle){
if(estyle[key]){
var esrc = estyle[key].href;
if(esrc && esrc.indexOf("eplayaV2.css")>=0){
var exist = true;
}
}
}
if(!exist){
var newstyle = document.createElement("link");
newstyle.type = "text/css";
newstyle.rel = "stylesheet";
newstyle.href = "//hu.search.etargetnet.com/embed/eplayaV2.css";
document.head.appendChild(newstyle);
}
var exist = false;
var exist2 = false;
var escripts = document.getElementsByTagName("script");
for(key in escripts){
if(escripts[key]){
var esrc = escripts[key].src;
if(esrc && esrc.indexOf("eplayaV3.5.js")>=0){
var exist = true;
}
if(esrc && esrc.indexOf("iframe_api")>=0){
var exist2 = true;
}
}
}
if(!exist2){
var yuscript = document.createElement("script");
yuscript.type = "text/javascript";
yuscript.src = "https://www.youtube.com/iframe_api";
document.head.appendChild(yuscript);
}else{
apiREADY = true;
}
if(!exist){
etargetVideoReferrer = parseInt("58025");
etargetVideoDomain = "hu";
var newscript = document.createElement("script");
newscript.type = "text/javascript";
newscript.src = "//hu.search.etargetnet.com/embed/eplayaV3.5.js";
if(document.head){
document.head.appendChild(newscript);
}
}
}
isEplayaRunSet = true;
}
}catch(e){console.log(e);}