I agree with Kat, you need a jS, or dhtml.
If you still want CGI, you could put this script on a blank page and use CGI to call the script, so that if you ever want to change the script you only need to change it once. And it would in effect change across your entire site.
Of course, you could do the same thing without CGI as well.
http://www.dynamicdrive.com/dynamicindex9/noright2.htm
------------------
[email protected]
LeeannOnline.com
usexfan.com
ICQ : 114683191