// COMPAQ JAVASCRIPT cpq_country_pulldown.js VERSION 1.0

// Based on HP hpweb_country_pulldown.js - moved the language cookie setting function call to the HTML file

	// 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://h41313.www4.hp.com/emea_africa/en/cpq_support.html";
countrySelect_URLs["fr_AA"] = "http://h41313.www4.hp.com/emea_africa/fr/cpq_support.html";
countrySelect_URLs["es_AR"] = "http://welcome.hp.com/country/ar/es/welcome.html";
countrySelect_URLs["en_AU"] = "http://h50055.www5.hp.com/campaign/compaq/au/en/cpq_support.html";
countrySelect_URLs["de_AT"] = "http://h41313.www4.hp.com/at/de/cpq_support.html";
countrySelect_URLs["be_BY"] = "http://welcome.hp.com/country/by/ru/welcome.html";
countrySelect_URLs["nl_BE"] = "http://h41313.www4.hp.com/be/nl/cpq_support.html";
countrySelect_URLs["fr_BE"] = "http://h41313.www4.hp.com/be/fr/cpq_support.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://www.compaq.ca/cpq_support.html";
countrySelect_URLs["fr_CA"] = "http://www.compaq.ca/french/cpq_support.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://h41313.www4.hp.com/cz/cs/cpq_support.html";
countrySelect_URLs["da_DK"] = "http://h41313.www4.hp.com/dk/da/cpq_support.html";
countrySelect_URLs["es_EC"] = "http://welcome.hp.com/country/ec/es/welcome.html";
countrySelect_URLs["et_EE"] = "http://h41313.www4.hp.com/ee/et/cpq_support.html";
countrySelect_URLs["fi_FI"] = "http://h41313.www4.hp.com/fi/fi/cpq_support.html";
countrySelect_URLs["fr_FR"] = "http://h41313.www4.hp.com/fr/fr/cpq_support.html";
countrySelect_URLs["de_DE"] = "http://h41313.www4.hp.com/de/de/cpq_support.html";
countrySelect_URLs["el_GR"] = "http://h41313.www4.hp.com/gr/el/cpq_support.html";
countrySelect_URLs["en_HK"] = "http://h50055.www5.hp.com/campaign/compaq/hk/en/cpq_support.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://h50055.www5.hp.com/campaign/compaq/in/en/cpq_support.html";
countrySelect_URLs["en_ID"] = "http://h50055.www5.hp.com/campaign/compaq/id/en/cpq_support.html";
countrySelect_URLs["en_IE"] = "http://h41313.www4.hp.com/ie/en/cpq_support.html";
countrySelect_URLs["he_IL"] = "http://h41313.www4.hp.com/il/he/cpq_support.html";
countrySelect_URLs["it_IT"] = "http://h41313.www4.hp.com/it/it/cpq_support.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://h41313.www4.hp.com/lv/lv/cpq_support.html";
countrySelect_URLs["lt_LT"] = "http://h41313.www4.hp.com/lt/lt/cpq_support.html";
countrySelect_URLs["fr_BE"] = "http://welcome.hp.com/country/be/fr/welcome.html";
countrySelect_URLs["en_MY"] = "http://h50055.www5.hp.com/campaign/compaq/my/en/cpq_support.html";
countrySelect_URLs["es_MX"] = "http://welcome.hp.com/country/mx/es/welcome.html";
countrySelect_URLs["en_ME"] = "http://h41313.www4.hp.com/emea_middle_east/en/cpq_support.html";
countrySelect_URLs["nl_NL"] = "http://h41313.www4.hp.com/nl/nl/cpq_support.html";
countrySelect_URLs["en_NZ"] = "http://h50055.www5.hp.com/campaign/compaq/nz/en/cpq_support.html";
countrySelect_URLs["no_NO"] = "http://h41313.www4.hp.com/no/no/cpq_support.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://h50055.www5.hp.com/campaign/compaq/ph/en/cpq_support.html";
countrySelect_URLs["pl_PL"] = "http://h41313.www4.hp.com/pl/pl/cpq_support.html";
countrySelect_URLs["pt_PT"] = "http://h41313.www4.hp.com/pt/pt/cpq_support.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://h41313.www4.hp.com/ru/ru/cpq_support.html";
countrySelect_URLs["sr_YU"] = "http://welcome.hp.com/country/cs/sr/welcome.html";
countrySelect_URLs["en_SG"] = "http://h50055.www5.hp.com/campaign/compaq/sg/en/cpq_support.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://h41313.www4.hp.com/za/en/cpq_support.html";
countrySelect_URLs["es_ES"] = "http://h41313.www4.hp.com/es/es/cpq_support.html";
countrySelect_URLs["sv_SE"] = "http://h41313.www4.hp.com/se/sv/cpq_support.html";
countrySelect_URLs["fr_CH"] = "http://h41313.www4.hp.com/ch/fr/cpq_support.html";
countrySelect_URLs["de_CH"] = "http://h41313.www4.hp.com/ch/de/cpq_support.html";
countrySelect_URLs["zh_TW"] = "http://welcome.hp.com/country/tw/zh/welcome.html";
countrySelect_URLs["en_TH"] = "http://h50055.www5.hp.com/campaign/compaq/th/en/cpq_support.html";
countrySelect_URLs["tr_TR"] = "http://h41313.www4.hp.com/tr/tr/cpq_support.html";
countrySelect_URLs["uk_UA"] = "http://h41313.www4.hp.com/ua/ru/cpq_support.html";
countrySelect_URLs["en_UK"] = "http://h41313.www4.hp.com/uk/en/cpq_support.html";
countrySelect_URLs["en_US"] = "http://h18000.www1.hp.com/index.html/cpq_support.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";


	// 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;
	 }
	}