/** WebTrendsProcessing.js

Remarks: This javascript provides page usage statistics to WEBTRENDS. 
		 It should be placed in the body of an html page. The ORDER,
		 SERVER, and CONTENTGROUP variables must be defined prior to 
		 exicuting this code.
		 
Author: Unknown - file created by Chuck Ingrum
Revision History:
4/6/2002 - File Creation
**/
function ActivateWebTrends(strSERVER, strORDER, strCONTENTGROUP) {
	// Modification of this code is not allowed and will permanently disable your account!
	// SiteName: HOK Sustainable Design News
	var W="tagver=3&SiteId=103264&Sid=005-01-9-13-277812-103264&Tz=-600&firstwkday=sunday&Edition=enterprise&Button=";
	W+="&server="+escape(strSERVER);
	W+="&order="+escape(strORDER);
	W+="&Group="+escape(strCONTENTGROUP);
	W+="&browserDate="+escape(new Date());
	W+="&title="+escape(document.title);
	W+="&url="+escape(window.document.URL);
	W+="&referrer="+escape(window.document.referrer);
	W+="&appname="+escape(navigator.appName);
	W+="&appversion="+escape(navigator.appVersion);
	W+="&cookieOK="+(navigator.cookieEnabled?"Yes":"No");
	W+="&userLanguage="+(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);
	W+="&platform="+navigator.platform;
	W+="&bgColor="+escape(document.bgColor);
	W+="&javaOK=Yes";
	if(typeof(screen)=="object")
	{
		W+="&screenResolution="+screen.width+"x"+screen.height;
		W+="&colorDepth="+screen.colorDepth;
		W+="&NSpluginList=";
		for( var i=0; i< navigator.plugins.length; i++)
		W+=escape(navigator.plugins[i].name)+";";
	}
	document.write('<A TARGET="_blank" HREF="http://www.webtrendslive.com/redirect.asp?siteID=103264">');
	document.write('<IMG BORDER="0" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/S005-01-9-13-277812-103264/button3.asp?'+W+'">');
	document.write('</A>');
}

