function hide() {
// document.getElementById("header_max").style.display = "none";
//  document.getElementById("header_min").style.display = "block";
 xDisplay('header_max', 'none') 
 xHide('header_max'); 
 xShow('header_min'); 
 xDisplay('header_min', 'block') 
 document.getElementById("content_int").style.marginTop = "150px";
 document.getElementById("sidebar").style.top = "172px";
}

function show() {
//  document.getElementById("header_min").style.display = "none";
//  document.getElementById("header_max").style.display = "block";
 xDisplay('header_min', 'none') 
 xHide('header_min'); 
 xShow('header_max'); 
 xDisplay('header_max', 'block') 
 document.getElementById("content_int").style.marginTop = "347px";
 document.getElementById("sidebar").style.top = "369px";
}

function hide_ff() {
 document.getElementById("content_int").style.marginTop = "150px";
 document.getElementById("sidebar").style.top = "172px";
}

function show_ff() {
 document.getElementById("content_int").style.marginTop = "347px";
 document.getElementById("sidebar").style.top = "369px";
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function cambia(url) {
//  var url = location.href;
  var str;
  var idx = url.indexOf('desta=0');
  if (idx > -1) {
    str = url.replace('desta=0','desta=1');
  }
  else {
    idx = url.indexOf('desta=1');
    if (idx > -1) {
      str = url.replace('desta=1','desta=0');
    }
    else {
      // No hay variable 'desta'.
      idx = url.indexOf('?');
      if (idx == -1) {
        str = url + '?desta=0';
      }
      else {
        str = url + '&desta=0';
      }
    }

  }
  return str;
}