var clicky={init:function(){clicky.img=new Image();clicky.img_base="http://pmetrics.performancing.com/in.php?site_id=356&srv=db1&r="+Math.random();var lang=navigator.appName=='Netscape'?navigator.language:navigator.browserLanguage;clicky.img.src=clicky.img_base+'&title='+clicky.enc(document.title)+'&href='+clicky.enc(location.pathname+location.search)+'&ref='+clicky.enc(document.referrer)+'&res='+screen.width+'x'+screen.height+'&lang='+lang.substr(0,2);clicky.add_event(window,"load",clicky.advanced);},isset:function(e){return(typeof(window[e])!="undefined");},enc:function(e){return encodeURIComponent(e);},img_src:function(e,type){obj=clicky.get_target(e);var txt=clicky.get_text(obj).substr(0,60);var href=clicky.get_href(obj);if(type=="download")href=href.replace(/^https?:\/\/([^\/]+)/i,"");clicky.img.src=clicky.img_base+"&type="+type+"&title="+clicky.enc(txt)+"&href="+clicky.enc(href);clicky.pause();},download:function(e){clicky.img_src(e,"download");},outbound:function(e){clicky.img_src(e,"outbound");},pause:function(){var now=new Date();var stop=now.getTime()+1000;while(now.getTime()<stop)var now=new Date();},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=clicky.get_parent(e);}while(e);return"";},get_href:function(e){do{if(e.href&&!e.src)return e.href;e=clicky.get_parent(e);}while(e);return"";},get_parent:function(e){return e.parentElement?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;},add_event:function(e,event,func){if(e.addEventListener){e.addEventListener(event,func,false);}else if(e.attachEvent){e.attachEvent("on"+event,func);}},advanced:function(){}};clicky.init();