function _q_keypress(){var a=(window.event)?event.keyCode:e.keyCode;switch(a){case 34:case 35:case 36:document.focus();break;case 37:break}return true}function _logo_efect(i,h,a,d,c,f,j){if(i>255||h>255||a>255){document.getElementById("l").childNodes[0].style.color=""}else{document.getElementById("l").childNodes[0].style.color="rgb("+i+","+h+","+a+")";if(i+d<=0){d=-d}if(h+c<=0){c=-c}if(a+f<=0){f=-f}setTimeout("_logo_efect("+(i+d)+", "+(h+c)+", "+(a+f)+", "+d+", "+c+", "+f+", "+j+");",j)}}function logo_efect(){setTimeout("_logo_efect(255, 255, 255, 0, -8, -8, 15);",1)}function show_ad(b,a){if(b&&a){b.appendChild(a);a.style.display="block"}}function show_ads(){show_ad(document.getElementById("adbx_in"),document.getElementById("adbx_load"))}function _selall(){this.select()}function _onload(){setTimeout("logo_efect();",1);document.forms.s.q.onfocus=_selall;if(document.forms.s.q.value==""){if(document.referrer&&document.referrer.indexOf("8h.sk/")==-1){q=getParam("q",document.referrer,document.referrer.length,"&");if(!q){q=getParam("hladat",document.referrer,document.referrer.length,"&")}if(!q){q=getParam("hledat",document.referrer,document.referrer.length,"&")}if(!q){q=getParam("search",document.referrer,document.referrer.length,"&")}if(!q){q=getParam("search_terms",document.referrer,document.referrer.length,"&")}if(q){q=q.replace(/\+/g," ");q=unescape(q);document.forms.s.q.value=q}}if(document.getElementById("rbox")==null){document.forms.s.q.focus()}}setTimeout("show_ads()",50)}window.onload=_onload;function setCookie(b,c,d){var a=new Date();a.setDate(a.getDate()+d);document.cookie=b+"="+escape(c)+((d==null)?"":";expires="+a.toGMTString())}function getCookie(a){if(document.cookie.length>0){val=getParam(a,document.cookie,document.cookie.length,";");if(val){return unescape(val)}}return null}function getParam(c,d,a,b){cs=d.indexOf(c+"=");ce=-1;if(cs!=-1){cs=cs+c.length+1;if(b){ce=d.indexOf(b,cs)}if(ce==-1){ce=d.length}return d.substring(cs,ce)}return null}var clicky={init:function(a){clicky.pageview_fired=0;if(document.location.protocol=="https:"){clicky.domain="https://in.getclicky.com";clicky.secure=1}else{clicky.domain="http://in.getclicky.com";clicky.secure=0}clicky.img=new Image();clicky.img2=new Image();clicky.img_base=clicky.domain+"/in.php?site_id="+a+"&res="+screen.width+"x"+screen.height+"&lang="+(navigator.language||navigator.browserLanguage).substr(0,2)+"&secure="+clicky.secure;if(clicky_custom.session){for(var b in clicky_custom.session){clicky.img_base+="&custom["+clicky.enc(b)+"]="+clicky.enc(clicky_custom.session[b])}}if(clicky_custom.goal){for(var b in clicky_custom.goal){clicky.img_base+="&goal["+clicky.enc(b)+"]="+clicky.enc(clicky_custom.goal[b])}}clicky.ref=RegExp("^https?://[^/]*"+location.host.replace(/^www\./i,"")+"/","i").test(document.referrer)?"":clicky.enc(document.referrer);if(!clicky_custom.pageview_disable){if(typeof clicky_custom.delay=="undefined"){clicky.add_event(window,"load",clicky.pageview);setTimeout(clicky.pageview,2000)}else{var c=clicky_custom.delay;if(c=="onload"){clicky.add_event(window,"load",clicky.pageview)}else{if(parseInt(c)==c){setTimeout(clicky.pageview,parseInt(c))}else{clicky.pageview()}}}}clicky.add_event(window,"load",clicky.advanced)},pageview:function(){if(clicky.pageview_fired){return}clicky.pageview_fired=1;clicky.img.src=clicky.img_base+"&href="+clicky.enc(clicky_custom.href||location.pathname+location.search)+"&title="+clicky.enc(clicky_custom.title||document.title)+"&ref="+clicky.ref+"&x="+Math.random();clicky.ref=""},isset:function(a){return(typeof(window[a])!="undefined")},enc:function(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)},log:function(a,c,b){b=b||"click";if(b=="pageview"){a=a.replace(/^https?:\/\/([^\/]+)/i,"")}clicky.img2.src=clicky.img_base+"&type="+b+"&title="+clicky.enc(c)+"&href="+clicky.enc(a)+"&ref="+clicky.ref+"&x="+Math.random();clicky.ref="";if(b=="download"||b=="outbound"){clicky.pause()}},pause:function(a){var b=new Date();var c=b.getTime()+(a||clicky_custom.timer||500);while(b.getTime()<c){var b=new Date()}},goal:function(b,a){clicky.img2.src=clicky.img_base+"&type=goal&goal[id]="+b+"&goal[revenue]="+a+"&x="+Math.random()},add_event:function(c,a,b){if(c.addEventListener){c.addEventListener(a,b,false)}else{if(c.attachEvent){c.attachEvent("on"+a,b)}}},download:function(a){clicky.img_src(a,"download")},outbound:function(a){clicky.img_src(a,"outbound")},click:function(a){clicky.img_src(a,"click")},img_src:function(b,a){obj=clicky.get_target(b);clicky.log(clicky.get_href(obj),clicky.get_text(obj),a)},get_text:function(b){do{var a=b.text?b.text:b.innerText;if(a){return a}if(b.alt){return b.alt}if(b.title){return b.title}if(b.src){return b.src}b=clicky.get_parent(b)}while(b);return""},get_href:function(a){do{if(a.href&&!a.src){return a.href}a=clicky.get_parent(a)}while(a);return""},get_parent:function(a){return a.parentElement||a.parentNode},get_target:function(b){if(!b){var b=window.event}var a=b.target?b.target:b.srcElement;if(a.nodeType&&a.nodeType==3){a=a.parentNode}return a},advanced:function(){if(clicky_custom.advanced_disable){return}var g=new RegExp("\\.(7z|aac|avi|cab|csv|dmg|doc(x|m)?|exe|flv|gif|gz|jpe?g|js|m4a|mp(3|4|e?g)|mov|msi|ods|pdf|phps|png|ppt(x|m)?|rar|rtf|sea|sit|tar|torrent|txt|wma|wmv|xls(x|m)?|xml|zip)$","i");var c=new RegExp("^(https?|ftp|telnet|mailto):","i");var b=new RegExp("^https?://(.*)"+location.host.replace(/^www\./i,""),"i");var d=document.getElementsByTagName("a");for(var f=0;f<d.length;f++){if(d[f].className.match(/clicky_log/i)){if(d[f].className.match(/clicky_log_download/i)){clicky.add_event(d[f],"mousedown",clicky.download)}else{if(d[f].className.match(/clicky_log_outbound/i)){clicky.add_event(d[f],"mousedown",clicky.outbound)}else{clicky.add_event(d[f],"mousedown",clicky.click)}}}else{if(c.test(d[f].href)&&!d[f].className.match(/clicky_ignore/i)){if(g.test(d[f].href)){clicky.add_event(d[f],"mousedown",clicky.download)}else{if(!b.test(d[f].href)){clicky.add_event(d[f],"mousedown",clicky.outbound)}}}}}}};if(!clicky.isset("clicky_custom")){clicky_custom={}}if(clicky.isset("clicky_page_title")){clicky_custom.title=clicky_page_title}if(clicky.isset("clicky_advanced_disable")){clicky_custom.advanced_disable=1}if(clicky.isset("clicky_pause_timer")){clicky_custom.timer=clicky_pause_timer}if(clicky.isset("clicky_custom_session")){clicky_custom.session=clicky_custom_session}if(clicky.isset("clicky_goal")){clicky_custom.goal=clicky_goal}function statsgoyes(a){clicky.init(a)};