          function s_ref(object)
          {
            if (document.getElementById)
            {
              return document.getElementById(object);
            }
            else if (document.all)
            {
              return eval('document.all.' + object);
            }
            else
            {
              return false;
            }
          }

    function s_chVis(object, show)
    {
      object = s_ref(object);
      if( !object.style )
      {
        return false;
      }

      if( show )
      {
        object.style.display = '';
      }
      else
      {
        object.style.display = 'none';
      }
    }

          function s_hideTabs(tabCnt, skipNum) {
                  for (var k = 1; k <= tabCnt; k++) {
        if (k == skipNum) {
                s_chVis('tab_'+k, 1);
          s_chVis('tab_'+k+'_body', 1);
          s_chVis('tab_'+k+'_bg', 0);
        }
        else {
                s_chVis('tab_'+k, 0);
          s_chVis('tab_'+k+'_body', 0);
          s_chVis('tab_'+k+'_bg', 1);
        }
                  }
          }

