/* 
 * 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 = 'http://shop.hbc.com/stores/shop/home/fr/hbc';
		return;
	}
	if (linkName=="LINK_ABOUT_HBC"){
		window.location = sServer+'/hbcf';
		return;
	}
	if (linkName=="LINK_SHOP"){
		window.location = 'http://www.hbc.com/fr/index.html';
		return;
	}
	if (linkName=="LINK_HBC_OLYMPIC_PARTNERSHIP"){
		window.location = 'http://partnership.hbc.com/fr_FR/olympic.html';
		return;
	}
	if (linkName=="LINK_GIFTCARD"){
		window.location = 'http://www.hbc.com/fr/index.html';
		return;
	}
	if (linkName=="LINK_CUSTOMERSERVICE"){
		window.location = 'http://www.hbc.com/fr/index.html';
		return;
	}
	if (linkName=="LINK_CONTACT_US"){
		window.location = 'https://www.hbc.com/contactus/hbc/contact-us.asp?langid=fr&src=hbc';
		return;
	}
	if (linkName=="LINK_STORELOCATOR"){
		window.location = sServer+'/storelocator/?langid=FR';
		return;
	}
	
	if (linkName=="LINK_FOOTER_LINK1"){
		window.location = sServer+'/bayf/';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK2"){
		window.location = sServer+'/zellersf/';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK3"){
		window.location = 'http://www.homeoutfitters.com/fr/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=FR';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK7"){
		window.location = sServer+'/hbcrewards/default.asp?langid=FR';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK8"){
		window.location = sServer+'/registry/Default.aspx?langid=FR&gs=GIFTREGISTRY&site=bay';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK9"){
		window.location = 'http://finance.hbc.com/fr/credit/index.shtml';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK10"){
		window.location = sServer+'/financialf/legal.asp';
		return;
	}
	if (linkName=="LINK_FOOTER_LINK11"){
		window.location=sServer+'/hbcf/socialresponsibility/foundation/default.asp';
		return;
	}
	if (linkName=="LINK_PRIVACY_POLICY"){
		window.location = 'http://www.hbc.com/fr/privacy.html';
		return;
	}
	if (linkName=="LINK_TERMS_CONDITIONS"){
		window.location = 'http://www.hbc.com/fr/index.html';
		return;
	}
	// Zellers BTS LINKS
	if (linkName=="LINK_BTSLANDING"){
		window.location = sServer+'/zellersf/bts/bts_home.shtml';
		return;
	}
	if (linkName=="LINK_COOLCLOTHES"){
		window.location = sServer+'/zellersf/bts/bts_coolclothes.shtml';
		return;
	}
	if (linkName=="LINK_BACKPACK"){
		window.location = sServer+'/zellersf/bts/bts_backpack.shtml';
		return;
	}
	if (linkName=="LINK_LUNCHBAGS"){
		window.location = sServer+'/zellersf/bts/bts_lunchbags.shtml';
		return;
	}
	if (linkName=="LINK_BINDERS"){
		window.location = sServer+'/zellersf/bts/bts_binders.shtml';
		return;
	}
	if (linkName=="LINK_SUPPLIES"){
		window.location = sServer+'/zellersf/bts/bts_supplies.shtml';
		return;
	}
	if (linkName=="LINK_DORM"){
		window.location = sServer+'/zellersf/bts/bts_dorm.shtml';
		return;
	}
	if (linkName=="LINK_SHOES"){
		window.location = sServer+'/zellersf/bts/bts_shoes.shtml';
		return;
	}
	if (linkName=="LINK_ELECTRONICS"){
		window.location = sServer+'/zellersf/bts/bts_electronics.shtml';
		return;
	}
}