Forum Moderators: open
******************
<script type="text/javascript" language="JavaScript">
<!--
function show(object) { if (document.layers && document.layers[object]!= null) document.layers[object].visibility = 'visible'; else if (document.all) document.all[object].style.visibility = 'visible'; }
function hide(object) { if (document.layers && document.layers[object]!= null) document.layers[object].visibility = 'hidden'; else if (document.all) document.all[object].style.visibility = 'hidden'; }
//-->
</SCRIPT>
***********
Your help will be greatly appreciated.
THANKS,
Jim
[edited by: DrDoc at 8:57 pm (utc) on Dec. 4, 2005]
[edit reason] examplified and shortened [/edit]
if(document.getElementById) document.getElementById(object).style.visibility = 'visible';
else if(document.all) document.all[object].style.visibility = 'visible'; You can really scrap the document.layers stuff, since that only pertains to NN4 and lower.