
	var countryArray = new Array( new Array( "Austria", "www.palmolive.at" ),
							  new Array( "Belgium", "www.palmolive.be" ),
							  new Array( "Denmark", "www.palmolive.dk" ),
							  new Array( "Finland", "www.palmolive.fi" ),
							  new Array( "France", "www.palmolive.com.fr" ),
							  new Array( "Germany", "www.palmolive.de" ),
							  new Array( "Greece", "www.palmolive.gr" ),
							  new Array( "Italy", "www.palmolive.it" ),
							  new Array( "Netherlands", "www.palmolive.nl" ),
							  new Array( "Norway", "www.palmolive.no" ),
							  new Array( "Portugal", "www.palmolive.com.pt" ),
							  //new Array( "Spain", "www.palmolive.es" ),
							  new Array( "Sweden", "www.palmolive.se" ),
							  new Array( "Switzerland", "www.palmolive.ch" ),
							  new Array( "United Kingdom", "www.palmolive.co.uk" )
							);
	
	function addSelect( selectBox, newText, newValue, bolSelect ) {
		newEntry = new Option(newText, newValue, false, bolSelect);
		selectBox.options[selectBox.length] = newEntry;
	}

	function delSelect( selectBox ) {
		selectBox.options[selectBox.length-1] = null;
	}
	
	function delAllSelect( selectBox ) {
		for(i=(selectBox.length-1);i>=0;i--) {
			delSelect(selectBox);
		}
	}
	
	function checkSelection( selectBox ) {
		if(selectBox.selectedIndex != 0)
			return selectBox.options[selectBox.selectedIndex].value;
		else
			return false;
	}

	function getSelectedCountry( selectBox ) {
		if(document.selectCountry.countrys.value!="") {
			if(document.selectCountry.countrys.value==null) {
				if(checkSelection(selectBox)!=false)
					document.location.href = "http://" + checkSelection(selectBox);
				else
					return true;
			}else {
				if(document.selectCountry.countrys.value!=0)
					document.location.href = "http://" + document.selectCountry.countrys.value;
				else
					return true;
			}
		}else
			return true;
	}

	delAllSelect( document.selectCountry.countrys );
	addSelect( document.selectCountry.countrys, "-- please select --", 0, true );
	for( i=0; i<=window.countryArray.length-1; i++ ) {
		addSelect( document.selectCountry.countrys, window.countryArray[i][0] + "     ", window.countryArray[i][1], false );
	}
