function DcsInit(webtrends_id, webtrends_domain, webtrends_image){
  this.dcsid=webtrends_id; 
  this.domain= webtrends_domain || "statse.webtrendslive.com"; // VehicleHistoryWeb needs to modify the domain for mobile; default to statse.webtrendslive.com
  this.image = webtrends_image || "dcs.gif"; //VehicleHistoryWeb needs to make this configurable
  this.doms="manheim.com"; // domains you have logging deployed on i.e. "local"
  this.downloadtypes="xls,doc,pdf,txt,csv,zip"; // 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>");
        }
  })();
}

