raustin;10879790 wrote:is this a job for javascript?
Definitely. Examine Google's source code and you'll find this:
<a href="http://maps.google.com/maps?hl=en&tab=wl" onclick=gbar.qs(this) class=gb1>Maps</a>
(Notice the onclick attribute)
You could make this as simple as having a hidden form field that contains the type of search being performed, so that your "onclick" event would simply alter this hidden value (e.g. set it to "maps" or "images" or ...). Don't forget you might also want to code them as regular links (e.g. "search.php?type=maps") just in case a user's browser doesn't support Javascript.