
function DcsInit(){
      var dynDcsId;
      var dynDoms;
      var domainName=document.domain;
	   if(domainName=="www.ssga.com" || domainName=="ssga.com" || domainName=="search.ssga.com")
	    {
	        dynDcsId="dcskl0tet000000ourccv80p2_4e2d";   //SSgA.com PROD WebTrends DcsID
	        dynDoms="www.ssga.com";
	        
	    }else if(domainName=="uat-www.ssga.com" || domainName=="uat-www-12.ssga.com" || domainName=="search-uat.ssga.statestr.com")
	    {
	        dynDcsId="dcsnv2iic000004no5wh7e24p_2f1p"; //SSgA.com UAT WebTrends DcsID
	        dynDoms="uat-www.ssga.com";
	        
	    }else{
	      
	        dynDcsId="dcstest21000000this_is_dummy_id"; //WebTrends Dummy DcsID
	        dynDoms="No domain";
	    }
	    
	this.dcsid=dynDcsId; 
	this.domain="statse.webtrendslive.com"; // hostname of your SDC Server
        this.doms=dynDoms; // domains you have logging deployed on i.e. "local"
	this.downloadtypes="xls,doc,ppt,pdf,txt,csv,zip,tif,jpeg,jpg,gif,mp3,eps"; // Files you have on your site that can't run JS
	this.enabled=true;
	this.exre=(function(){
		if (window.RegExp){
			return(new RegExp("dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)","i"));
		}
		else{
			return("");
		}
	})();
	this.fpc="WT_FPC";
	this.fpcdom="";
	this.i18n=false;
	this.images=[];
	this.index=0;
	this.qp=[];
	this.re=(function(){
		if (window.RegExp){
			return(this.i18n?{"%25":/\%/g}:{"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g});
		}
		else{
			return("");
		}
	})();
	this.timezone=-5;
	this.trackevents=true;
	var t=this;
    (function(){
        if (t.enabled&&(document.cookie.indexOf(t.fpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){
            document.write("<scr"+"ipt type='text/javascript' src='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+t.domain+"/"+t.dcsid+"/wtid.js"+"'><\/scr"+"ipt>");
        }
	})();
}
var DCS={};
var WT={};
var DCSext={};
var dcsInit=new DcsInit();
