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;
}
//////////////////checking username///////////////////
function showInfo1(value,url){
	//alert(value);
httpObject = GetXmlHttpObject();
if (httpObject != null) {
httpObject.onreadystatechange = valueShow;	
httpObject.open("GET", "ajaxconnector/cityName.php?educationType="+value, true);
httpObject.send(null);
}
}
// Change the value of the outputText field
function valueShow(){
	if(httpObject.readyState == 4){
	document.getElementById('show_1').innerHTML= httpObject.responseText;
	}
	else
	{
	document.getElementById('show_1').innerHTML= "..loading";
	}
	}
function showInfo2(value,url){
	//alert(value);
httpObject = GetXmlHttpObject();
if (httpObject != null) {
httpObject.onreadystatechange = valueShow2;	
httpObject.open("GET", "ajaxconnector/cityName2.php?educationType="+value, true);
httpObject.send(null);
}
}
// Change the value of the outputText field
function valueShow2(){
	if(httpObject.readyState == 4){
	document.getElementById('show_2').innerHTML= httpObject.responseText;
	}
	else
	{
	document.getElementById('show_2').innerHTML= "..loading";
	}
	}

