function cambia_estilo(src,estilo,cursor)
{
// cursore   - hand  - default
    src.className = estilo ;  //
    src.style.cursor = cursor;   
};

function mOut(src,color)
{
 if (!src.contains(event.toElement)) 
    { src.bgColor = color; 
      src.style.cursor = "default";
    }
};
function mOver(src,color)
{
 if (!src.contains(event.fromElement)) 
   { src.bgColor = color ;  //
     src.style.cursor = "hand";
   }
};

function mOut(src,color)
{
 if (!src.contains(event.toElement)) 
    { src.bgColor = color; 
      src.style.cursor = "default";
    }
};

function relee(direccion)
     {
      var a=direccion;	 
      document.getElementById('2').src=a; 
     };
	 
function relee1(direccion,objeto)
     {
      var a=direccion;
	  var b=objeto.value; 
	  a= a + b;	 
      document.getElementById('2').src=a; 
     };
function relee_iframe(dir,id_iframe)
{
 var id = id_iframe;
 var direccion = dir
 window.parent.document.getElementById(id).src=direccion;
}

// funcion para ocultar un renglon
	function oculta(tr)
	{   
		if(document.getElementById(tr).style.display != 'none')
			document.getElementById(tr).style.display='none'
		else
			document.getElementById(tr).style.display='block'
	}