// HPWEB JAVASCRIPT hpweb_country_pulldown.js VERSION 1.0

	// Store URLs in an array. Match the country code to 
	// the corresponding option value on the welcome.html page.  
	// More than one option value on the welcome page may reference 
	// a single value on this page.  
	// Updated 5/3/06 mbrunot


var countrySelect_URLs = new Array();
countrySelect_URLs["en_AA"] = "http://welcome.hp.com/country/emea_africa/en/welcome.html";
countrySelect_URLs["fr_AA"] = "http://welcome.hp.com/country/emea_africa/fr/welcome.html";
countrySelect_URLs["es_AR"] = "http://welcome.hp.com/country/ar/es/welcome.html";
countrySelect_URLs["en_AU"] = "http://welcome.hp.com/country/au/en/welcome.html";
countrySelect_URLs["de_AT"] = "http://welcome.hp.com/country/at/de/welcome.html";
countrySelect_URLs["be_BY"] = "http://welcome.hp.com/country/by/ru/welcome.html";
countrySelect_URLs["nl_BE"] = "http://welcome.hp.com/country/be/nl/welcome.html";
countrySelect_URLs["fr_BE"] = "http://welcome.hp.com/country/be/fr/welcome.html";
countrySelect_URLs["es_BO"] = "http://welcome.hp.com/country/bo/es/welcome.html";
countrySelect_URLs["pt_BR"] = "http://welcome.hp.com/country/br/pt/welcome.html";
countrySelect_URLs["bg_BG"] = "http://welcome.hp.com/country/bg/bg/welcome.html";
countrySelect_URLs["en_CA"] = "http://welcome.hp.com/country/ca/en/welcome.html";
countrySelect_URLs["fr_CA"] = "http://welcome.hp.com/country/ca/fr/welcome.html";
countrySelect_URLs["en_CB"] = "http://welcome.hp.com/country/lamerica_nsc_carib/en/welcome.html";
countrySelect_URLs["es_NS"] = "http://welcome.hp.com/country/lamerica_nsc_cnt_amer/es/welcome.html";
countrySelect_URLs["es_CL"] = "http://welcome.hp.com/country/cl/es/welcome.html";
countrySelect_URLs["zh_CN"] = "http://welcome.hp.com/country/cn/zh/welcome.html";
countrySelect_URLs["es_CO"] = "http://welcome.hp.com/country/co/es/welcome.html";
countrySelect_URLs["hr_HR"] = "http://welcome.hp.com/country/hr/hr/welcome.html";
countrySelect_URLs["el_GR"] = "http://welcome.hp.com/country/gr/el/welcome.html";
countrySelect_URLs["cs_CZ"] = "http://welcome.hp.com/country/cz/cs/welcome.html";
countrySelect_URLs["da_DK"] = "http://welcome.hp.com/country/dk/da/welcome.html";
countrySelect_URLs["es_EC"] = "http://welcome.hp.com/country/ec/es/welcome.html";
countrySelect_URLs["et_EE"] = "http://welcome.hp.com/country/ee/et/welcome.html";
countrySelect_URLs["fi_FI"] = "http://welcome.hp.com/country/fi/fi/welcome.html";
countrySelect_URLs["fr_FR"] = "http://welcome.hp.com/country/fr/fr/welcome.html";
countrySelect_URLs["de_DE"] = "http://welcome.hp.com/country/de/de/welcome.html";
countrySelect_URLs["el_GR"] = "http://welcome.hp.com/country/gr/el/welcome.html";
countrySelect_URLs["en_HK"] = "http://welcome.hp.com/country/hk/en/welcome.html";
countrySelect_URLs["zh_HK"] = "http://welcome.hp.com/country/hk/zh/welcome.html";
countrySelect_URLs["hu_HU"] = "http://welcome.hp.com/country/hu/hu/welcome.html";
countrySelect_URLs["en_IN"] = "http://welcome.hp.com/country/in/en/welcome.html";
countrySelect_URLs["en_ID"] = "http://welcome.hp.com/country/id/en/welcome.html";
countrySelect_URLs["en_IE"] = "http://welcome.hp.com/country/ie/en/welcome.html";
countrySelect_URLs["he_IL"] = "http://welcome.hp.com/country/il/he/welcome.html";
countrySelect_URLs["it_IT"] = "http://welcome.hp.com/country/it/it/welcome.html";
countrySelect_URLs["ja_JP"] = "http://welcome.hp.com/country/jp/ja/welcome.html";
countrySelect_URLs["ru_KZ"] = "http://welcome.hp.com/country/kz/ru/welcome.html";
countrySelect_URLs["ko_KR"] = "http://welcome.hp.com/country/kr/ko/welcome.html";
countrySelect_URLs["lv_LV"] = "http://welcome.hp.com/country/lv/lv/welcome.html";
countrySelect_URLs["lt_LT"] = "http://welcome.hp.com/country/lt/lt/welcome.html";
countrySelect_URLs["fr_BE"] = "http://welcome.hp.com/country/be/fr/welcome.html";
countrySelect_URLs["en_MY"] = "http://welcome.hp.com/country/my/en/welcome.html";
countrySelect_URLs["es_MX"] = "http://welcome.hp.com/country/mx/es/welcome.html";
countrySelect_URLs["en_ME"] = "http://welcome.hp.com/country/emea_middle_east/en/welcome.html";
countrySelect_URLs["nl_NL"] = "http://welcome.hp.com/country/nl/nl/welcome.html";
countrySelect_URLs["en_NZ"] = "http://welcome.hp.com/country/nz/en/welcome.html";
countrySelect_URLs["no_NO"] = "http://welcome.hp.com/country/no/no/welcome.html";
countrySelect_URLs["es_PY"] = "http://welcome.hp.com/country/py/es/welcome.html";
countrySelect_URLs["es_PE"] = "http://welcome.hp.com/country/pe/es/welcome.html";
countrySelect_URLs["en_PH"] = "http://welcome.hp.com/country/ph/en/welcome.html";
countrySelect_URLs["pl_PL"] = "http://welcome.hp.com/country/pl/pl/welcome.html";
countrySelect_URLs["pt_PT"] = "http://welcome.hp.com/country/pt/pt/welcome.html";
countrySelect_URLs["es_PR"] = "http://welcome.hp.com/country/pr/es/welcome.html";
countrySelect_URLs["ro_RO"] = "http://welcome.hp.com/country/ro/ro/welcome.html";
countrySelect_URLs["ru_RU"] = "http://welcome.hp.com/country/ru/ru/welcome.html";
countrySelect_URLs["sr_YU"] = "http://welcome.hp.com/country/cs/sr/welcome.html";
countrySelect_URLs["en_SG"] = "http://welcome.hp.com/country/sg/en/welcome.html";
countrySelect_URLs["sk_SK"] = "http://welcome.hp.com/country/sk/sk/welcome.html";
countrySelect_URLs["sl_SI"] = "http://welcome.hp.com/country/si/sl/welcome.html";
countrySelect_URLs["en_ZA"] = "http://welcome.hp.com/country/za/en/welcome.html";
countrySelect_URLs["es_ES"] = "http://welcome.hp.com/country/es/es/welcome.html";
countrySelect_URLs["sv_SE"] = "http://welcome.hp.com/country/se/sv/welcome.html";
countrySelect_URLs["fr_CH"] = "http://welcome.hp.com/country/ch/fr/welcome.html";
countrySelect_URLs["de_CH"] = "http://welcome.hp.com/country/ch/de/welcome.html";
countrySelect_URLs["zh_TW"] = "http://welcome.hp.com/country/tw/zh/welcome.html";
countrySelect_URLs["en_TH"] = "http://welcome.hp.com/country/th/en/welcome.html";
countrySelect_URLs["tr_TR"] = "http://welcome.hp.com/country/tr/tr/welcome.html";
countrySelect_URLs["uk_UA"] = "http://welcome.hp.com/country/ua/ru/welcome.html";
countrySelect_URLs["en_UK"] = "http://welcome.hp.com/country/uk/en/welcome.html";
countrySelect_URLs["en_US"] = "http://welcome.hp.com/country/us/en/welcome.html";
countrySelect_URLs["es_UY"] = "http://welcome.hp.com/country/uy/es/welcome.html";
countrySelect_URLs["es_VE"] = "http://welcome.hp.com/country/ve/es/welcome.html";
countrySelect_URLs["en_VN"] = "http://welcome.hp.com/country/vn/en/welcome.html";
countrySelect_URLs["all"] = "http://welcome.hp.com/country/us/en/othercountrieswel.html";
countrySelect_URLs["al_AL"] = "http://www.hp.com/al"; 
countrySelect_URLs["az_AZ"] = "http://www.hp.az"; 
countrySelect_URLs["bs_BA"] = "http://www.hp.com/ba"; 
countrySelect_URLs["mk_MK"] = "http://www.hp.com/mk"; 
countrySelect_URLs["en_MT"] = "http://www.hp.com/mt";  
countrySelect_URLs["mo_MD"] = "http://www.hp.md";


	// Function to jump to a URL in a <select> menu
	//  In this case, the name of the array containing the URLs
	//  is determined based on the option value of the pulldown menu selection.
	function jumpToURL(formName,menuName) {
	
	 var obj = eval("document." + formName + "." + menuName);
	 var index = obj.value;
	 
	 var url = eval(menuName + "_URLs[index]");
	 if (index != "") {
	   location.href=url;
	 }
	}
	
	window.onUnload = setCountryLanguageCookies("zh-hk", "hk");


