function getUsersCity(){return google.loader.ClientLocation.address.city}function getUsersRegion(){return google.loader.ClientLocation.address.region}function getUsersCountryCode(){return google.loader.ClientLocation.address.country_code}function getUsersCountry(){return google.loader.ClientLocation.address.country}function getUsersLatitude(){return google.loader.ClientLocation.latitude}function getUsersLongitude(){return google.loader.ClientLocation.longitude}function recordUsersLocation(){var e=getUsersCity();var c=getUsersRegion();var d=getUsersCountry();var a=getUsersCountryCode();var f=getUsersLatitude();var b=getUsersLongitude();new Ajax.Request("ajaxRequest.php?type=recordUsersLocation",{method:"post",postBody:"city="+e+"&region="+c+"&country="+d+"&countryCode="+a+"&latitude="+f+"&longitude="+b})}function setUsersCurrentLocation(b){if(b){city=getUsersCity();region=getUsersRegion();countrycode=getUsersCountryCode();var a="";if(city){a=a+city+" "}if(region){a=a+region+" "}if(countrycode){a=a+countrycode+" "}if(a!=""){$(b).value=a}}};