Have a look at skin1/location.tpl
you'll need to pass more variables in the {include file="location.tpl" last_url="blah" new_location="some new var"} include of some of the other tpl files.
Best method to learn is de-construction, in my honest opionion.