
var s_account="primediabcasteng";
var path = location.pathname;

// set the fullpath including the querystring...like CGI.REQUEST_URI
if( location.search.length != 0 ){  var fullPath=path + location.search; }
else{ var fullPath=path; }


s=s_gi(s_account);
s.channel="Community";
s.pageName=fullPath;

var Today= new Date();
s.prop1=Today.getHours();
s.prop2=location.hostname;
s.prop8=s_account;

// Set s.prop6 to be photos... .if we end up on some other page somehow, list it as 'general' // 
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"; 
	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.trackingServer="primediabcasteng.122.2O7.net";
s.trackingServerSecure="primediabcasteng.122.2O7.net";

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code);
 
