code stolen from: http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-markers.html