
// Function taken from http://www.netlobo.com/div_hiding.html
function toggle( section )
{
  var elem, vis;
  if( document.getElementById ) // FF netscape etc
    elem = document.getElementById( section );
  else if( document.all ) // MSIE
      elem = document.all[section];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[section];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
}

