function dc_lm_strid_active(id){
  var idNone, idBlock, el, d
  if(id > 0){
    idNone = 0
    idBlock = 1
    d = new Date(2050, 12, 31)
  }else{
    idNone = 1
    idBlock = 0
    d = new Date(2000, 12, 31)
  }  
  document.cookie = "i6_lm_strid=" + idBlock + "; expires=" + d.toGMTString()
  el = document.getElementById('div_strid_' + idNone)
  if(el){
    if(el.style.display != 'none'){
      el.style.display = 'none'
      document.getElementById('td_strid_' + idNone).style.color = 'white'
      //document.getElementById('td_strid_' + idNone).style.textDecoration = 'underline'
    }
  }
  el = document.getElementById('div_strid_' + idBlock)
  if(el){
    if(el.style.display != 'block'){
      el.style.display = 'block'
      document.getElementById('td_strid_' + idBlock).style.color = 'black'
      //document.getElementById('td_strid_' + idBlock).style.textDecoration = 'none'
    }
  }
  if(id > 0){
    document.getElementById('dc_cat_prod').style.background = "url('img/dc_cat_prod.gif') center -21px no-repeat"
  }else{
    document.getElementById('dc_cat_prod').style.background = "url('img/dc_cat_prod.gif') center top no-repeat"
  }
}

function dc_sti_box_activate(el,id){
  var i=1;
  while (document.getElementById(el+'_'+i))
  {
    if(i==id) {
      document.getElementById(el+'_'+i).className = el+'_active';
      document.getElementById(el+'_area_'+i).style.display = 'block';
    } else {
      document.getElementById(el+'_'+i).className = el+'_normal';
      document.getElementById(el+'_area_'+i).style.display = 'none';
    }
    i=i+1;
  }
}
