
var account="pentonwindowsdevpro";

s=s_gi(account);
s.channel="Community";

var Today= new Date();
s.prop1=Today.getHours();
s.prop2=location.hostname;
s.prop8=account;

// Determine if this is the blogs or the forums - for s.prop6 // 
var Path = location.pathname;
if( Path.search( /forums/i ) > 0 ){ s.prop6="Forums"; }
else if( Path.search( /blogs/i ) > 0 ){ s.prop6="Blogs"; }
else if( Path.search( /search/i ) > 0 )
{ 
	s.prop6="Search";    // Since this is a search we have more vars to fill
	var queryString=location.search;
	var begin=(queryString.indexOf("=") + 1);
	var end=queryString.indexOf("&");
	if( end == -1 ){ end = queryString.length; }
	var searchTerms=queryString.slice(begin, end);
	s.prop3=searchTerms.replace(/\+/g, " ");       // unfortunately, there is no easy way in 
												   //  Community Server to get the number of 
												   //  search results...
}
else{ s.prop6="General"; }
////////////////////////////////////////////////////////////////

s.pageName = (document.title) ? document.title : "";
s.trackingServer="metrics.windowsdevpro.com";
s.trackingServerSecure="smetrics.windowsdevpro.com";

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code);
 
