var Config = Class.create({
  initialize : function() {
    this.webRootUrl = null;
    this.webRootUrlSecure = null;
    this.ajaxRootUrl = null;
    this.servletBase = null;
    this.testMode = null;
    this.debugMode = null;
    this.siteID = null;
    this.dmaID = null;
    this.dirSeparator = null;
    this.sysAdImagesSourcePath = null;
    this.sysAdImagesPath = null;
    this.webAdImagesUrl = null;
    this.realEstateCategories = null;
    this.authId = null;
    //siteid for tnol.com
    this.cTnolSiteID = 1;
    //siteid for american classifieds
    this.cAmericanClassifiedsSiteID = 2;
    this.pageName = null;
    this.railoMode = false;
    this.remoteAddr = null;
  },

  setFrontEnd : function(webRootUrl, webRootUrlSecure, ajaxRootUrl, servletBase, testMode, debugMode, siteID, dmaId, dirSeparator,
        sysAdImagesSourcePath, sysAdImagesPath, webAdImagesUrl, realEstateCategories, pageName, railoMode, remote_addr) {
    this.webRootUrl = webRootUrl;
    this.webRootUrlSecure = webRootUrlSecure;
    this.ajaxRootUrl = ajaxRootUrl;
    this.servletBase = servletBase;
    this.testMode = testMode;
    this.debugMode = debugMode;
    this.siteID = siteID;
    this.dmaID = dmaId;
    this.dirSeparator = dirSeparator;
    this.sysAdImagesSourcePath = sysAdImagesSourcePath;
    this.sysAdImagesPath = sysAdImagesPath;
    this.webAdImagesUrl = webAdImagesUrl;
    this.realEstateCategories = realEstateCategories;
    this.pageName = pageName;
    this.railoMode = railoMode;
    this.remoteAddr = remote_addr;
  },

  setBackEnd : function(webRootUrl, webRootUrlSecure, ajaxRootUrl, servletBase, testMode, debugMode, dirSeparator,
        sysAdImagesSourcePath, sysAdImagesPath, webAdImagesUrl, authId, remote_addr) {
    this.webRootUrl = webRootUrl;
    this.webRootUrlSecure = webRootUrlSecure;
    this.ajaxRootUrl = ajaxRootUrl;
    this.servletBase = servletBase;
    this.testMode = testMode;
    this.debugMode = debugMode;
    this.dirSeparator = dirSeparator;
    this.sysAdImagesSourcePath = sysAdImagesSourcePath;
    this.sysAdImagesPath = sysAdImagesPath;
    this.webAdImagesUrl = webAdImagesUrl;
    this.authId = authId;
    this.remoteAddr = remote_addr;
  }
});

