

$vizzit={addEvent:function(el,l,h){if(typeof el[l]!='function'||typeof el[l+'_num']=='undefined'){el[l+'_num']=0;if(typeof el[l]=='function'){el[l+0]=el[l];el[l+'_num']++;}el[l]=function(e){var r=true;e=(e)?e:window.event;for(var i=0;i<el[l+'_num'];i++)if(el[l+i](e)===false)r=false;return r;}}for(var i=0;i<el[l+'_num'];i++)if(el[l+i]==h)return;el[l+el[l+'_num']]=h;el[l+'_num']++;},link_click:function(w){try{var t=this;var l;if(typeof(w) == "string") { l = w; } else { l = (t.href.indexOf(document.location.href)==-1) ? t.href :  t.pathname || t.href; }var vt=document.createElement("img");vt.setAttribute("src","//www.vizzit.se/vizzittag/assets/click.gif?"+Math.random()+"&p="+escape(l)+"&l="+escape(document.location)+"&c="+escape($vizzit.c)+"&d=ncc_fi");vt.setAttribute("width","1");vt.setAttribute("height","1");document.body.appendChild(vt);}catch(e){}},gc:function(n){var s=document.cookie.indexOf(n+"=");var l=s+n.length+1;if((!s)&&(n!=document.cookie.substring(0,n.length)))return null;if(s==-1)return null;var e=document.cookie.indexOf(';',l);if(e==-1)e=document.cookie.length;return unescape(document.cookie.substring(l,e));},sc:function(n,v){var td=new Date();var ed=new Date(td.getTime()+365*86400000);document.cookie=n+'='+escape(v)+';expires='+ed.toGMTString()+';path=/';}};
if(!($vizzit.c=$vizzit.gc('___vizzit'))){$vizzit.c='KgnLHxT2v5k5XBAT2U0gcg==:1283477924';$vizzit.sc('___vizzit',$vizzit.c);};
$vizzit.s=document.createElement('script');
$vizzit.s.setAttribute("type","text/javascript");
$vizzit.s.setAttribute("src", '//www.vizzit.se/vizzittag/assets/pixel.js?'+Math.random()+'&d=ncc_fi&r='+escape(document.referrer)+'&l='+escape(document.location)+'&c='+escape($vizzit.c)+'&s='+screen.width+'x'+screen.height);
document.getElementsByTagName("head")[0].appendChild($vizzit.s);
for(i=0;i<document.links.length;i++){l=document.links[i];if (!/^javascript/.test(document.links[i].href) && ((/\.(pdf|doc|zip|rtf|wmv|exe)$/.test(document.links[i].pathname) || (document.links[i].host.toString().replace('www.','').replace(/:\d+/,'') != document.domain.toString().replace('www.',''))))){$vizzit.addEvent(l,"onclick",$vizzit.link_click);}}
