<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>var subs</title>
</head>

<body>

<p>var subs_array = new Array(&quot;sub1&quot;,&quot;sub2&quot;,&quot;sub3&quot;);// Put the id's of your 
hidden divs in this array<br>
<br>
function displaySubs(the_sub){<br>
if (document.getElementById(the_sub).style.display==&quot;&quot;){<br>
document.getElementById(the_sub).style.display = &quot;none&quot;;return<br>
}<br>
for (i=0;i&lt;subs_array.length;i++){<br>
var my_sub = document.getElementById(subs_array[i]);<br>
my_sub.style.display = &quot;none&quot;;<br>
}<br>
document.getElementById(the_sub).style.display = &quot;&quot;;<br>
}<br>
&nbsp;</p>

</body>

</html>
