You are looking for AJAX (Asynchronous Javascript And Xml) or a
variant thereof (this is a general topic and doesn't really have
anything to do with this group).
A couple of references:
http://www.google.com/search?client=gmail&rls=gm&q=AJAX
From Mike Williams' Google Maps Javascript (v2) API Tutorial:
The Basics - Part 11 The AJAX Philosophy
http://econym.org.uk/gmap/basic11.htm
(while it contains examples from the v2 API, the concepts apply to
this version (v3) as well)
-- Larry