I don't want to put the code before the doctype, but it is the only place where the javascript will work in Firefox. I think the problem may be that there is already vbscript on the page - for a different issue.
Unfortunately I can't easily post the script due to privacy issues.
This is the javascript
:
<script type="text/javascript">
var OpenDiv;
var OpenImg;
function Close(div, img)
{
if (div != null) div.style.display = "none";
if (img != null) img.src = "/_lib/images/bg_arrowRed.
gif";
}
function Open(div, img)
{
if (OpenDiv == div)
{
// user has clicked on an already open div, so close it
Close(div, img);
OpenDiv = null;
OpenImg = null;
}
else
{
// user wants to open a div
div.style.display = "block";
img.src = "/_lib/images/bg_arrowRed_down.
gif";
// close the open div
Close(OpenDiv, OpenImg);
// update the open vars
OpenDiv = div;
OpenImg = img;
}
}
</script>
Any ideas??