function makeReq(url, option, type, which_id){

	http_request = RequestBrawserCalling();
	
	if(type == ""){
		type = "country";
	}
	
	var posted_hood = document.search.post_hood.value;

	value = "city="+option.value+"&type="+type+"&post_hood="+posted_hood;

	http_request.open("post", url, true);

	http_request.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded; ' );

	http_request.onreadystatechange = function(){
		
		if (http_request.readyState == 4) {
			result = http_request.responseText;
			document.getElementById(which_id).innerHTML = result;
		}
	};
	
	if ( option == '' ) { 
		http_request.send(null); 
		
	}else { 
		
		http_request.send(value); 
	}//end else
}//end func


function RequestBrawserCalling()
  {
  var xmlHttp;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
      catch (e)
        {
        alert("Your browser does not support AJAX!");
        return false;
        }
      }
    }
    return xmlHttp;
  }