function abrir(fichaUrl,indiceUrl)
{
	top.ficha.document.location=fichaUrl;
	top.indice.document.location=indiceUrl;
}

if (this.top.frames.length==0){
	// no tiene marcos
	//location.href="http://"+location.hostname+"/docactos/publicaciones/index.htm";
//	location.href="http://"+location.hostname+"/pub/publicaciones/index.htm";
}

function poner(obj)
{

obj.innerHTML=obj.innerHTML+"&nbsp;&lt;";

}

function quitar(obj)
{
var cadena;
cadena=obj.innerHTML;
	if (cadena.indexOf("&lt;")>-1)
	{
		cadena=cadena.substring(0,cadena.length-10);
		obj.innerHTML=cadena;
	}
}
function cambiarClase(obj)
{
 var imgs,z;

 imgs=document.getElementsByTagName('a');

	 for (z=0;z<imgs.length ;z++)
	 {
	 	imgs[z].className="";
	 }
	 obj.className="marcado";
}

function Mostrar(info) {	
	if (document.getElementById) {
		val = document.getElementById(info).style.display;
	} else if (document.all) {
		val = document.all[info].style.display;
	} else if (document.layers) {
		val = document.layers[info].display;
	}
	if(val=="none") {	
		if (document.getElementById) {
			document.getElementById(info).style.display="block";
		} else if (document.all) {
			document.all[info].style.display="block";
		} else if (document.layers) {
			document.layers[info].display="block";
		}

	}else {		
		if (document.getElementById) {
			document.getElementById(info).style.display="none";
		} else if (document.all) {
			document.all[info].style.display="none";
		} else if (document.layers) {
			document.layers[info].display="none";
		}
	}

}
function Ocultar() {	

var i,etiqueta,info;
	i=0;
	while (i < document.getElementsByTagName('div').length)
	{
		etiqueta = document.getElementsByTagName('div').item(i).id;
		info= document.getElementsByTagName('div').item(i);
	
		if ( etiqueta.substr(0,4) == 'Info'){
			if (document.getElementById) 
				document.getElementsByTagName('div').item(i).style.display="none";
			else if (document.all) 
				document.all[info].style.display="none";
			else if (document.layers) 
				document.layers[info].display="none";
			}
		i++;
	}

}