function showCountryList(regID){
	var i;
	var tmpObj;
	for(i = 0; i <= 10; i++){
		tmpObj = document.getElementById('c'+i);
		if(tmpObj != null && tmpObj != undefined){
			if(i == regID){
				tmpObj.style.display='block';
			}else{
				tmpObj.style.display='none';
			}
		}
	}
}

function geoSearch(cat){
	var region;
	var country;
	
	region = document.getElementById('reg').value;
	country= document.getElementById('c'+region).value;
	
	if(country.length == 0){
		location.href = '/regionStart.asp?reg='+region+'&amp;cat='+cat;
	}else{
		location.href = '/countryStart.asp?reg='+region+'&amp;cou='+country+'&amp;cat='+cat;
	}
}

function showHideCatList(mainCat){
	var i;
	var tmpObj;
	for(i = 0; i <= 50; i++){
		tmpObj = document.getElementById('cat'+i);
		if(tmpObj != null && tmpObj != undefined){
			if(i == mainCat){
				tmpObj.style.display='block';
			}else{
				tmpObj.style.display='none';
			}
		}
	}
}