I am trying to build a simple web App for iphone3G that utilizes the GPS capability of the iphone.I need to be able to access the latitude/longitude of the current location of the user by either calling an API or a Javascript/plugin supported by Safari.

Any suggestions on how to do this??.I am trying to avoid using the SDK.Is SDK the only way to do this??.ANy pointers????