var geoLocationRequest = null;
		
function CreateXmlHttpReq(handler){
  var xmlhttp = null;
  xmlhttp = new XMLHttpRequest();
  xmlhttp.onreadystatechange = handler;
  return xmlhttp;
}

function myHandler(){
    if (geoLocationRequest.readyState == 4 && geoLocationRequest.status == 200) {
        //alert(geoLocationRequest.responseText);
    }
}

function getGeoLocation(){
    geoLocationRequest = CreateXmlHttpReq(myHandler);
    geoLocationRequest.open("GET","inc/geolocation/ajax_get_remote_file.php");
    geoLocationRequest.send(null);
}

getGeoLocation();
