Note: If you already have a latitude/longitude, see Alteveer’s answer.
You'll need to need to use a geolocation service to get the latitude/longitude. Google Maps has one built in:
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding