var hpos=new Array();
hpos[0]="hposuk";
hpos[1]="hposusa";
hpos[2]="hposworld";

var hpvo=new Array();
hpvo[0]="hpvouk";

function getCity(strURL) {		
	var req = getXMLHTTP();
	if (req) {
		req.onreadystatechange = function() {
			if (req.readyState == 4) {
			// only if "OK"
				if (req.status == 200) {						
					document.getElementById('citydiv').innerHTML=req.responseText;						
				} else {
					alert("There was a problem while using XMLHTTP:\n" + req.statusText);
				}
			}				
		}			
		req.open("GET", strURL, true);
		req.send(null);
	}
}

function checkcountry(){
	thecountry = document.hposworld11.locat1.value;
	isukus = 0;
	if(thecountry == "United-Kingdom"){
		showhide('hposuk','hpos');
		isukus = 1;
	}
	if(thecountry == "United-States"){
		showhide('hposusa','hpos');
		isukus = 1;
	}
	if(!isukus){
		showhide('hposworld','hpos');
	}
}
