

// Modification of this code is not allowed and will permanently
// disable your account!
// SiteName:  www.wie.org


function wtl_Tag5_138562()
{
	var SERVER= "";
	var CONTENTGROUP= "";
	
	var wtl_URL= document.URL;
	var wtl_Title= document.title;

	//---- begin jb customization (10/27/02) -- see ac.org as well
	
		// always LC
		//
		wtl_URL = wtl_URL.toLowerCase();
		
		// ensure "www" is NOT in the URL 
		// (otherwise we get duplicates: "http://ac.org" and "http://www.ac.org")
		//
		if ( wtl_URL.indexOf('www.')>=0)
			wtl_URL = wtl_URL.replace( /www./, '');

		// ensure the file name is in the URL. applies specifically
		//	to a directory request, which is converted by the server
		//	into "default.asp". (again, we have a duplicate problem when people
		//	request "http://ac.org/teachings/" and "/teachings/default.asp")
		//
		if ( wtl_URL.indexOf('.asp')<0)
			wtl_URL = wtl_URL + 'default.asp';
		
		// for testing only
		// document.write ( "<br><br><br><br><br><br><br>[[" + wtl_URL + "]]");
	
		// don't track from test or dev sites
		if ( wtl_URL.indexOf('wie.org')<0)
			return 0;
		
	//---- end jb customization

	function D8( d)
	{
		var fwd=0, seed= new Date('01/01/2000'), key= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
		var s= key.charAt( d.getFullYear()-2000)+key.charAt( d.getMonth()+1)+key.charAt( d.getDate());
		s+= key.charAt( d.getHours())+key.charAt( d.getMinutes())+key.charAt( d.getSeconds());
		while( seed.getDay()!=fwd) seed= new Date(seed.getTime() + 86400000);
		var w= Math.floor( (d.getTime()-(seed.getTime()+86400000)) / 604800000 );
		s+= key.charAt( (w-(w%16))/16 );
		s+= key.charAt( w%16);
		return s;
	}
	
	function A( B, C)
	{
		W+="&"+B+"="+escape(C);
	}

	var t = new Date();
	var W="http"+(document.URL.indexOf('https:')==0?'s':'')+"://statse.webtrendslive.com/S138562/button5.asp?tagver=5&si=138562&fw=0";
	A( "server", typeof(SERVER)== "string" ? SERVER : "");
	A( "Group", typeof(CONTENTGROUP)== "string" ? CONTENTGROUP : "");
	A( "tz", t.getTimezoneOffset());
	A( "ch", t.getHours());
	A( "cl", D8(t));
	A( "ti", typeof(wtl_Title)== "string" ? wtl_Title : document.title);
	A( "url", typeof(wtl_URL)== "string" ? wtl_URL : document.URL);
	A( "rf", window.document.referrer);
	A( "js", "Yes");
	A( "ul", navigator.appName=="Netscape" ? navigator.language : navigator.userLanguage);
	if(typeof(screen)=="object")
	{
	A( "sr", screen.width+"x"+screen.height);
	A( "cd", screen.colorDepth);
	A( "jo", navigator.javaEnabled()?"Yes":"No");
	}
	if( W.length>2048 && navigator.userAgent.indexOf('MSIE')>=0)
		W= W.substring( 0, 2043)+"&tu=1";

	document.write('<IMG ID="WTL_138562" BORDER="0" WIDTH="1" HEIGHT="1" SRC="'+W+'">');
}

wtl_Tag5_138562();
