function BrandMove(prop, page)
{
	if (prop == "brand_har")
	{
		URL = "/brands/harrahs/hotel-casinos/harrahs-brand.shtml";	
	}
	else if (prop == "brand_czr")
	{
		URL = "/brands/caesars/hotel-casinos/caesars-brand.shtml";	
	}
	else if (prop == "brand_hrs")
	{
		URL = "/brands/horseshoe/hotel-casinos/horseshoe-brand.shtml";	
	}
	else if (prop == "brand_bal")
	{
		URL = "/brands/ballys/hotel-casinos/ballys-brand.shtml";	
	}
	else if (prop == "brand_gbi")
	{
		URL = "/casinos/grand-biloxi/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_gtu")
	{
		URL = "/casinos/grand-casino-resort-tunica/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_fla")
	{
		URL = "/casinos/flamingo-las-vegas/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_hrvs")
	{
		URL = "/casinos/harveys-lake-tahoe/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_ip")
	{
		URL = "/casinos/imperial-palace/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_prs")
	{
		URL = "/casinos/paris-las-vegas/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_phv")
	{
		URL = "/casinos/planet-hollywood/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_rio")
	{
		URL = "/casinos/rio/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_sho")
	{
		URL = "/casinos/showboat-atlantic-city/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_wcl")
	{
		URL = "/casinos/casino-windsor/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_stu")
	{
		URL = "/casinos/tunica-roadhouse/hotel-casino/property-home.shtml";	
	}
	else if (prop == "brand_wxw")
	{
		URL = "/casinos/wild-wild-west/hotel-casino/property-home.shtml";	
	}
	
	if (prop != "")
	{
		self.location.href = URL;
	}
}

function CorpMove(prop, page)
{	
	var URL = "/casinos/";
	
	// Translate three letter prop code into full name
	if (prop == "bac")
	{
		URL += "ballys-atlantic-city";
	}
	else if (prop == "bil")
	{
		URL += "bills-casino-lake-tahoe";
	}
	
	else if (prop == "blv")
	{
		URL += "ballys-las-vegas";	
	}
	else if (prop == "cac")
	{
		URL += "caesars-atlantic-city";	
	}
	else if (prop == "uel")
	{
		URL += "caesars-indiana";	
	}
	else if (prop == "clv")
	{
		URL += "caesars-palace";	
	}
	else if (prop == "flv")
	{
		URL += "flamingo-las-vegas";	
	}
	else if (prop == "gtu")
	{
		URL += "grand-casino-resort-tunica";	
	}
	else if (prop == "gbi")
	{
		URL += "grand-biloxi";	
	}
	else if (prop == "atl")
	{
		URL += "harrahs-atlantic-city";	
	}
	else if (prop == "che")
	{
		URL += "harrahs-cherokee";	
	}
	else if (prop == "crc")
	{
		URL += "harrahs-chester";	
	}
	else if (prop == "cou")
	{
		URL += "harrahs-council-bluffs";	
	}
	else if (prop == "jol")
	{
		URL += "harrahs-joliet/";	
	}
	else if (prop == "tah")
	{
		URL += "harrahs-lake-tahoe";	
	}
	else if (prop == "las")
	{
		URL += "harrahs-las-vegas";	
	}
	else if (prop == "lau")
	{
		URL += "harrahs-laughlin";	
	}
	else if (prop == "met")
	{
		URL += "harrahs-metropolis";	
	}
	else if (prop == "nor")
	{
		URL += "harrahs-new-orleans";	
	}
	else if (prop == "nkc")
	{
		URL += "harrahs-north-kansas-city";	
	}
	else if (prop == "akc")
	{
		URL += "harrahs-phoenix-ak-chin";
	}
	else if (prop == "top")
	{
		URL += "harrahs-prairie-band";	
	}
	else if (prop == "ren")
	{
		URL += "harrahs-reno";	
	}
	else if (prop == "rin")
	{
		URL += "harrahs-rincon-san-diego";	
	}
	else if (prop == "stl")
	{
		URL += "harrahs-stlouis";	
	}
	else if (prop == "hlt")
	{
		URL += "harveys-lake-tahoe";	
	}
	else if (prop == "ubc")
	{
		URL += "horseshoe-bossier-city";	
	}
	else if (prop == "hbr")
	{
		URL += "horseshoe-council-bluffs";	
	}
	else if (prop == "uha")
	{
		URL += "horseshoe-hammond";	
	}
	else if (prop == "utu")
	{
		URL += "horseshoe-tunica/";	
	}
	else if (prop == "olv")
	{
		URL += "osheas-casino-las-vegas";	
	}
	else if (prop == "plv")
	{
		URL += "paris-las-vegas";	
	}
	else if (prop == "phv")
	{
		URL += "planet-hollywood";	
	}
	else if (prop == "rlv")
	{
		URL += "rio";	
	}
	else if (prop == "stu")
	{
		URL += "tunica-roadhouse";	
	}
	else if (prop == "sac")
	{
		URL += "showboat-atlantic-city";	
	}
	else if (prop == "hob")
	{
		URL += "house-of-blues";	
	}
	else if (prop == "lad")
	{
		URL += "harrahs-louisiana-downs";	
	}
	else if (prop == "wcl")
	{
		URL += "casino-windsor";	
	}
	else if (prop == "ilv")
	{
		URL += "imperial-palace";	
	}
	else if (prop == "wxw")
	{
		URL += "wild-wild-west";	
	}
	
	// Homepage jump
	if (page == "home")
	{
		URL += "/hotel-casino/property-home.shtml";		
	}
	
	else if (page == "deals")
	{
		URL = "/AvailabilityCalendar.do?propCode=" + prop.toUpperCase() + "&showHotDeal=Y";
	}
	
	else if (page == "marketdeals")
	{
		URL = "/MarketCalendar.do?action=default&destination=" + prop.toUpperCase() + "&showHotDeals=Y";
	}
	
	else if (page == "ent")
	{
		if (prop == "lad")
		{
			URL = "http://www.ladowns.com/entertainment/";
		}
		else
		{
			URL += "/casino-entertainment/";
		}
	}
	
	else if (page == "groups")
	{
		if (prop == "lad")
		{
			URL = "http://www.ladowns.com/groups_mtgs/";
		}
		else
		{
			URL += "/casino-misc/groups-meetings.html";
		}
	}
	
	else if (page == "weddings")
	{
		URL += "/casino-misc/weddings.html";
	}
	
	else
	{
		URL += "/index.shtml";
	}
	
	if (prop != "") 
	{
		if (prop == "bills")
		{
			URL = "http://www.billslasvegas.com";
		}
		// Open Horseshoe in a separate browser window
		//if ((prop == "hsb") || (prop == "hsh") || (prop == "hst"))
		//{
			//window.open(URL, "_horseshoe", "");
		//}
		//else
		//{
			self.location.href = URL;
		//}
	}
}
