function switch_hide (hideid) 
{
  contentbox = document.getElementById ('hidecontent' + hideid);
  switchlink = document.getElementById ('hidelink' + hideid);

  if (contentbox.className != 'hidecontent')
  {
    switchlink.className = 'hidelink';
    contentbox.className = 'hidecontent';
  }
  else
  {
    switchlink.className = 'hidelink hidelink_active';
    contentbox.className = '';
  }
}