I have a google map on my site. and i have a form that auto fills the persons lat and long when they fill it out.

what i want to do is make the map on my main page show my office as a waypoint which it does... and then get there lat and lang to provide them with directions to my office.

I would provide code but i have recoded this 100 times today have ten hours in to it and still can not get it to work... will someone please write a script for me and explain it line by line so I
can understand where I have been going wrong?