If you post the javascript for the
rollOver function I can try and help you understand it and translate it into Perl. Also, try downloading Mozilla and install the Venkman Javascript debugger. That will let you step through the javascript on a page, so even if it isn't quite obvious at first glance of the code what is going on you can find it out. Also, there are facilities to view all the functions, etc. of the javascript like most good IDEs.
Want to support the EFF and FSF by buying cool stuff? Click
here.