/* SiteCatalyst code version: H.14.
Copyright 1997-2007 Omniture, Inc. More info available at
http://www.omniture.com */
/************************ ADDITIONAL FEATURES ************************
     Plugins
*/

//
// added 3/18/08 - Nathan
// fix to work around the variable change by Omniture
//
if (typeof(s_pagename) != "undefined") {
	s_pageName = s_pagename;
}

/* Version G9 */
/* 12/06/2006 5:00 */
/* Begin Code to for Mapping to Suites */
/** Global Load Values **/

var defaultSpot = 0;
var s_account;
var internal_acccountToAddOnLookup;

s_account="harrahsglobal"
s_gi(s_account,1)


//var jsp_encr;
var const_NoPropertyCode = "No Property Code";
var const_NoDivision = "No Division";
var const_NoPropertyType = "No Property Type";
var const_NoBrand = "No Brand";
var const_NoMarket = "No Market";
var const_NoLogin = "Non-Login";

/* **************************************************************************************************** */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* **************************************************************************************************** */

/*function isEncrypted(s_ssl,rs)
{
    var redirectHost;
       
        redirectHost = '/omniture/TrackingTags.jsp';
   
    if (jsp_encr != undefined && jsp_encr == "yes")
        
        return (redirectHost+'?redirect=yes&request='+escape(rs));
    
    else
        return rs;
}*/

function areEqualStr1toStr2(str1, str2)
{
   var returnBoolean = false;
   if (str1 && str2)
   {
      str1 = trim(str1);
      str2 = trim(str2);
      if ((str1.length == str2.length) && (str1.indexOf(str2) == 0))
      {
         returnBoolean = true;
      }
   }
   else if (!str1 && !str2)
   {
      returnBoolean = true;
   }

   return returnBoolean;
}

/**
 * Function to find out if we are in a dev environment.
 * We need to define here what servers are dev/stage (non-production).
 * Example: http://www.harrahs.com would return "false"
 * while    http://test.harrahs.com would return "true"
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function findIfDev()
{
   // Put URL into variable, then split it up at the slashes
   var URL = document.URL;
   var urlArray = URL.split("/");
   var isDev = true;
   if (urlArray == null || urlArray.length < 2)
      isDev=true;
   else if (urlArray[2].indexOf("www.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("msn.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("investor.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("playforfun.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahs.custhelp.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("directions.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.riovegasnights.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("payflow.hodes.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.equibase.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.ladowns.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("insight.smartdm.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.applyonlinenow.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.costore.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahs.neatgroup.com") >=0)
      isDev=false;
   //   else if (urlArray[2].indexOf("www.worldseriesofpoker.com") >=0)
      // isDev=false;
   else if (urlArray[2].indexOf("secure.neatgroup.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsent.directtrak.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.caesars.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.shopcaesars.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.laketahoenights.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("rqst4.info") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("careercast.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("webcasting.cashmanpro.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.whiskeyroadhouse.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.accountryclub.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.stlnightscene.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.imperialpalace.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("game.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahs2.moving.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("diversity.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.stirnightclub.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.pulseofvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("pulseofvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.vegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("vegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("espanolriovegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.voodookc.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("voodookc.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.harrahs-vip.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahs-vip.com") >=0)
      isDev=false;
	else if (urlArray[2].indexOf("www.vniskinshow.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("vniskinshow.com") >=0)
      isDev=false;
	else if (urlArray[2].indexOf("www.planitonline.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("planitonline.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.delivery.vrxstudios.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("delivery.vrxstudios.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.escapetoharrahs.info") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("escapetoharrahs.info") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.dinewithcaesars.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("dinewithcaesars.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.dinearoundvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("dinearoundvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("caesarspalace.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.caesarspalace.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsresort.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.harrahsresort.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("caesarsac.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.caesarsac.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.showboatcasino.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("showboatcasino.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.ballysac.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("ballysac.com") >=0)
      isDev=false;
	  

   else if (urlArray[2].indexOf("www.harrahsakchin.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsakchin.com") >=0)
      isDev=false;	
   else if (urlArray[2].indexOf("www.ballyslasvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("ballyslasvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.harrahschester.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("harrahschester.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.harrahscherokee.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("harrahscherokee.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.harrahscouncilbluffs.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("harrahscouncilbluffs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.flamingolasvegas.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("flamingolasvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.grandcasinobiloxi.com") >=0)
      isDev=false;	
   else if (urlArray[2].indexOf("grandcasinobiloxi.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahstunica.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahstunica.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("horseshoecouncilbluffs.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.horseshoecouncilbluffs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harveystahoe.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harveystahoe.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("imperialpalace.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.imperialpalace.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsjoliet.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsjoliet.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahslouisianadowns.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahslouisianadowns.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahslasvegas.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahslasvegas.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahslaughlin.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahslaughlin.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsmetropolis.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsmetropolis.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsnkc.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsnkc.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsneworleans.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsneworleans.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("parislasvegas.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.parislasvegas.com") >=0)
      isDev=false;	  
   else if (urlArray[2].indexOf("harrahsreno.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsreno.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahsrincon.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsrincon.com") >=0)
      isDev=false;	  
   else if (urlArray[2].indexOf("riolasvegas.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.riolasvegas.com") >=0)
      isDev=false;	  
   else if (urlArray[2].indexOf("harrahsstlouis.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahsstlouis.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("sheratontunica.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.sheratontunica.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahslaketahoe.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahslaketahoe.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("horseshoebossiercity.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.horseshoebossiercity.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("horseshoe-indiana.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.horseshoe-indiana.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("horseshoehammond.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.horseshoehammond.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("horseshoetunica.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.horseshoetunica.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("caesarswindsor.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.caesarswindsor.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("livecaesars.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.livecaesars.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("ballys.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.ballys.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("horseshoe.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.horseshoe.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("harrahs.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.harrahs.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("ideawork.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("www.ideawork.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.tmol.dev1.websys.tmcs") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("tmol.dev1.websys.tmcs") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.ticketmaster.com") >=0)
      isDev=false;		  
   else if (urlArray[2].indexOf("ticketmaster.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("showboatac.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.showboatac.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.suitsforsuitescontest.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("suitsforsuitescontest.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.escweekend.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("escweekend.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.escwknd.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("escwknd.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("app.harrahs-marketing.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("miballysatlanticcity.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.miballysatlanticcity.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("riolvsocial.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.riolvsocial.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("tunica-roadhouse.com") >=0)
      isDev=false;
   else if (urlArray[2].indexOf("www.tunica-roadhouse.com") >=0)
      isDev=false;
	  
	  
   return isDev;
}
 

/**
 * Data Member Function for holding suiteIDs of production and developement
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function suiteID (production,development)
{
   this.pro = production;
   this.dev = development;
}

/**
 * Data Member Function for holding specific mapping information
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function SiteItem (propCode,division,type,brand,isProperty,market,OmnitureSuite)
{
   this.propCode = propCode;
   this.type = type;
   this.division = division;
   this.brand = brand;
   this.isProperty = isProperty;
   this.market = market;
   this.OmnitureSuite = OmnitureSuite;
}

/**
 * Function to add a mapping to an array given.
 * It then returns the new array with that member added.
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function addSiteCode(SiteCodes,item)
{
   if (SiteCodes == null)
      SiteCodes = new Array();
   var nextSpot = SiteCodes.length;
   SiteCodes[nextSpot] = item;
   return SiteCodes;
}

/**
 * Function to trim a string s
 * @param: a string
 * @return: a string with not spaces before or after 
 *
 * Creation Date:(11/19/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function trim(s) 
{
   if (s != null)
   {
      // Remove leading spaces and carriage returns
      while ((s.length > 1) &&
            ((s.substring(0,1) == ' ') || 
            (s.substring(0,1) == '\n') || 
            (s.substring(0,1) == '\r')))
      {
         s = s.substring(1,s.length);
      }
      // Remove trailing spaces and carriage returns
      while ((s.length > 1) &&
            ((s.substring(s.length-1,s.length) == ' ') || 
            (s.substring(s.length-1,s.length) == '\n') || 
            (s.substring(s.length-1,s.length) == '\r')))
      {
         s = s.substring(0,s.length-1);
      }
   }
   else
   {
      s = "";
   }
   return s;
}

/**
 * Function to define all the mappings one by one and add them to an array given.
 * @param: an array to add to 
 * @return: a populated array 
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function populateSiteCodes(SiteCodes)
{
   //Harrahs Enterprise
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("default",const_NoDivision,const_NoPropertyType,const_NoBrand,"N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   //The Consumer Map                     
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("theConsumer",const_NoDivision,const_NoPropertyType,const_NoBrand,"N",const_NoMarket,
                                       new suiteID("harconsumer,harrahsglobal","harrahsglobaldev")));  
                                       
   //Harrahs Corporate
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("corp","","","","N","",
                                       new suiteID("harrahscom,harrahsglobal","harrahsglobaldev")));

   SiteCodes = addSiteCode(SiteCodes,new SiteItem("corpcaesars","","","Caesars","N","",
                                       new suiteID("harcaesarsmain,harrahsglobal","harrahsglobaldev")));

<!--   SiteCodes = addSiteCode(SiteCodes,new SiteItem("tagOnTotalRewards","","","","N","",
       <!--                                new suiteID("hartotalrewardsglobal","harrahsglobaldev"))); -->
                                     
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("tagOnReservations","","","","N","",
                                       new suiteID("harrahserescom","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("tagOnVirtualTours","","","","N","",
                                       new suiteID("harvirtualtour","harrahsglobaldev")));
    
   /**
    *   Added by Web2DOC team   
    */                                    
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("global_myharrahs","","","","N","",
                                   new suiteID("harrahsglobal,harmyharrahs","harrahsglobaldev"))); 
                                                                          
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("global_myharrahs_NTRIS","","","","N","",
                                   new suiteID("harrahsglobal,harmyharrahs,harmyharrahsNTRIS","harrahsglobaldev"))); 

   SiteCodes = addSiteCode(SiteCodes,new SiteItem("global_TR_myharrahs","","","","N","",
                                   new suiteID("harrahsglobal,hartotalrewardsglobal,harmyharrahs","harrahsglobaldev"))); 

   SiteCodes = addSiteCode(SiteCodes,new SiteItem("global_TR_myharrahs_NTRIS","","","","N","",
                                   new suiteID("harrahsglobal,hartotalrewardsglobal,harmyharrahs,harmyharrahsNTRIS","harrahsglobaldev"))); 
    

   /**
    * These properties are divested - goes to Harrahs Enterprise
    * Used for looking up against the patron's dominate property
    */
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("BLA","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("NZE","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("PDB","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("ECH","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("LCH","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("SHR","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("SKA","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("TUN","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("VIC","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("RNO","Divested","Divested","Divested","N",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));

   /**
    * These are Normal Enterprise Properties (broken down by market if needed)
    */
   //=================================
   //Atlantic City Market Suites
   //=================================
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("ACM",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","ACM",
                                       new suiteID("harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("marketatlanticcity",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","ACM",
                                       new suiteID("harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("ATL","Eastern","Destination","Harrahs","Y","ACM",
                                       new suiteID("haratlanticcity,harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("BAC","Eastern","Destination","Bally's","Y","ACM",
                                       new suiteID("harballysatlanticcity,harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("BWW","Eastern","Destination","Bally's","Y","ACM",
                                       new suiteID("harballysatlanticcity,harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("CLA","Eastern","Destination","Bally's","Y","ACM",
                                       new suiteID("harballysatlanticcity,harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("CAC","Eastern","Destination","Caesars","Y","ACM",
                                       new suiteID("harcaesarsatlanticcity,harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));                                   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("SAC","Eastern","Destination","Showboat","Y","ACM",
                                       new suiteID("harshowboatac,harmarketatlanticcity,harrahsglobal","harrahsglobaldev")));
   //=================================
   //Gulf Coast and New Orleans
   //=================================
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("GCM",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","GCM",
                                       new suiteID("harmarketgulfport,harrahsglobal","harrahsglobaldev")));
   
   <!--SiteCodes = addSiteCode(SiteCodes,new SiteItem("marketgulfport",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","GCM",
       <!--                                new suiteID("harmarketgulfport,harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("GBI","Central","Frequency","Grand","Y","GCM",
                                       new suiteID("hargrandcasinobiloxi,harmarketgulfport,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("GGU","Central","Frequency","Grand","Y","GCM",
                                       new suiteID("hargrandcasinogulfport,harmarketgulfport,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("NOR","Central","Destination","Harrahs","Y","GCM",
                                       new suiteID("harneworleans,harmarketgulfport,harrahsglobal","harrahsglobaldev")));
   //=================================
   //Las Vegas
   //=================================
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("LVM",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","LVM",
                                       new suiteID("harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("marketvegas",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","LVM",
                                       new suiteID("harmarketvegas,harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("BLV","Western","Destination","Bally's","Y","LVM",
                                       new suiteID("harballlyslasvegas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("CLV","Western","Destination","Caesars","Y","LVM",
                                       new suiteID("harcaesarspalacelasvegas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("FLV","Western","Destination","Flamingo","Y","LVM",
                                       new suiteID("harflamingolasvegas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("LAS","Western","Destination","Harrahs","Y","LVM",
                                       new suiteID("harlasvegas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("RLV","Western","Destination","Rio","Y","LVM",
                                       new suiteID("harriolasvegas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("OLV","Western","Destination","","Y","LVM",
                                       new suiteID("harosheas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("PLV","Western","Destination","Paris","Y","LVM",
                                       new suiteID("harparislasvegas,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("ILV","Western","Destination","Imperial Palace","Y","LVM",
                                       new suiteID("harimperialpalace,harmarketvegas,harrahsglobal","harrahsglobaldev")));
   //=================================
   //Tahoe Reno
   //=================================
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("RNO",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","RNO",
                                       new suiteID("harmarkettahoe,harrahsglobal","harrahsglobaldev"))); 
   
   <!--   SiteCodes = addSiteCode(SiteCodes,new SiteItem("markettahoe",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","RNO",
       <!--                                new suiteID("harmarkettahoe,harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("BIL","Western","Frequency","Harrahs","Y","RNO",
                                       new suiteID("harbills,harmarkettahoe,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("HLT","Western","Destination","Harveys","Y","RNO",
                                       new suiteID("harlaketahoe,harmarkettahoe,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("REN","Western","Frequency","Harrahs","Y","RNO",
                                       new suiteID("harreno,harmarkettahoe,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("TAH","Western","Destination","Harrahs","Y","RNO",
                                       new suiteID("harahlaketahoe,harmarkettahoe,harrahsglobal","harrahsglobaldev")));
   //=================================
   //Tunica
   //================================= 
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("NMM",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","NMM",
                                       new suiteID("harmarkettunica,harrahsglobal","harrahsglobaldev")));
   
   <!--SiteCodes = addSiteCode(SiteCodes,new SiteItem("markettunica",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","NMM",
       <!--                                new suiteID("harmarkettunica,harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("GTU","Central","Frequency","Grand","Y","NMM",
                                       new suiteID("hargrandcasinotunica,harmarkettunica,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("STU","Central","Frequency","Sheraton","Y","NMM",
                                       new suiteID("harsheratoncasinohoteltunica,harmarkettunica,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("UTU","Central","Frequency","Horseshoe","Y","NMM",
                                       new suiteID("harnewhorseshoetunica,harmarkettunica,harrahsglobal","harrahsglobaldev")));
   //=================================
   //No Market Grouping
   //=================================                     
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("AKC","Western","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harakchin,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("CHE","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harcherokee,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("COU","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harcouncilbluffs,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("CRC","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harchesterdowns,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("FLA","Western","Frequency","Flamingo","Y",const_NoMarket,
                                       new suiteID("harflamingolaughlin,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("HBR","Eastern","Frequency","Horseshoe","Y",const_NoMarket,
                                       new suiteID("harbluffrun,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("UCB","Eastern","Frequency","Horseshoe","Y",const_NoMarket,
                                       new suiteID("harbluffrun,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("JOL","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harjoliet,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("LAD","Central","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harlouisianadowns,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("LAU","Western","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harlaughlin,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("MET","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harmetropolis,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("NKC","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harnkansascity,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("RIN","Western","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harrincon,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("STL","Eastern","Frequency","Harrahs","Y",const_NoMarket,
                                       new suiteID("harstlouis,harrahsglobal","harrahsglobaldev")));
   
   <!--SiteCodes = addSiteCode(SiteCodes,new SiteItem("TOP","Eastern","Frequency","Harrahs","Y",const_NoMarket,
       <!--                                new suiteID("hartopeka,harrahsglobal","harrahsglobaldev")));
   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("UBC","Central","Frequency","Horseshoe","Y",const_NoMarket,
                                       new suiteID("harnewhorseshoebossier,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("UEL","Central","Frequency","Caesars","Y",const_NoMarket,
                                       new suiteID("harcaesarsindiana,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("UHA","Central","Frequency","Horseshoe","Y",const_NoMarket,
                                       new suiteID("harnewhorseshoehammond,harrahsglobal","harrahsglobaldev")));

   SiteCodes = addSiteCode(SiteCodes,new SiteItem("WCL",const_NoDivision,const_NoPropertyType,const_NoBrand,"Y",const_NoMarket,
                                       new suiteID("harrahsglobal","harrahsglobaldev")));                                     

   /**
    * Non-Property Specific - (More like Microsites) per Say Global Reports 
    * Also includes some 3rd Party Vendor used tags
    */
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("arkadiumgames","","","","N",const_NoMarket,
                                       new suiteID("harrahscom,harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("pulseofvegas",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","LVM",
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("vegascom",const_NoDivision,const_NoPropertyType,const_NoBrand,"N","LVM",
                                       new suiteID("harrahsglobal","harrahsglobaldev")));
                                       
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("riovegasnights","Western","Destination","Rio","N",const_NoMarket,
                                       new suiteID("harrionightlife,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("lasvegasnightlifelanding","Western","Destination","","N",const_NoMarket,
                                       new suiteID("harmarketvegas,harrahsglobal","harrahsglobaldev"))); 
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("riogroups","Western","Destination","Rio","N",const_NoMarket,
                                       new suiteID("harriogroups,harrahsglobal","harrahsglobaldev")));
   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("stirnightclub","","","","N",const_NoMarket,
                                       new suiteID("harstirmicro,harrahsglobal","harrahsglobaldev")));  
   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("stlnightscene","","","","N",const_NoMarket,
                                       new suiteID("harstlnightscene,harrahsglobal","harrahsglobaldev")));
   
   /* 
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("wsop","","","","N",const_NoMarket,
                                       new suiteID("harworldseries,harrahsglobal","harrahsglobaldev")));
   */
   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("thestraightdeal","","","","N",const_NoMarket,
                                       new suiteID("harcaesars","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("laketahoenights","Western","Destination","Harrahs","N",const_NoMarket,
                                       new suiteID("harahlaketahoenightmicro,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("whiskeyroadhouse","Eastern","Frequency","Horseshoe","N",const_NoMarket,
                                       new suiteID("harwhiskeyroad,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("beatthehouse","","","Harrahs","N",const_NoMarket,
                                       new suiteID("harrahscom,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("imperialpalace","Western","Destination","Imperial Palace","N",const_NoMarket,
                                       new suiteID("harimperialpalace,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("sachob","","","","N",const_NoMarket,
                                       new suiteID("harsachob,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("slotspot","","","","N",const_NoMarket,
                                       new suiteID("harslots,harrahsglobal","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("shopcaesars","","","Caesars","N",const_NoMarket,
                                       new suiteID("harshopcaesars","harrahsglobaldev")));
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("binions","","","Horseshoe","N",const_NoMarket,
                                       new suiteID("harrahsbinions","harrahsglobaldev")));
                                       

   SiteCodes = addSiteCode(SiteCodes,new SiteItem("marketmidwest",const_NoDivision,const_NoPropertyType,const_NoBrand,"N",const_NoMarket,
                                       new suiteID("harmarketmidwest,harrahsglobal","harrahsglobaldev")));
   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("vinceneil","Western","Destination","","N",const_NoMarket,
										new suiteID("harvinceneil","harrahsglobaldev")));
   
   SiteCodes = addSiteCode(SiteCodes,new SiteItem("planitonline","Western","Destination","","N",const_NoMarket,
										new suiteID("harplanitonline","harrahsglobaldev"))); 

   return SiteCodes;
}
/* ########################################################################################################### */
/**
 * Function to search a mapping for a propCode
 * @param: an array to search and the propCode to find
 * @return: the place in the array that the propCode is found.
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function getSiteCodePlace(SiteCodes, propCode)
{
   var arrayPlace = defaultSpot;
   if (SiteCodes && propCode)
   {
      arrayPlace = 0;
      var NotFound = true;
      propCode = propCode.toLowerCase();
      propCode = trim(propCode);
      while (NotFound && arrayPlace < SiteCodes.length)
      {
         var lookingAt = SiteCodes[arrayPlace].propCode;
         if (lookingAt == null)
            arrayPlace = SiteCodes.length;
         else
         {
            lookingAt = lookingAt.toLowerCase();
            lookingAt = trim(lookingAt);
            if (areEqualStr1toStr2(propCode, lookingAt))
               NotFound = false;
            else
               arrayPlace++;
         }
      }
      if (NotFound)
         arrayPlace = defaultSpot;
   }  
   return arrayPlace;
}

/**
 * Function to search a mapping for a propCode and determine if real property
 * @param: an array to search and the propCode to find
 * @return: true or false if it is a property
 *
 * Creation Date:(12/07/06).
 * Copyright @2006, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function isPropertyCode(SiteCodes, propCode)
{
   var returnValue = false;
   if (SiteCodes && propCode)
   {
      var arrayPlace = 0;
      var NotFound = true;
      propCode = trim(propCode);
      propCode = propCode.toLowerCase();
      while (NotFound && arrayPlace < SiteCodes.length)
      {
         var lookingAt = SiteCodes[arrayPlace].propCode;
         if (lookingAt == null)
            arrayPlace = SiteCodes.length;
         else
         {
            lookingAt = trim(lookingAt);
            lookingAt = lookingAt.toLowerCase();
            if (areEqualStr1toStr2(propCode, lookingAt))
            {
               if (areEqualStr1toStr2("Y",SiteCodes[arrayPlace].isProperty))
               {
                  returnValue = true;
               }
               NotFound = false;
            }
            else
            {
               arrayPlace++;
            }
         }
      }
   }  
   return returnValue;
}

/**
 * Function to set the default site section
 * Creation Date:(04/21/05).
 * Copyright @2005, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */

function setDefaultSiteMapSpot(SiteCodes)
{
   defaultSpot = getSiteCodePlace(SiteCodes,"default");
}

/**
 * Function to search for an exisiting defined variable.
 * @param: the name of a variable to find the value of
 * @return: the value of the variable or "" if not defined
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function getPropCodeIfDefined(codeVariable)
{
   var propCodeFound = self[codeVariable];
   if (propCodeFound == null)
      propCodeFound = "";
   return propCodeFound;
}


/**
 * Function to get the Account id for a mapping.
 * If we are in a dev environment it returns the dev suite id.
 * @param: a suite mapping and the propCode to find
 * @return: the suite id needed to send to omniture
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function getAccountIDforCode(SiteCodes, theCode, devBypass)
{
   var returnValue = "";
   var getDevSuite = findIfDev();
   if (devBypass != null && devBypass == 1)
   {
      getDevSuite = false;
   }
   if (SiteCodes && SiteCodes != null && theCode && theCode != null)
   {
      var placeHolder = getSiteCodePlace(SiteCodes, theCode);
      if (placeHolder != -1)
      {
         if (getDevSuite)
            returnValue = SiteCodes[placeHolder].OmnitureSuite.dev;
         else
            returnValue = SiteCodes[placeHolder].OmnitureSuite.pro;
      }
   }
   if (returnValue == null || returnValue == "")
      returnValue = "";

   return returnValue;
}

/**
 * Function to get the Market Code for a mapping.
 * @param: a suite mapping and the propCode to find
 * @return: the market id to send to omniture
 *
 * Creation Date:(11/18/04).
 * Copyright @2004, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function getMarketIDforCode(SiteCodes, theCode)
{
   var returnValue = "";
   if (SiteCodes && SiteCodes != null && theCode && theCode != null)
   {
      var placeHolder = getSiteCodePlace(SiteCodes, theCode);
      if (placeHolder != -1)
      {
         returnValue = SiteCodes[placeHolder].market;
      }
   }
   if (returnValue == null || returnValue == "")
      returnValue = const_NoMarket;

   return returnValue;
}
/**
 * Function to get the value of EDID .
 *
 * Creation Date:(26/03/08).
 * Copyright @2008, Harrah's Operating Company Inc, all rights reserved.
 * @author: Mike Rogers
 */
 
 function getValue(str, pattern, delim) 
 {
 	var q_start = str.indexOf(pattern);
 	var value = '';
 	if (q_start != -1) {
 	q_start = q_start + pattern.length;
 	var q_end = str.indexOf(delim, q_start);
 	if (q_end == -1) q_end = str.length;
 	value = str.substring(q_start, q_end);
 	}
 	return unescape(value);
 }
 
 /**
  * Function to read the URL string and get the value of EDID .
  *
  * Creation Date:(26/03/08).
  * Copyright @2008, Harrah's Operating Company Inc, all rights reserved.
  * @author: Mike Rogers
 */
 			
  function readQueryString(name) 
  {
 	var url = window.location.href;
 	url = url.replace(/\?/, '&');
 	url = url.replace(/#/, '&');
 
 	var pattern = '&' + name + '=';
 	return getValue(url, pattern, '&');
 }
 			
 var edid = readQueryString('ed_rid');
 if(edid!='') set_CookieValue('EDID',edid,30);

/**
 * Function to standardize tier levels
 * GOLD, DIAMOND, PLATINUM, SEVEN STARS
 * @param: a tier level
 * @return: the pretty tier level
 *
 * Creation Date:(04/04/05).
 * Copyright @2005, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function getPrettyTierLevel(passedTierLevel)
{
   var returnValue = "";
   if (passedTierLevel != null && passedTierLevel != "")
   {
      if (passedTierLevel.indexOf("TOTAL GOLD") >= 0 || passedTierLevel.indexOf("Gold") >= 0)
         returnValue = "GOLD";
      else if (passedTierLevel.indexOf("PLATINUM") >= 0 || passedTierLevel.indexOf("Platinum") >= 0)
         returnValue = "PLATINUM";
      else if (passedTierLevel.indexOf("DIAMOND") >= 0 || passedTierLevel.indexOf("Diamond") >= 0)
         returnValue = "DIAMOND";
      else if (passedTierLevel.indexOf("7StarsClub") >= 0 || passedTierLevel.indexOf("7Stars") >= 0 || passedTierLevel.indexOf("7 Stars") >= 0)
         returnValue = "SEVEN STARS";
   }
   return returnValue;
}

/**
 * Function set the default values if not defined
 * variables are defined at the top but not set
 * Creation Date:(12/05/06).
 * Copyright @2006, Harrah's Operating Company Inc, all rights reserved.
 * @author: Richard Treharne
 */
function setDefaultVariablesIfNotDefined()
{
   if (!s.prop1)
      s.prop1 = const_NoPropertyCode;
      s_prop1=s.prop1;
   if (!s.prop2)
      s.prop2 = const_NoDivision;
      s_prop2=s.prop2;
   if (!s.prop3)
      s.prop3 = const_NoPropertyType;
      s_prop3=s.prop3;
   if (!s.prop4)
      s.prop4 = const_NoBrand;
      s_prop4=s.prop4;
   
   //Nothing for s_prop5
      if(!s.prop6)
      	s.prop6 = const_NoMarket;
      	s_prop6=s.prop6;
      
   //const_NoLogin
   if(!s.prop8)
      s.prop8 = const_NoLogin;
      s_prop8=s.prop8;
}

function setVariablesBasedOnHarrahsChannelLogicAndGetLookupID()
{
   var returnValue = s.prop1;
   var theCurrentChannel = s.channel;
   if ( "" != theCurrentChannel)
   {
      var lowerCaseProp = "";
      if (!areEqualStr1toStr2("",returnValue))
      {
         lowerCaseProp = returnValue.toLowerCase();
      }
      
      theCurrentChannel = trim(theCurrentChannel);
      var theCurrentChannelLower = theCurrentChannel.toLowerCase();
      if(s.prop5)
      	var theSProp5Lower = s.prop5.toLowerCase();
      if (areEqualStr1toStr2(theCurrentChannelLower, "consumer:property"))
      {
        /** Logic
         * then look up s_prop1 and implement the 
         * associated s_account, brand, division, property type and market type 
         */
         //returnValue is already set for s_prop1
         //nothing to do
         if (areEqualStr1toStr2(theSProp5Lower, "virtual tours"))
	             internal_acccountToAddOnLookup = "tagOnVirtualTours";

      }
      else if (areEqualStr1toStr2(theCurrentChannelLower,"consumer:market"))
      {
        /** Logic
         * then look up s_prop6 (market code) and implement the associated s_account-the market s_account (i.e. harmarketlasvegas, harrahsglobal), 
         * also pass s_prop2="No Division", s_prop3="No Property Type", s_prop4="No Brand"
         * prop2,3, and 4 are defined in the SiteCode Map for values passed by s_prop6
         */
         theProp6 = s.prop6;
         if (areEqualStr1toStr2(lowerCaseProp, "corp")) 
         {
            s.prop1 = const_NoPropertyCode;
            s_prop1=s.prop1;
         }
         if ("" == theProp6 || const_NoMarket == theProp6)
         {
            theProp6 = getMarketIDforCode(MappingArray, returnValue);
            if ("" == theProp6 || const_NoMarket == theProp6)
            {
               s.prop6 = "Missing Market!";
               returnValue = "default";
            }
            else
            {
               returnValue = theProp6;
            }
         }
         else
         {
            returnValue = theProp6;
         }
      }
      else if (areEqualStr1toStr2(theCurrentChannelLower,"consumer:brand"))
      {
        /** Logic
         * then look up s_prop4 (Brand), then tack on the s_account harrahsglobal and harconsumer
         * also pass s_prop1= "No Property Code",  s_prop2="No Division", s_prop3="No Property Type",  s_prop6="No Market"
         */
         theProp4 = s.prop4;
         if (areEqualStr1toStr2(lowerCaseProp, "corp")) 
         {
            s.prop1 = const_NoPropertyCode;
            s_prop1=s.prop1;
         }
         if ("" == theProp4)
         {
            s.prop6 = "Missing Brand!";
            returnValue = "default";
         }
         else
         {
            returnValue = theProp4;
         }
      }
      else if (theCurrentChannelLower.indexOf("consumer") == 0)
      {
        /** Logic
         * then tack on the s_account harrahsglobal and harconsumer, also pass 
         * s_prop1= "No Property Code",  s_prop2="No Division", s_prop3="No Property Type", s_prop4="No Brand", s_prop6="No Market"
         */
         if (areEqualStr1toStr2(lowerCaseProp, "corp")) 
         {
            s.prop1 = const_NoPropertyCode;
            s_prop1=s.prop1;
         }
         returnValue = "theConsumer";
      }
      else if (areEqualStr1toStr2(theCurrentChannelLower,"corporate"))
      {
        /** Logic
         * then tack on the s_account harrahsglobal and harrahscom , 
         * also pass, s_prop1= "No Property Code",  s_prop2="No Division", s_prop3="No Property Type", s_prop4="No Brand", s_prop6="No Market"
         */
         if (areEqualStr1toStr2(lowerCaseProp, "corp")) 
         {
            s.prop1 = const_NoPropertyCode;
            s_prop1=s.prop1;
         }
         returnValue = "corp";
      }
      else if (areEqualStr1toStr2(theCurrentChannelLower,"reservations"))
      {
        /** Logic
         * then tack on the s_account harrahsglobal and harrahserescom and 
         * also pass (if s_prop1 = corp) 
         * s_prop1= "No Property Code",  s_prop2="No Division", s_prop3="No Property Type", s_prop4="No Brand", s_prop6="No Market"
         */
         var returnTemp = lowerCaseProp;
         if (areEqualStr1toStr2(lowerCaseProp, "corp")) 
         {
            s.prop1 = const_NoPropertyCode;
            s.prop2 = const_NoDivision;
            s.prop3 = const_NoPropertyType;
            s.prop4 = const_NoBrand;
            s.prop6 = const_NoMarket;
            returnTemp = "default";
         }
         internal_acccountToAddOnLookup = "tagOnReservations";
         returnValue = returnTemp;
      }
      else if (areEqualStr1toStr2(theCurrentChannelLower,"total rewards"))
      {
        /** Logic
         * then tack on the s_account harrahsglobal and hartotalrewardsglobal 
         * (I need to double check with Jason Thompson on this-let me get back to you) and also pass
         * s_prop1= "No Property Code",  s_prop2="No Division", s_prop3="No Property Type", s_prop4="No Brand", s_prop6="No Market"
         */
         var returnTemp = lowerCaseProp;
         if (areEqualStr1toStr2(lowerCaseProp, "corp"))
         {
            s.prop1 = const_NoPropertyCode;
            s.prop2 = const_NoDivision;
            s.prop3 = const_NoPropertyType;
            s.prop4 = const_NoBrand;
            s.prop6 = const_NoMarket;
            returnTemp = "default";
         }
         internal_acccountToAddOnLookup = "tagOnTotalRewards";
         returnValue = returnTemp;
      }
   }
   return returnValue;
   
}

/**
 * To set a cookie
 */
 function createCookieForNow(name,value,days)
 {
    if (days)
    {
       var date = new Date();
       date.setTime(date.getTime()+(days*24*60*60*1000));
       var expires = "expires="+date.toGMTString()+";"
    }
    else var expires = "";
    document.cookie = name+"="+escape(value)+";"+expires;
}

/** 
 * To Read the cookie, if it exists
 */
function Get_Cookie(name)
{
   //reading and splitting the whole cookie
   var allCookies = unescape(document.cookie);
   var eachCookie = allCookies.split(";");
   var flag = "false";
   for (i = 0; i < eachCookie.length; i++)
   {
      if (eachCookie[i].indexOf(name) > -1)
      {
         flag = "true";
         break;
      } 
      else 
      {
         flag = "false";
      }
   }//ends FOR

   return flag;
}

// This method returns the value of the cookie

function Get_CookieValue(name)
{
   //reading and splitting the whole cookie
   var allCookies = unescape(document.cookie);
   var eachCookie = allCookies.split(";");
   //sorting loop
   for (i = 0; i < eachCookie.length; i++)
   {
      if (eachCookie[i].indexOf(name) > -1)
      {
         var cookieString = eachCookie[i];
         var cookieData = cookieString.split("=");
         return cookieData[1];
      }
   }//ends FOR
}

// ADDED BY MIKE R. This function sets cookie value
function set_CookieValue(c_name,value,expiredays)
{
	var exdate=new Date();
	exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}

/** 
 * Function to set the Omniture Variables based on the cookie that Harrahs.com has written
 * 
 */
function setLoggedInfoBasedOnCookieIfNotDefined()
{
   var omnitureVariablesArray = new Array();
   if(Get_Cookie("userSessionCookie") == "true")
   {
      if(Get_Cookie("userInfoCookie") == "true" && Get_Cookie("demarcationCookie") == "true")
      {
         var separator = Get_CookieValue("demarcationCookie");
         if(Get_Cookie("omnitureCookie") == "true")
         {
            var omnitureVariables = Get_CookieValue("omnitureCookie");
           						// ADDED NEXT 2 LINES BY MIKE R. TO HIDE OMNITURE COOKIE AND KEEP PAGE FROM BREAKING
							// THIS SCRIPT WILL USE THE OMNITURE COOKIE 1 TIME WHICH IS ALL THAT IS NEEDED
	    						// FOR THE SESSION.
	    						set_CookieValue("omnitureCookie","abcdefghijklmnopqrstuvwxz1234567890");
            if(omnitureVariables=="abcdefghijklmnopqrstuvwxz1234567890") return;
            omnitureVariablesArray = omnitureVariables.split(separator);
         }
      }
   }
   
   // Omniture variables for logged in user
   if (omnitureVariablesArray.length != 0)
   {
      var isBadTotalRewardsPage = getPropCodeIfDefined("s.prop8")
      var doAnywaySinceIncorrectETR = false;
      if (areEqualStr1toStr2("Non-Login",isBadTotalRewardsPage))
      {
         doAnywaySinceIncorrectETR = true;
      }
      if ((!s.prop8) || doAnywaySinceIncorrectETR)
         s.prop8 = omnitureVariablesArray[0];
         s_prop8=s.prop8;
         
      if ((!s.prop9) || doAnywaySinceIncorrectETR)
         s.prop9 = omnitureVariablesArray[1];
         s_prop9=s.prop9;
      
      if ((!s.prop10) || doAnywaySinceIncorrectETR)
         s.prop10 = omnitureVariablesArray[2];
         s_prop10=s.prop10;
      
      if ((!s.prop11) || doAnywaySinceIncorrectETR)
         s.prop11 = omnitureVariablesArray[3];
         s_prop11=s.prop11;
      
      if ((!s.prop15) || doAnywaySinceIncorrectETR)
         s.prop15 = omnitureVariablesArray[4];
         s_prop15=s.prop15;
      
      if ((!s.prop16) || doAnywaySinceIncorrectETR)
         s.prop16 = omnitureVariablesArray[5];
         s_prop16=s.prop16;
      
      if ((!s.prop17) || doAnywaySinceIncorrectETR)
         s.prop17 = omnitureVariablesArray[6];
         s_prop17=s.prop17;
      
      if ((!s.prop18) || doAnywaySinceIncorrectETR)
         s.prop18 = omnitureVariablesArray[7];
         s_prop18=s.prop18;
      
      if ((!s.prop19) || doAnywaySinceIncorrectETR)
         s.prop19 = omnitureVariablesArray[8];
         s_prop19=s.prop19;
      
      if ((!s.prop20) || doAnywaySinceIncorrectETR)
         s.prop20 = omnitureVariablesArray[9];
         s_prop20=s.prop20;
      
      if ((!s.eVar1) || doAnywaySinceIncorrectETR)
         s.eVar1 = omnitureVariablesArray[0];
         s_eVar1=s.eVar1;
      
      if ((!s.eVar2) || doAnywaySinceIncorrectETR)
         s.eVar2 = omnitureVariablesArray[1];
         s_eVar2=s.eVar2;
      
      if ((!s.eVar3) || doAnywaySinceIncorrectETR)
         s.eVar3 = omnitureVariablesArray[2];
         s_eVar3=s.eVar3;
      
      if ((!s_eVar4) || doAnywaySinceIncorrectETR)
         s.eVar4 = omnitureVariablesArray[3];
         s_eVar4=s.eVar4;
      
      if ((!s.eVar10) || doAnywaySinceIncorrectETR)
         s.eVar10 = omnitureVariablesArray[4];
         s_eVar10=s.eVar10;
      
      if ((!s.eVar11) || doAnywaySinceIncorrectETR)
         s.eVar11 = omnitureVariablesArray[5];
         s_eVar11=s.eVar11;
      
      if ((!s.eVar12) || doAnywaySinceIncorrectETR)
         s.eVar12 = omnitureVariablesArray[6];
         s_eVar12=s.eVar12;
      
      if ((!s.eVar13) || doAnywaySinceIncorrectETR)
         s.eVar13 = omnitureVariablesArray[7];
         s_eVar13=s.eVar13;
      
      if ((!s.eVar14) || doAnywaySinceIncorrectETR)
         s.eVar14 = omnitureVariablesArray[8];
         s_eVar14=s.eVar14;
      
      if ((!s.eVar15) || doAnywaySinceIncorrectETR)
         s.eVar15 = omnitureVariablesArray[9];
         s_eVar15=s.eVar15;
   }
}

/************************ Setup Variables! ************************
/**
 * Call functions and begin 
 */
var MappingArray = populateSiteCodes(MappingArray);
var s=s_gi(s_account,1)
setDefaultSiteMapSpot(MappingArray);
setLoggedInfoBasedOnCookieIfNotDefined();
setDefaultVariablesIfNotDefined();

var lookupForAccount = setVariablesBasedOnHarrahsChannelLogicAndGetLookupID();

var firstSetOfAccounts = ""
if (internal_acccountToAddOnLookup != "")
{
   firstSetOfAccounts = getAccountIDforCode(MappingArray, internal_acccountToAddOnLookup, getPropCodeIfDefined("devBypass"));
   if ("" != firstSetOfAccounts)
   {
      firstSetOfAccounts = firstSetOfAccounts + ","
   }
}

s_account = firstSetOfAccounts + getAccountIDforCode(MappingArray, lookupForAccount, getPropCodeIfDefined("devBypass"));
s.sa(s_account);

if ((s.prop1) && (s.purchaseID))
   s.eVar24 = s.prop1;
   s_eVar24=s.eVar24;

if (s.prop5)
   s.eVar33 = s.prop5;
   s_eVar33=s.eVar33;

if (s.prop10)
   s.prop10 = getPrettyTierLevel(s.prop10);
   s_prop10=s.prop10;

if (s.eVar3)
   s.eVar3 = getPrettyTierLevel(s.eVar3);
   s_eVar3=s.eVar3;

/* End Code to Determine Suites */
if ((!s.prop6) || s.prop6 == const_NoMarket)
   s.prop6 = getMarketIDforCode(MappingArray, s.prop1);
   s_prop6=s.prop6;
   
if (!isPropertyCode(MappingArray, s.prop1))
{
   s.prop1 = const_NoPropertyCode;
   if (s.prop6 == "")
      s.prop6 = const_NoMarket;
      s_prop6=s.prop6;
}


if (null != s.prop1 && "" != s.prop1 && !areEqualStr1toStr2(const_NoPropertyCode, s.prop1))
   s.prop1 = s.prop1.toUpperCase();
if (null != s.eVar4 && "" != s.eVar4 && !areEqualStr1toStr2(const_NoPropertyCode, s.eVar4))
   s.eVar4 = s.eVar4.toUpperCase();

if(s.eVar2)
{
var tempEVarUserIDString = s.eVar2;
	if (tempEVarUserIDString.indexOf("00") == 0)
	{
	   s.eVar2 = tempEVarUserIDString.substring(2);
	   s_eVar2=s.eVar2;
	}
}
if(s.prop9)
{
var tempprop9 = s.prop9
	if (tempprop9.indexOf("00") == 0)
	{
	   s.prop9 = tempprop9.substring(2);
	   s_prop9=s.prop9;
	}
}
tempPageNameIncorrect =  s.pageName;
if (tempPageNameIncorrect != "")
{
   s.pageName = tempPageNameIncorrect;
   s_pageName=s.pageName;
}

/* **************************************************************************************************** */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* **************************************************************************************************** */
function createRequestObjectks() { 
   var reqks; 
   if(window.XMLHttpRequest){ 
      // Firefox, Safari, Opera... 
      reqks = new XMLHttpRequest(); 
   } else if(window.ActiveXObject) { 
      // Internet Explorer 5+ 
      reqks = new ActiveXObject("Microsoft.XMLHTTP"); 
   } else { 
      // There is an error creating the object, 
      // just as an old browser is being used. 
      //alert('Problem creating the XMLHttpRequest object'); 
   } 
   return reqks; 
} 

// Make the XMLHttpRequest object 
var httpks = createRequestObjectks(); 
var http_doneks = true;
        
function getContentks(content, preventCache) 
{ 
    if(content!=null){
        if(preventCache){
            var d=new Date();
            var pc= d.getTime();
            if (0 < content.indexOf('?'))
                content = content + '&pc=' + pc;
            else
                content = content + '?pc=' + pc;
        }
        http_doneks=false;
        //window.status=content;
        httpks.open('get', content); 
        httpks.onreadystatechange = handleResponseks; 
        httpks.send(null); 
    }
} 

function handleResponseks() { 
   if(httpks.readyState == 4 && httpks.status == 200){ 
      var responseks = httpks.responseText; 
      if(responseks) { 
         responseks.toLowerCase();
         if ( 0 < responseks.indexOf("true"))
         {
            createCookieForNow("sy4","1xsy","360");
            window.open ("/include/message.html","mywindow","scrollbars=1,width=780,height=560"); 
         }
         else
         {
            createCookieForNow("sy4","1xsy","1");
         }
      } 
      http_doneks = true;
   } 
}
//commented out by raju bade as Mike Rogers requested.
//if ((!Get_CookieValue("sy4") || "1xsy" != Get_CookieValue("sy4")) && s.prop9 && s.prop9 != null && s.prop9.length > 0 )
//{
   //getContentks("/tr_extras/GGWUTRNumberCheck.jsp?tr_number="+s.prop9, true);
//}


/* **************************************************************************************************** */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ */
/* **************************************************************************************************** */


/* Specify the Report Suite ID(s) to track here */
s.dynamicAccountSelection=true
s.dynamicAccountList=""
/* Conversion Config */
s.currencyCode="USD"


/* Link Tracking Config */
s.trackDownloadLinks=true
s.trackExternalLinks=true
s.trackInlineStats=true
s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
s.linkInternalFilters="javascript:,harrahs.com,horseshoe,binions,riovegasnights,custhelp.com"
s.linkLeaveQueryString=false
s.linkTrackVars="prop1"
s.linkTrackEvents="None"
/* Plugin Config */
s.usePlugins=true
function s_doPlugins(s) {

/* To setup Dynamic Object IDs */
s.setupDynamicObjectIDs();


   /* Add calls to plugins here */
   // External Campaigns
   if(!s.campaign){
   	s.campaign=s.getQueryParam('key');
   	s.campaign=s.getValOnce(s.campaign,"cname",0);
   	s_campaign=s.campaign;
   }
   if(!s.campaign){
   	s.campaign=s.getQueryParam('source');
   	s.campaign=s.getValOnce(s.campaign,"cname",0);
   	s_campaign=s.campaign;
   }
   /* e-Dialog email campaign URL identifier */
   if(!s.campaign){
   	s.campaign=s.getQueryParam('ed_mid');
   	s.campaign=s.getValOnce(s.campaign,"cname",0);
   	s_campaign=s.campaign;
   }

   /* Populate recipient ID variable */
    if(!s.eVar11){
	s.eVar11=s.getQueryParam('ed_rid');
	s_eVar11=s.eVar11;
    } 
   
   if(!s.eVar16){
   	s.eVar16=s.getQueryParam('ip');
   	s_eVar16=s.eVar16;
   }
      
   if(!s.eVar8){
   	s.eVar8=s.getQueryParam('rd');
   	s_eVar8=s.eVar8;
   }
   
   if(!s.eVar43){
   	s.eVar43=s.getQueryParam('social');
   	s_eVar43=s.eVar43;
   }
   	
   // Internal Campaigns
   
   /* Commented out by ckahle
   if (s.eVar18 == "")
   {
      if (s.eVar8 == "")
      {
         if(!s.eVar8)
         	s.eVar8=s.getQueryParam('offerCode');
         	s_eVar8=s.eVar8;
      }
      s.eVar18=s.getQueryParam('offerCode');
      s_eVar18=s.eVar18;	   
   }
   
   if (s.eVar17 == "")
   {
      if (s.eVar8 == "")
      {
         if(!s.eVar8)
         	s.eVar8=s.getQueryParam('dealCode');
         	s_eVar8=s.eVar8;
      }
      s.eVar17=s.getQueryParam('dealCode');
      s_eVar17=s.eVar17;
   }
   */
   //this block will set the correlating property info based on the prop code in traffic...
   var tpid=s.prop1; 
   if(tpid){
      placeHolder = getSiteCodePlace(MappingArray,tpid);
      if (placeHolder != -1)
      {
         s.prop2 = MappingArray[placeHolder].division;
         s.prop3 = MappingArray[placeHolder].type;
         s.prop4 = MappingArray[placeHolder].brand;
      }
   }
   
   //this block will set the correlating property info based on the dom prop code in traffic...
   var tpid=s.prop11; 
   if(tpid){
      placeHolder = getSiteCodePlace(MappingArray,tpid);
      if (placeHolder != -1)
      {
         s.prop12 = MappingArray[placeHolder].division;
         s.prop13 = MappingArray[placeHolder].type;
         s.prop14 = MappingArray[placeHolder].brand;
      }
   }
   
   //this block will set the correlating property info based on the prop code in commerce...
   var tpid=s.eVar4; 
   if(tpid){
      placeHolder = getSiteCodePlace(MappingArray,tpid);
      if (placeHolder != -1)
      {
         s.eVar5 = MappingArray[placeHolder].division;
         s.eVar6 = MappingArray[placeHolder].type;
         s.eVar7 = MappingArray[placeHolder].brand;
      }
   }
}
/* Specify the Report Suite ID(s) to track here */


s.doPlugins=s_doPlugins
/* DynamicObjectIDs config */
function s_getObjectID(o) {
	/* TODO: Add code to identify whether an objectID should be created,
	 *       parse the URLs and return objectID. If no objectID should
	 *       be created, return ''.
	 */
	var ID=o.href;
	return ID;
}
s.getObjectID=s_getObjectID



/************************** PLUGINS SECTION *************************/
/* You may insert any plugins you wish to use here.                 */
/*
 * Plugin: getQueryParam 2.1 - return query string parameter(s)
 */
s.getQueryParam=new Function("p","d","u",""
+"var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.locati"
+"on);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p"
+".length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t)v+=v?d+t:t;p=p.subs"
+"tring(i==p.length?i:i+1)}return v");
s.p_gpv=new Function("k","u",""
+"var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v"
+"=s.pt(q,'&','p_gvf',k)}return v");
s.p_gvf=new Function("t","k",""
+"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T"
+"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s."
+"epa(v)}return ''");

/*
 * Plugin: getValOnce 0.2 - get a value once per session or number of days
 */
s.getValOnce=new Function("v","c","e",""
+"var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime("
+")+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");


/*
 * DynamicObjectIDs v1.4: Setup Dynamic Object IDs based on URL
 */
s.setupDynamicObjectIDs=new Function(""
+"var s=this;if(!s.doi){s.doi=1;if(s.apv>3&&(!s.isie||!s.ismac||s.apv"
+">=5)){if(s.wd.attachEvent)s.wd.attachEvent('onload',s.setOIDs);else"
+" if(s.wd.addEventListener)s.wd.addEventListener('load',s.setOIDs,fa"
+"lse);else{s.doiol=s.wd.onload;s.wd.onload=s.setOIDs}}s.wd.s_semapho"
+"re=1}");
s.setOIDs=new Function("e",""
+"var s=s_c_il["+s._in+"],b=s.eh(s.wd,'onload'),o='onclick',x,l,u,c,i"
+",a=new Array;if(s.doiol){if(b)s[b]=s.wd[b];s.doiol(e)}if(s.d.links)"
+"{for(i=0;i<s.d.links.length;i++){l=s.d.links[i];c=l[o]?''+l[o]:'';b"
+"=s.eh(l,o);z=l[b]?''+l[b]:'';u=s.getObjectID(l);if(u&&c.indexOf('s_"
+"objectID')<0&&z.indexOf('s_objectID')<0){u=s.repl(u,'\"','');u=s.re"
+"pl(u,'\\n','').substring(0,97);l.s_oc=l[o];a[u]=a[u]?a[u]+1:1;x='';"
+"if(c.indexOf('.t(')>=0||c.indexOf('.tl(')>=0||c.indexOf('s_gs(')>=0"
+")x='var x=\".tl(\";';x+='s_objectID=\"'+u+'_'+a[u]+'\";return this."
+"s_oc?this.s_oc(e):true';if(s.isns&&s.apv>=5)l.setAttribute(o,x);l[o"
+"]=new Function('e',x)}}}s.wd.s_semaphore=0;return true");


/********************************************************************
 *
 * Supporting functions that may be shared between plug-ins
 *
 *******************************************************************/
/*
 * Plugin Utility: Replace v1.0
 */
s.repl=new Function("x","o","n",""
+"var i=x.indexOf(o),l=n.length;while(x&&i>=0){x=x.substring(0,i)+n+x."
+"substring(i+o.length);i=x.indexOf(o,i+l)}return x");



/* WARNING: Changing any of the below variables will cause drastic
changes to how your visitor data is collected.  Changes should only be
made when instructed to do so by your account manager.*/
s.dc=112
s.trackingServer="harrahs.112.2o7.net"
var s_code=s.t();if(s_code)document.write(s_code)


/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code='',s_objectID;function s_gi(un,pg,ss){var d="function s_dr"
+"(x,o,n){var i=x.indexOf(o);if(i>=0&&x.split)x=(x.split(o)).join(n);"
+"else while(i>=0){x=x.substring(0,i)+n+x.substring(i+o.length);i=x.i"
+"ndexOf(o)}return x}w.s_dr=s_dr;function s_d(x) {var t='`^@$#',l='01"
+"23456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',d,n=0"
+",b,k,w,i=x.lastIndexOf('~~');if(i>0){d=x.substring(0,i);x=x.substri"
+"ng(i+2);while(d){w=d;i=d.indexOf('~');if(i>0){w=d.substring(0,i);d="
+"d.substring(i+1)}else d='';b=parseInt(n/62);k=n-b*62;k=t.substring("
+"b,b+1)+l.substring(k,k+1);x=s_dr(x,k,w);n++}for(i=0;i<5;i++){w=t.su"
+"bstring(i,i+1);x=s_dr(x,w+' ',w)}}return x}w.s_d=s_d;",c=".substrin"
+"g(~.indexOf(~return ~=fun`K(~){`Os=^u~`t $6~;$6~.toLowerCase()~`cFu"
+"n`K('e`s`Os=s_c_il['+@i+']~};s.~.length~.toUpperCase~`cObject~s.wd~"
+"t^D~.location~')q='~dynamicAccount~link~s.apv~ction~$l$X~)$6x^X!Obj"
+"ect||!Object.prototype||!Object.prototype[x])~@G^Al)@G^Al['+@i+'].m"
+"rq(\"'+un+'\")'~var ~s.pt(~ookieDomainPeriods~,`s,'~while(~);s.~.pr"
+"otocol~){$6~visitor~=''~:'')~;@F^Vs[k],255)}~s_c2f~javaEnabled~=new"
+" ~.lastIndexOf('~tm.get~@5\"$Qs.b.addBehavior('# default# ~onclick~"
+"ternalFilters~entElement~Name~javascriptVersion~=parseFloat(~cookie"
+"~parseInt(~s.^J~Type~o^joid~browser~','~else~referrer~colorDepth~St"
+"ring~.host~s.rep(~}catch(e){~r=s.m(f)?s[f](~}$6~s.un~s.eo~s.sq~t=s."
+"ot(o)~track~j='1.~)?'Y':'N'~$dURL~^jc_i~s.ismac~lugins~=='~;for(~Sa"
+"mpling~s.rc[un]~s.b.addEventListener~Download~tfs~resolution~.get@I"
+"()~s.eh~s.isie~s.vl_l~s.vl_t~Height~t,h){t=t?t~isopera~escape(~scre"
+"en.~s.fl(~harCode~&&(~variableProvider~s.gg('objectID')~&&s.~:'';h="
+"h?h~e&&l$kSESSION'~');~f',~_'+~Date~name~home$d~.s_~s.c_r(~s.rl[u~o"
+".href~Lifetime~Width~sEnabled~'){q='~b.attachEvent~&&l$kNONE'){~Ext"
+"ernalLinks~this~charSet~onerror~currencyCode~s=s_gi(~e$SElement~;s."
+"gl(s.vl_g~.parent~Array~lnk~Opera~eval(~Math.~s.fsg~s.ns6~docum~s.o"
+"un~conne~InlineStats~Track~'0123456789~s[k]=~window~onload~Time~s.e"
+"pa(~s.c_w(~o.type~(s.ssl~n=s.oid(o)~LeaveQuery~')>=~&&t~'=')~){n=~+"
+"1))~' '+~s.t()}~\",''),~=s.oh(o);~+(y<1900?~ingServer~s_gs~true~ses"
+"s~campaign~lif~;fun~,100)~s.co(~s._in~x in ~='s_~ffset~s.c_d~'&pe~s"
+".gv(~s.qav~s.pl~=(apn~sqs',q);~Year(~=s.n.app~&&!~(''+~(\")>=~)+'/~"
+"',s~s()+':'+~){p=~():''~a):f(~){v=s.n.~channel~if(~un)~.target~o.va"
+"lue~etscape~(ns?ns:~s_')t=t~omePage~++}~')<~){x~1);~e))~'+n~height~"
+"events~trk~random~code~un,~try{~'MSIE ~.src~INPUT'~floor(~s.pg~s.nu"
+"m(~s.ape(~s.c_gd~s.dc~.inner~transa~Events~page~.set~Group,~Match,~"
+".fromC~++){~?'':~!='~='+~(\")<~?'&~+';~(f){~>=5)~&&i>~[b](~=l[n];~~"
+"fun`K `ae$p`Ox`X,s=0,e,a,b,c;`S1){e=f`1'\"@z);b=f`1'\\\\',s);c=f`1"
+"\"\\n\",s)`6e<0||(b>=0&&b<$Ie=b`6e<0||(c>=0&&c<$Ie=c`6e>=0$G+=(e>s?"
+"f`0s,e)`Y+(e==c?'\\\\n':'\\\\'+f`0e,e@T;s=e+1}`t `2x+f`0s)}`2f}w.`a"
+"e=`ae@f`K `aa$p`Os=f`1'(')+1,e=f`1')'),a`X,c;`Ss>=0&&s<e){c=f`0s,s+"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`6`J>3^X!^N||!^B||`J$q`V"
+"s.b^a^r)s.^r('`g@z.bc);`5s.b&&^H)^H('click@z.bc,false);`t ^M(`D,'@H"
+"',0,`Dl)}`9vs`3x`4,v=s.`W^F,g=s.`W^F$fk@kvsn^f^2+(g?'^fg`Y,n=^kk),e"
+"`c^g,y=e.get@t);e$e@ty+10@Y1900:0))`6v){v*=100`6!n`V!@Kk,x,$I`20;n="
+"x^1n%10000>v)`20}`21`9dyasmf`3t,m`Vt&&m&&m`1t)>=0)`21;`20`9dyasf`3t"
+",m`4,i=t?t`1@R:-1,n,x`6i>=0&&m){`On=t`00,i),x=t`0i+1)`6`Px`Rdyasm^e"
+"m))`2n}`20`9uns`3`4,x=s.`HSele`K,l=s.`HList,m=s.`H$gn,i;^2=^2`7`6x&"
+"&l`V!m)m=`D`F`x`6!m.toLowerCase)m`X+m;l=l`7;m=m`7;n=`Pl,';`sdyas^em"
+")`6n)^2=n}i=^2`1`s`Tfun=i<0?^2:^2`00,i)`9sa`3un`4;^2=un`6!@A)@A=un;"
+"`5(`s+@A+`s)`1$7<0)@A+=`s+un;^2s()`9t`3`4,$M=1,tm`c^g,sed=Math&&@6$"
+"N?@6$U@6$N()*10000000000000):`e@I(),@c='s'+@6$U`e@I()/10800000)%10+"
+"sed,y=`e@t),vt=`e^g(@y'+`eMonth(@y'@Yy+1900:y)+@U`eHour$0`eMinute$0"
+"`eSeconds()+@U`eDay()+@U`e@IzoneO@l(),^J=s.g^J(),ta`X,q`X,qs`X@0`Tu"
+"ns()`6!s.td){`Otl=^J`F,a,o,i,x`X,c`X,v`X,p`X,bw`X,bh`X,^70',k=@K's_"
+"cc`s@b',0^8,hp`X,ct`X,pn=0,ps`6`w&&`w.prototype){^71'`6j.match){^72"
+"'`6tm$eUTC^g){^73'`6^N&&^B&&`J$q^74'`6pn.toPrecision){^75';a`c@2`6a"
+".forEach){^76';i=0;o`C;@5'$Qi`cIterator(o)`z}')`6i&&i.next)^77'}}}}"
+"^1`J>=4)x=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Y}^1!$M@vqs)`2''`6s.p_r)s.p_r();`O$O`X`6$M"
+"^avs(sed))$O=s.mr(@c,(vt$nt`Lvt)`Y+s.hav()+q+(qs?qs:s.rq(^2)),ta`Ts"
+"q($M$jqs`T@3=^3=s.`I`j=s.`I`p=`D^jobjectID=s.ppu`X`6$V)`D^j@3=`D^je"
+"o=`D^j`I`j=`D^j`I`p`X;`2$O`9tl`3o,t,n`4;s.@3=@ho`T`I`p=t;s.`I`j=n;s"
+".t()`9ssl=(`D`F`U`7`1'https@P0`Td=@9ent;s.b=s.d.body;s.n=navigator;"
+"s.u=s.n.userAgent;@8=s.u`1'N$A6/^d`Oapn@u`j,v@uVersion,ie=v`1$R'),o"
+"=s.u`1'@4 '),i`6v`1'@4@P0||o>0)apn='@4';^N@r^DMicrosoft Internet Ex"
+"plorer'`Tisns@r^DN$A'`T^S@r^D@4'`Tismac=(s.u`1'Mac@P0)`6o>0)`J`ls.u"
+"`0o+6));`5ie>0){`J=`ni=v`0ie+5))`6`J>3)`J`li)}`5@8>0)`J`ls.u`0@8+10"
+"));`t `J`lv`Tem=0`6`w$h^W){i=^T`w$h^W(256))`B(`Tem=(i^D%C4%80'?2:(i"
+"^D%U0100'?1:0))}s.sa(un`Tvl_l='`WID,vmk,ppu,^v,`W`jspace,c`Q,`m^n,$"
+"d`j,^9,`u,^x';^P=^O+',^Y,$5,server,$d`p,$b`KID,purchaseID,@d,state,"
+"zip,$L,products,`I`j,`I`p'^E`On=1;n<51;n++)^P+=',prop$J+',eVar$J+',"
+"hier$J;^O2='^K,`v,`k,`b,`m^p,`r^o,`r^Q,@B`K`p,^i,p^C';^P+=`s+^O2;s."
+"vl_g=^P+',`W^F,`W^F$f`HSele`K,`HList,`H$g^6^ILinks,^6^t,^6@C,`I@O`w"
+",`I^IFile`ps,`IEx`h,`IIn`h,`I@DVars,`I@D$c,`I`js,@3';$V=pg@0)`6!ss)"
+"`Ds()}",
w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=
v.indexOf('MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(un){un=
un.toLowerCase();if(l)for(i=0;i<l.length;i++){s=l[i];if(s._c=='s_c'){
if(s.oun==un)return s;else if(s.fs(s.oun,un)){s.sa(un);return s}}}}
eval(d);c=s_d(c);i=c.indexOf("function s_c(");eval(c.substring(0,i))
if(!un)return 0;c=c.substring(i);if(e>0){a=parseInt(i=v.substring(e
+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10)
);else a=parseFloat(v);if(a>=5&&v.indexOf('Opera')<0&&u.indexOf(
'Opera')<0){eval(c);return new s_c(un,pg,ss)}else s=s_c2f(c);return s(
un,pg,ss)}s_gi()

