var xmlHttp
function showcountry(country)
{ 
 document.getElementById("network_select").innerHTML="<select style='color:#000000; font-size:9px; width:140px;' name='network'><option value='0'>Loading...</option></select>"
xmlHttp=GetxmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="getnetwork_ajax.php"
url=url+"?country="+country
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=statechanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function statechanged() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("network_select").innerHTML=xmlHttp.responseText 
 } 
}

function GetxmlHttpObject()
{
var xmlHttp=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;
}