var EMNL={init:function(site_id){EMNL.pageview_fired=0;if(document.location.protocol=="https:"){EMNL.domain="https://stats.721software.nl.re.getclicky.com";EMNL.secure=1;}else{EMNL.domain="http://stats.721software.nl.re.getclicky.com";EMNL.secure=0;}EMNL.base=EMNL.pingbase=EMNL.domain+"/in.php?site_id="+site_id;EMNL.base+="&res="+screen.width+"x"+screen.height+"&lang="+(navigator.language||navigator.browserLanguage||'en').substr(0,2)+"&secure="+EMNL.secure;if(EMNL_custom.session){for(var i in EMNL_custom.session){EMNL.base+="&custom["+EMNL.enc(i)+"]="+EMNL.enc(EMNL_custom.session[i]);}}if(EMNL_custom.goal){for(var i in EMNL_custom.goal){EMNL.base+="&goal["+EMNL.enc(i)+"]="+EMNL.enc(EMNL_custom.goal[i]);}}if(EMNL_custom.async){setTimeout(EMNL.advanced,1000);}else EMNL.add_event(window,'load',EMNL.advanced);EMNL.ref=RegExp("^https?://[^/]*"+location.host.replace(/^www\./i,"")+"/","i").test(document.referrer)?"":EMNL.enc(document.referrer);if(!EMNL_custom.pageview_disable)EMNL.pageview();},pageview:function(){if(EMNL.pageview_fired)return;EMNL.pageview_fired=1;if(location.hash.match(/utm_/i)){var href=location.pathname+(location.search?location.search+'&':'?')+location.hash.substr(1);}else{var href=location.pathname+location.search;}EMNL.beacon("&href="+EMNL.enc(EMNL_custom.href||href)+"&title="+EMNL.enc(EMNL_custom.title||document.title)+"&ref="+EMNL.ref);},log:function(href,title,type){type=type||"click";if(type=="pageview")href=href.replace(/^https?:\/\/([^\/]+)/i,"");EMNL.beacon("&type="+type+"&title="+EMNL.enc(title)+"&href="+EMNL.enc(href)+"&ref="+EMNL.ref);if(type=="download"||type=="outbound")EMNL.pause();},video:function(action,time,url,title){if(!url||(action!='play'&&action!='pause'&&action!='seek'&&action!='end'))return false;EMNL.beacon('&type=video&video[action]='+action+'&video[time]='+(time||0)+(title?'&title='+EMNL.enc(title):'')+(url?'&href='+EMNL.enc(url):''));},beacon:function(x,ping){var jsuid='';if(!EMNL_custom.no_cookies){jsuid=EMNL.get_cookie('_jsuid');if(!jsuid){EMNL.set_cookie('_jsuid',EMNL.randy());jsuid=EMNL.get_cookie('_jsuid');}}var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=(ping?EMNL.pingbase:EMNL.base)+x+'&jsuid='+jsuid+'&mime=js&x='+Math.random();(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(s);EMNL.ref="";EMNL.ping_start();},ping:function(){EMNL.beacon("&type=ping",1);},ping_set:function(interval,stop){if(!interval||!stop)return;var pingy=setInterval(EMNL.ping,interval*1000);setTimeout("clearInterval("+pingy+")",stop*1000);EMNL.ping();},ping_start:function(){if(EMNL.pinging||EMNL_custom.ping_disable)return;EMNL.pinging=1;var last_timeout=(EMNL_custom.timeout&&EMNL_custom.timeout>=5&&EMNL_custom.timeout<=240)?((EMNL_custom.timeout-1)*60)+5:605;setTimeout("EMNL.ping()",30*1000);setTimeout("EMNL.ping_set(80,"+last_timeout+")",60*1000);},get_cookie:function(name){var ca=document.cookie.split(';');for(var i=0,l=ca.length;i<l;i++){if(eval("ca[i].match(/\\b"+name+"=/)"))return decodeURIComponent(ca[i].split('=')[1]);}return'';},set_cookie:function(name,value){var ex=new Date;ex.setTime(ex.getTime()+20*365*86400*1000);document.cookie=name+"="+value+";expires="+ex.toGMTString()+";path=/;domain=."+location.hostname.replace(/^www\./i,"")+";";},randy:function(){var r=0,s="",c="0123456789";for(var i=0,l=c.length;i<19;i++){r=Math.floor(Math.random()*l);s+=c.substring(r,r+1);}return s.replace(/^0+/,"");},pause:function(x){var now=new Date();var stop=now.getTime()+(x||EMNL_custom.timer||500);while(now.getTime()<stop)var now=new Date();},isset:function(e){return(typeof(window[e])!="undefined");},enc:function(e){return window.encodeURIComponent?encodeURIComponent(e):escape(e);},goal:function(id,revenue){EMNL.beacon("&type=goal&goal[id]="+id+"&goal[revenue]="+revenue);},add_event:function(e,type,func){if(e.addEventListener){e.addEventListener(type,func,false);}else if(e.attachEvent){e.attachEvent("on"+type,func);}},download:function(e){EMNL.img_src(e,"download");},outbound:function(e){EMNL.img_src(e,"outbound");},click:function(e){EMNL.img_src(e,"click");},img_src:function(e,type){obj=EMNL.get_target(e);EMNL.log(EMNL.get_href(obj),EMNL.get_text(obj),type);},get_text:function(e){do{var txt=e.text?e.text:e.innerText;if(txt)return txt;if(e.alt)return e.alt;if(e.title)return e.title;if(e.src)return e.src;e=EMNL.get_parent(e);}while(e);return"";},get_href:function(e){do{if(e.href&&!e.src)return e.href;e=EMNL.get_parent(e);}while(e);return"";},get_parent:function(e){return e.parentElement||e.parentNode;},get_target:function(e){if(!e)var e=window.event;var t=e.target?e.target:e.srcElement;if(t.nodeType&&t.nodeType==3)t=t.parentNode;return t;},advanced:function(){if(EMNL_custom.advanced_disable)return;var is_download=new RegExp("\\.(7z|aac|avi|cab|csv|dmg|doc(x|m|b)?|exe|flv|gif|gz|jpe?g|js|m4a|mp(3|4|e?g)|mov|msi|ods|pdf|phps|png|ppt(x|m|b)?|rar|rtf|sea|sit|tar|torrent|txt|wma|wmv|xls(x|m|b)?|xml|zip)$","i");var is_link=new RegExp("^(https?|ftp|telnet|mailto):","i");var is_link_internal=new RegExp("^https?:\/\/(.*)"+location.host.replace(/^www\./i,""),"i");var a=document.getElementsByTagName("a");for(var i=0;i<a.length;i++){if(a[i].className.match(/EMNL_log/i)){if(a[i].className.match(/EMNL_log_download/i)){EMNL.add_event(a[i],"mousedown",EMNL.download);}else if(a[i].className.match(/EMNL_log_outbound/i)){EMNL.add_event(a[i],"mousedown",EMNL.outbound);}else{EMNL.add_event(a[i],"mousedown",EMNL.click);}}else{if(is_link.test(a[i].href)&&!a[i].className.match(/EMNL_ignore/i)){if(is_download.test(a[i].href)){EMNL.add_event(a[i],"mousedown",EMNL.download);}else if(!is_link_internal.test(a[i].href)){EMNL.add_event(a[i],"mousedown",EMNL.outbound);}}}}}};if(!EMNL.isset("EMNL_custom"))EMNL_custom={};if(EMNL.isset("EMNL_page_title"))EMNL_custom.title=EMNL_page_title;if(EMNL.isset("EMNL_advanced_disable"))EMNL_custom.advanced_disable=1;if(EMNL.isset("EMNL_pause_timer"))EMNL_custom.timer=EMNL_pause_timer;if(EMNL.isset("EMNL_custom_session"))EMNL_custom.session=EMNL_custom_session;if(EMNL.isset("EMNL_goal"))EMNL_custom.goal=EMNL_goal;if(EMNL.isset("async_site_id"))var EMNL_site_id=async_site_id;if(EMNL.isset("EMNL_site_id")){EMNL_custom.async=1;EMNL.init(EMNL_site_id);}function statsgoyes(site_id){EMNL.init(site_id);}var videogoyes=EMNL.video;statsgoyes(131745);