ID="2";e1="mys";e2="tatistik";e3="com";e=e1+e2+"."+e3;e4="http://";e5="https://";q1=e5+"www."+e;q2=e4+"www."+e;function addEvtListener(c,b,a){if(document.addEventListener)if(c)c.addEventListener(b,a,false);else addEventListener(b,a,false);else if(attachEvent)if(c)c.attachEvent("on"+b,a);else attachEvent("on"+b,a)}var clickHeatGroup="",clickHeatSite="",clickHeatServer="",clickHeatLastIframe=-1,clickHeatTime=0,clickHeatQuota=-1,clickHeatBrowser="",clickHeatDocument="",clickHeatWait=500,clickHeatLocalWait=0,clickHeatDebug=document.location.href.indexOf("debugclickheat")!==-1;function showClickHeatDebug(a){if(clickHeatDebug===true){document.getElementById("clickHeatDebuggerSpan").innerHTML=a;document.getElementById("clickHeatDebuggerDiv").style.display="block"}}function catchClickHeat(e){var z="<br/>group = ",y="<br/>site = ",x="<br/>click = ",w="<br/>browser = ",v="px from top + ",u="px from left + ",l=" (",t=" with the following parameters:<br/>x = ",s="Click recorded at ",k=null,b=true,j,i,d,c,g,q,p,o,f,h,r,m,A,n,B=false,a=false;try{showClickHeatDebug("Gathering click data...");if(clickHeatQuota===0){showClickHeatDebug("Click not logged: quota reached");return b}if(clickHeatGroup===""){showClickHeatDebug("Click not logged: group name empty (clickHeatGroup)");return b}if(!e)e=window.event;j=e.which||e.button;i=e.srcElement||k;if(j===0){showClickHeatDebug("Click not logged: no button pressed");return b}if(i!==k&&i.tagName.toLowerCase()==="iframe"){if(i.sourceIndex===clickHeatLastIframe){showClickHeatDebug("Click not logged: same iframe (a click on iframe opens a popup and popup is closed => iframe gets the focus again)");return b}clickHeatLastIframe=i.sourceIndex}else clickHeatLastIframe=-1;d=e.clientX;c=e.clientY;g=clickHeatDocument.clientWidth||window.innerWidth;q=clickHeatDocument.clientHeight||window.innerHeight;f=window.pageXOffset||clickHeatDocument.scrollLeft;h=window.pageYOffset||clickHeatDocument.scrollTop;p=Math.max(clickHeatDocument.scrollWidth,clickHeatDocument.offsetWidth,g);o=Math.max(clickHeatDocument.scrollHeight,clickHeatDocument.offsetHeight,q);if(d>g||c>q){showClickHeatDebug("Click not logged: out of document (should be a click on scrollbars)");return b}d+=f;c+=h;if(d<0||c<0||d>p||c>o){showClickHeatDebug("Click not logged: out of document (should be a click out of the document's body)");return b}r=new Date;if(r.getTime()-clickHeatTime<1e3){showClickHeatDebug("Click not logged: at least 1 second between clicks");return b}clickHeatTime=r.getTime();if(clickHeatQuota>0)clickHeatQuota=clickHeatQuota-1;n="s="+clickHeatSite+"&g="+clickHeatGroup+"&x="+d+"&y="+c+"&w="+g+"&b="+clickHeatBrowser+"&c="+j+"&random="+Date();showClickHeatDebug("Ready to send click data...");if(clickHeatServer.indexOf("http")!==0){try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(E){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(D){a=k}}if(!a&&typeof XMLHttpRequest!=="undefined")a=new XMLHttpRequest;if(a){if(clickHeatDebug===b)a.onreadystatechange=function(){if(a.readyState===4){if(a.status===200)showClickHeatDebug(s+clickHeatServer+t+d+l+(d-f)+u+f+"px of horizontal scrolling, max width = "+p+")<br/>y = "+c+l+(c-h)+v+h+"px of vertical scrolling, max height = "+o+")<br/>width = "+g+w+clickHeatBrowser+x+j+y+clickHeatSite+z+clickHeatGroup+"<br/><br/>Server answer: "+a.responseText);else if(a.status===404)showClickHeatDebug("click.php was not found at: "+(clickHeatServer!==""?clickHeatServer:"/clickheat/click.php")+" please set clickHeatServer value");else showClickHeatDebug("click.php returned a status code "+a.status+" with the following error: "+a.responseText);clickHeatLocalWait=0}};a.open("GET",clickHeatServer+"?"+n,b);a.send(k);B=b}}if(B===false)if(clickHeatDebug===b)showClickHeatDebug(s+clickHeatServer+t+(d+f)+l+d+u+f+"px of horizontal scrolling)<br/>y = "+(c+h)+l+c+v+h+"px of vertical scrolling)<br/>width = "+g+w+clickHeatBrowser+x+j+y+clickHeatSite+z+clickHeatGroup+'<br/><br/>Server answer:<br/><iframe src="'+clickHeatServer+"?"+n+'" width="700" height="60"></iframe>');else{A=new Image;A.src=clickHeatServer+"?"+n}m=new Date;clickHeatLocalWait=m.getTime()+clickHeatWait;while(clickHeatLocalWait>m.getTime())m=new Date}catch(C){showClickHeatDebug("An error occurred while processing click (Javascript error): "+C.message)}return b}function initClickHeat(){var b,e,f,c,d,a;if(clickHeatDebug===true){a=document.createElement("div");a.id="clickHeatDebuggerDiv";a.style.padding="5px";a.style.display="none";a.style.position="absolute";a.style.top="200px";a.style.left="200px";a.style.border="1px solid #888";a.style.backgroundColor="#eee";a.style.color="#a00";a.style.zIndex=99;a.innerHTML='<a href="#" onmouseover="document.getElementById(\'clickHeatDebuggerDiv\').style.display = \'none\'; return false" style="float:right">Rollover to close</a><strong>ClickHeat debug:</strong><br/><br/><span id="clickHeatDebuggerSpan"></span>';document.body.appendChild(a)}if(clickHeatGroup===""||clickHeatServer===""){showClickHeatDebug("ClickHeat NOT initialised: either clickHeatGroup or clickHeatServer is empty");return false}d=document.location.protocol+"//"+document.location.host;if(clickHeatServer.indexOf(d)===0)clickHeatServer=clickHeatServer.substring(d.length,clickHeatServer.length);addEvtListener(document,"mousedown",catchClickHeat);e=document.getElementsByTagName("iframe");for(b=0;b<e.length;b+=1)addEvtListener(e[b],"focus",catchClickHeat);clickHeatDocument=document.documentElement&&document.documentElement.clientHeight!==0?document.documentElement:document.body;f=navigator.userAgent?navigator.userAgent.toLowerCase().replace(/-/g,""):"";c=["chrome","firefox","safari","msie","opera"];clickHeatBrowser="unknown";for(b=0;b<c.length;b+=1)if(f.indexOf(c[b])!==-1){clickHeatBrowser=c[b];break}showClickHeatDebug("ClickHeat initialised with:<br/>site = "+clickHeatSite+"<br/>group = "+clickHeatGroup+"<br/>server = "+clickHeatServer+"<br/>quota = "+(clickHeatQuota===-1?"unlimited":clickHeatQuota)+"<br/>browser = "+clickHeatBrowser+"<br/><br/><strong>Click in a blank area (not on a link) to test ClickHeat</strong>")}clickHeatSite=ID;clickHeatGroup=encodeURIComponent(window.location.pathname+window.location.search);clickHeatServer=q2+"/plugins/ClickHeat/libs/click.php";initClickHeat();var pkBaseURL="https:"==document.location.protocol?q1+"/":q2+"/";document.write(unescape("%3Cscript src='"+pkBaseURL+"stat.js' type='text/javascript'%3E%3C/script%3E"));try{var myStat=Piwik.getTracker(pkBaseURL+"stat.php",ID);myStat.trackPageView();myStat.enableLinkTracking()}catch(err){};
