Fix known Mac Firefox bug with JavaScript

Hi I hope I’ve come to the right place.

I don’t know how to write JavaScript, basically how do I add this:

hideWindowFixed(id){ var win = document.getElementById(id); win.style.visibility = "hidden"; win.style.display = "none";}

to this

<div class="close"><a href="#"><img src="../images/close-window-off.gif" alt="close" name="closeimg" width="147" height="35" id="closeimg" onclick="MM_showHideLayers('wedText','','hide')" onmouseover="MM_swapImage('closeimg','','../images/close-window-on.gif',1)" onmouseout="MM_swapImgRestore()"/></a></div>

The problem is that on Firefox for Mac it has an error that makes it display hidden scrollbars. The solution is here: www.errorforum.com

The page I’m trying to fix is here: http://www.barneyjonesphotography.com/pages/weddings.htm

Can anyone help? I imagine it’s easy if you know the syntax?

thanks
mark :ponder: