function expandCollapse() 
{
for (var i=0; i<expandCollapse.arguments.length; i++)
{
 var item=expandCollapse.arguments[i];  //store the name of the item
 var element = document.getElementById(item);  //store the element id
 if (element.style.display=="none")   //is it hidden?
 {
   element.style.display="block";   //show it
   if (item.substr(4)=="b")   //is the 5th character a 'b'
     countit(item.substr(0,4));   //pass the first 4 characters only
 }
 else
 {
   element.style.display="none";
 }
}
}