// Environment Specific script
//
// Consolidate all environment specific information in this file.
// There is a different version of this file in each environment,
// namely,
// - development
// - test
// - staging1
// - staging2
// - production
//
// The following are the environments that can be used to swap into the value of IEM_HOST
//    TEST:			http://inetapp-tst.em.nykline.com/app/iem-contents/iem-login.asp
//    STAGING:		http://inetapp.em.nykline.com/app/iem-contents/iem-login.asp

// -------- Put Environment specific constants here ----------

var WINS_HOST = "www.nykline.com";
var PEGASUS_HOST = "www2.nykline.com";
var WINS_PUBLIC_HOST = "http://" + WINS_HOST;
var PEGASUS_PUBLIC_HOST = "http://" + PEGASUS_HOST;
var WINS_PRIVATE_HOST = "https://" + WINS_HOST; // change to "https" with SSL implementation except for tst2 
var PEGASUS_PRIVATE_HOST = "https://" + PEGASUS_HOST; // change to "https" with SSL implementation except for tst2

var IEM_HOST = "http://" + "iem.nykline.com";

//Added for UltraSeek Search Functionality
var USEEK_HOST = "search.nykline.com";
var USEEK_PUBLIC_HOST = "http://" + USEEK_HOST;

//Added for SDC
var SDC_HOST = "wtsdc.nykline.com";
var SDC_DCSID   = "dcst5fg0e2los5b5phhsxn17g_5n7d";
// ------------------------------------------------------------
function randomizeHref(obj,url) {
var text = new Date();
obj.href= url + "?I1l=" + text.getTime();}

function getPegasusHost() {
  return PEGASUS_HOST;
}

function getWinsHost() {
  return WINS_HOST;
}

function getPublicPegasusHost() {
  return PEGASUS_PUBLIC_HOST;
}

function getPublicWinsHost() {
  return WINS_PUBLIC_HOST;
}

function getPrivatePegasusHost() {
  return PEGASUS_PRIVATE_HOST;
}

function getPrivateWinsHost() {
  return WINS_PRIVATE_HOST;
}

function getIEMHost() {
  return IEM_HOST;
}

//Added for UltraSeek Search Functionality
function getPublicUSeekHost() {
  return USEEK_PUBLIC_HOST;
}

//SDC
function getSDCHost() {
   return SDC_HOST;
}

function getSDCDcsId() {
   return SDC_DCSID;
}
