function keywordValue(sSite)
//replacement for original function using getElementById
//designed for use with .NET Core Template

// xx.xx.2006 	EBS		Added object detection to check for webtrends scripts, so this can be used in XSLT transformed leftnavs on ASP pages
// 07.26.2007	EBS		Modified to do a match on US landing page if we have old tracking script, to add click track for go button to US clicks off home page report.
{
	if (!document.getElementById) return;
	
	var theForm = document.getElementById('keywordsearch');
	var keyword = document.getElementById('keyword_box').value;

	if (keyword.toLowerCase() == 'search')
		keyword = '';
	
			// now we call tracking function to add keyword searches to WebTrends WRC Reports
			// Object detection to determine whether we have new or old tracking script available
	if (typeof WT == 'function') {
		
				// If we're on a new dotnet page, hit the search report
		document.wt.trackInterstitial('search', 'keyword', keyword);
		
	} else if (typeof TrackInterstitial == 'function') {
	
				// If we have old tracking script and we're on the US homepage, hit golink report ...
		if ((location.href.match(/\/tw\/default.asp/i)) || (location.href.substr(location.href.indexOf('/tw/')) == '/tw/' )) {
			TrackInterstitial('Homepage', 'Section', 'Button - GO');
		}
				// ... and the search report
		TrackInterstitial('search', 'keyword', keyword);	
	}
}