View page source for the code. Requires jQuery, Google Maps API V3 and v3_epoly.js. Refresh the page to see the pointer travel the route again.