function getTargets(sid){
							
	id = document.getElementById('country').value;

	xmlHttp2=GetXmlHttpObject();
	if (xmlHttp2==null) {
		alert ("Browser does not support HTTP Request");
		return;
	}

	loadingtxt = "<select size='6' class='box'><option value='0'>Lataa...</option></select>";

	document.getElementById('targetsHere').innerHTML = loadingtxt;
	var url="/ajax/getTargets.asp?sid=" + sid + "&id=" + id;
	
	xmlHttp2.onreadystatechange=getTargets_stateChanged;
	xmlHttp2.open("GET",url,true);
	xmlHttp2.send(null);
}

function getTargets_stateChanged() {
	if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete") {
	
	setTimeout(displayTargets,500);

	}
}

function displayTargets(){
	document.getElementById('targetsHere').innerHTML=xmlHttp2.responseText;
}
