Here is a post that I would start with:
KML Help File I modified some tools of Ink_Polaroid (and created some of my own); however, my server is down for a couple weeks while I move. Look at
Ink_Polaroid's Best to get started. I hope this helps. Good luck.
p.s. In the help file you must save the kml file to your desktop, and then open it with notepad.