I think you need an index.cgi file... something like this...
http://www.calpoint.com/content/html...t_listing.html
I saw one that used variables and did exactly what your asking for, but I can't find it right now... if you know any scripting you should be able to modify it yourself...