//  WebbTrafikIndex (WTI) collection code v2.0.0  
//  (c) 2008 - F. Yancy, www.wti.se
//  Do not modify!

    var d=document;
    var dc=d.cookie;
	function getCookie(__cn)
	{
	if (dc.length>0)
  	{
  	__cs=dc.indexOf(__cn + "=");
  	if (__cs!=-1)
	    { 
	    __cs=__cs + __cn.length+1; 
	    __ce=dc.indexOf(";",__cs);
	    if (__ce==-1) __ce=dc.length;
	    return unescape(dc.substring(__cs,__ce));
    	} 
	  }
	return "";
	}

	var _rv = new Date();
	var _cd = "wti.webbanalys.se"; // Collector domain must be stated
	var _sc = "http"+(d.URL.indexOf('https:')==0?'s':'');
	var _cv = getCookie('Analyzer'); // State cookie name of web analytics system created under local domain when performing revision checks of traffic data
	
	if (_cv.length == 0) {
		_cv = "no_cookie";
	}

	if (d.domain != _cd) { 
    	_ds = "<img src=\""+_sc+"://"+_cd+"/wti.txt?WTIdc="+d.domain+"&WTIpd="+d.location.pathname+"&WTIcc="+_cv+"&WTIrv="+_rv.getTime()+"\" height=1 width=1>";
		d.writeln(_ds); 
	}
