	/**
         * Función que posiciona dinámicamente el "pie de página". De esta forma conseguimos que este siempre aparezca
         * en el mismo lugar, y si el contenido a mostrar necesita más tamaño, el pie se reposiciona automáticamente.
         */
	function posicionPie(obj){
           var altoTabla = document.getElementById("tabla_principal").offsetHeight;
           if(altoTabla < 450 && altoTabla != 0){

                var cliente = document.body.clientHeight - 90;
                var total = cliente - altoTabla;
                document.all('pie').style.height = total>0?total:0;
           }
         }

	function noDisponible(){
		myWindow=window.open(direccion,'url','width=550,height=280,screenX=0,screenY=0,left=250,top=250,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');
		var a = 1;
	}
	
	function outlineItem(text, uri) {
		this.text = text;
		this.uri = uri;
	}

  function popAviso(){
	window.open(aviso_legal,'popAviso','width=550,height=280,left=250,top=250,scrollbars=yes,resizable=yes,status=1');
  }

