/*
 * This file is used to configure global links.
 */
var sServer
sServer = 'http://www.hbc.com';   //production


function openLink(linkName){
	if (linkName=="LINK_HOME"){
		window.location = sServer+'/';
		return;
	}
	if (linkName=="LINK_ABOUT_HBC"){
		window.location = sServer+'/hbc';
		return;
	}
	if (linkName=="LINK_SHOP"){
		window.location = 'http://shop.hbc.com';
		return;
	}
	if (linkName=="LINK_HBC_OLYMPIC_PARTNERSHIP"){
		window.location = 'http://partnership.hbc.com/en_US/olympic.html';
		return;
	}
	if (linkName=="LINK_CUSTOMERSERVICE"){
		window.location = 'http://shop.hbc.com/en_US/customer_service.html';
		return;
	}
	if (linkName=="LINK_EFLYERS"){
		popup('http://www.bhc.com/eflyers');
		return;
	}
	if (linkName=="LINK_GIFTCARD"){
		window.location = 'http://www.hbc.com/en/index.html';
		return;
	}
	if (linkName=="LINK_CONTACT_US"){
		window.location = 'https://www.hbc.com/contactus/contact-us.asp?langid=en&src=hbc';
		return;
	}
	if (linkName=="LINK_STORELOCATOR"){
		window.location = sServer+'/storelocator/?langid=En';
		return;
	}
	
	if (linkName=="LINK_FOOTER_LINK1"){
		window.location = sServer+'/bay/';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK2"){
		window.location = sServer+'/zellers/';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK3"){
		window.location = 'http://www.homeoutfitters.com/en/index.html';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK4"){
		window.location = sServer+'/DesignerDepot/';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK5"){
		return;
	}
	if (linkName=="LINK_FOOTER_LINK6"){
		window.location = sServer+'/hbconline/home.asp?langid=EN';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK7"){
		window.location = sServer+'/hbcrewards/';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK8"){
		window.location = sServer+'/registry/Default.aspx?langid=EN&gs=GIFTREGISTRY&site=bay';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK9"){
		window.location = 'http://financial.hbc.com/en/credit/index.shtml';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK10"){
		window.location = sServer+'/financial/legal.asp';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK11"){
		window.location= sServer+'/hbc/socialresponsibility/foundation/default.asp';
		return;
	}
	if (linkName=="LINK_PRIVACY_POLICY"){
		window.location = 'http://www.hbc.com/en/privacy.html';
		return;
	}
	if (linkName=="LINK_TERMS_CONDITIONS"){
		window.location = 'http://www.hbc.com/en/terms.html';
		return;
	}
	// Zellers BTS LINKS
	if (linkName=="LINK_BTSLANDING"){
		window.location = sServer+'/zellers/bts/bts_home.shtml';
		return;
	}
	if (linkName=="LINK_COOLCLOTHES"){
		window.location = sServer+'/zellers/bts/bts_coolclothes.shtml';
		return;
	}
	if (linkName=="LINK_BACKPACK"){
		window.location = sServer+'/zellers/bts/bts_backpack.shtml';
		return;
	}
	if (linkName=="LINK_LUNCHBAGS"){
		window.location = sServer+'/zellers/bts/bts_lunchbags.shtml';
		return;
	}
	if (linkName=="LINK_BINDERS"){
		window.location = sServer+'/zellers/bts/bts_binders.shtml';
		return;
	}
	if (linkName=="LINK_SUPPLIES"){
		window.location = sServer+'/zellers/bts/bts_supplies.shtml';
		return;
	}
	if (linkName=="LINK_DORM"){
		window.location = sServer+'/zellers/bts/bts_dorm.shtml';
		return;
	}
	if (linkName=="LINK_SHOES"){
		window.location = sServer+'/zellers/bts/bts_shoes.shtml';
		return;
	}
	if (linkName=="LINK_ELECTRONICS"){
		window.location = sServer+'/zellers/bts/bts_electronics.shtml';
		return;
	}
	
	
}



