// JavaScript Document


// Precarga de imágenes
if (document.images) {
  var acceso_off = new Image();
  acceso_off.src = "img/boton_acceso.gif";
  var acceso_on = new Image();
  acceso_on.src = "img/boton_acceso_on.gif";
}

// Carga de imagen cuando el ratón pasa por encima
function entra(boton) {
  if (document.images) {
    if (boton == 'boton') {
      document.images[boton].src = acceso_on.src;
    }
  }
}

// Carga de imagen cuando el ratón abandona el área de la imagen
function sale(boton) {
  if (document.images) {
    if (boton == 'boton') {
      document.images[boton].src = acceso_off.src;
    }
  }
}
function resolucion()
{
//alert(document.body.clientHeight);
if (window.innerHeight){
   //navegadores basados en mozilla
   tabla.style.height = window.innerHeight;
}else{
   if (document.body.clientHeight){
      //Navegadores basados en IExplorer, es que no tengo innerheight
       tabla.style.height = document.body.clientHeight;
   }else{
       //otros navegadores
       tabla.style.height = 599
   }
} 

}


