// JavaScript Document
function desplegar(capa){
	for(i=0; i<200; i++) 
	if(document.getElementById('list'+i)){
		var objeto2=document.getElementById('list'+i);
		objeto2.style.display='none';
	}
	//alert('list'+i);
	if(document.getElementById(capa)){
		var objeto=document.getElementById(capa);
		objeto.style.display='inline';
	}
		
}
function unveritas(){
document.getElementById('veritas').style.display='none';	
}
function veritas(){
document.getElementById('veritas').style.display='inline';
self.setTimeout('unveritas()', 5000)
}
function loadXMLDoc(dname) 
{
if (window.XMLHttpRequest)
  {
  xhttp=new XMLHttpRequest();
  }
else
  {
  xhttp=new ActiveXObject("Microsoft.XMLDOM");

  }
   xhttp.async = false;
   xhttp.load(dname);

//xhttp.open("GET",dname,false);
//xhttp.send();
return xhttp;
}
function loadXMLDoc(dname) 
{
if (window.XMLHttpRequest)
  {
  xhttp=new XMLHttpRequest();
  }
else
  {
  xhttp=new ActiveXObject("Microsoft.XMLHTTP");

  }
xhttp.open("GET",dname,false);
xhttp.send();
return xhttp.responseXML;
}
function loadXMLString(txt)
{
if (window.DOMParser)
  {
  parser=new DOMParser();
  xmlDoc=parser.parseFromString(txt,"text/xml");
  }
else // Internet Explorer
  {
  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  xmlDoc.async="false";
  xmlDoc.loadXML(txt);
  }
return xmlDoc;
}
