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(){var B=$(GMAP_USERS_LOCATION_ELEMENT);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}}};