// HPWEB JAVASCRIPT hpweb_country_pulldown.js VERSION 1.0
//20031006c

	// Store URLs in an array. These must match the elements in the
	//  pulldown. In this example, the first element is the pulldown
	//  says 'Select a URL', thus countrySelect_URLs[0] contains an empty
	//  string. Note in this case that the name of the URL array
	//  is mapped to that of the Menu. This is assumed in the
	//  function below.


var countrySelect_URLs = new Array();
countrySelect_URLs[0] = "";
countrySelect_URLs[1] = "http://h20423.www2.hp.com/program/suppliesrecycling/au/en/supplies/index.asp"; //  Australia - English //
countrySelect_URLs[2] = "http://h20423.www2.hp.com/program/suppliesrecycling/cn/zh/supplies/index.asp"; //  China - Simplified Chinese//
countrySelect_URLs[3] = "http://h20423.www2.hp.com/program/suppliesrecycling/cn/en/supplies/index.asp"; //  China - English //
countrySelect_URLs[4] = "http://h20423.www2.hp.com/program/suppliesrecycling/hk/zh/supplies/index.asp"; //  Hong Kong - Traditional Chinese //
countrySelect_URLs[5] = "http://h20423.www2.hp.com/program/suppliesrecycling/hk/en/supplies/index.asp"; //  Hong Kong - English //
countrySelect_URLs[6] = "http://h20423.www2.hp.com/program/suppliesrecycling/in/en/supplies/index.asp"; //  India - English //
countrySelect_URLs[7] = "http://h50146.www5.hp.com/products/printers/supply/recycle.html"; //  Japan - Japanese //
countrySelect_URLs[8] = "http://h20423.www2.hp.com/program/suppliesrecycling/kr/en/supplies/index.asp"; //  Korea - English //
countrySelect_URLs[9] = "http://h20423.www2.hp.com/program/suppliesrecycling/kr/ko/supplies/index.asp"; //  Korea - Korean //
countrySelect_URLs[10] = "http://h20423.www2.hp.com/program/suppliesrecycling/my/en/supplies/index.asp"; //  Malaysia - English //
countrySelect_URLs[11] = "http://h20423.www2.hp.com/program/suppliesrecycling/nz/en/supplies/index.asp"; //  New Zealand - English //
countrySelect_URLs[12] = "http://h20423.www2.hp.com/program/suppliesrecycling/sg/en/supplies/index.asp"; //  Singapore - English //
countrySelect_URLs[13] = "http://h20423.www2.hp.com/program/suppliesrecycling/tw/zh/supplies/index.asp"; //  Taiwan - Traditional Chinese //
countrySelect_URLs[14] = "http://h20423.www2.hp.com/program/suppliesrecycling/tw/en/supplies/index.asp"; //  Taiwan - English //
countrySelect_URLs[15] = "http://h20423.www2.hp.com/program/suppliesrecycling/th/en/supplies/index.asp"; //  Thailand - English //
//countrySelect_URLs[16] = "http://h20423.www2.hp.com/program/suppliesrecycling/th/th/supplies/index.asp"; //  Thailand - Thai //
//countrySelect_URLs[15] = "supplies.asp"; //  Other Countries //

// 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 name of the pulldown menu.
function jumpToURL(formName,menuName) 
{
	var obj = eval("document." + formName + "." + menuName);
	var index = obj.selectedIndex;
	var url = eval(menuName + "_URLs[" + index + "]");
	if (url != "") 
	{
		location.href=url;
	}
}

// declare URL to Hardware recycling country sites
var hardwareCountrySelect_URLs = new Array();
hardwareCountrySelect_URLs[0] = "";
hardwareCountrySelect_URLs[1] = "http://h20423.www2.hp.com/program/suppliesrecycling/au/en/hardware/index.asp"; //  Australia - English //
hardwareCountrySelect_URLs[2] = "http://h20423.www2.hp.com/program/suppliesrecycling/cn/zh/hardware/index.asp"; //  China - Simplified Chinese //
hardwareCountrySelect_URLs[3] = "http://h20423.www2.hp.com/program/suppliesrecycling/cn/en/hardware/index.asp"; //  China - English //
hardwareCountrySelect_URLs[4] = "http://h20423.www2.hp.com/program/suppliesrecycling/hk/zh/hardware/index.asp"; //  Hong Kong - Traditional Chinese //
hardwareCountrySelect_URLs[5] = "http://h20423.www2.hp.com/program/suppliesrecycling/hk/en/hardware/index.asp"; //  Hong Kong - English //
hardwareCountrySelect_URLs[6] = "http://h20423.www2.hp.com/program/suppliesrecycling/in/en/hardware/index.asp"; //  India - English //
hardwareCountrySelect_URLs[7] = "http://h20423.www2.hp.com/program/suppliesrecycling/id/en/hardware/index.asp"; //  Indonesia //
hardwareCountrySelect_URLs[8] = "http://www.hp.com/jp/ja/hardwarerecycle"; //  Japan - Japanese //
hardwareCountrySelect_URLs[9] = "http://h20423.www2.hp.com/program/suppliesrecycling/my/en/hardware/index.asp"; //  Malaysia //
hardwareCountrySelect_URLs[10] = "http://h20423.www2.hp.com/program/suppliesrecycling/nz/en/hardware/index.asp"; //  New Zealand - English //
hardwareCountrySelect_URLs[11] = "http://h20423.www2.hp.com/program/suppliesrecycling/ph/en/hardware/index.asp"; //  Philippines //
hardwareCountrySelect_URLs[12] = "http://h20423.www2.hp.com/program/suppliesrecycling/sg/en/hardware/index.asp"; //  Singapore - English //
hardwareCountrySelect_URLs[13] = "http://h20423.www2.hp.com/program/suppliesrecycling/tw/zh/hardware/index.asp"; //  Taiwan - Traditional Chinese //
hardwareCountrySelect_URLs[14] = "http://h20423.www2.hp.com/program/suppliesrecycling/tw/en/hardware/index.asp"; //  Taiwan - English //
hardwareCountrySelect_URLs[15] = "http://h20423.www2.hp.com/program/suppliesrecycling/th/en/hardware/index.asp"; //  Thailand //

