//Funciones que invocan el generador de secciones

function mostrarServicio(id)
{ 
xmlHttp=obtenerXmlHttp()
if (xmlHttp==null)
 {
 alert ("Su navegador no soporta AJAX")
 return
 }
var url="servicios.php"
url=url+"?idServicio="+id
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=cargarServicio
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function cargarServicio() 
{ 
if(xmlHttp.readyState==1)
{
 document.getElementById("col_central").innerHTML="<div id='texto_precarga'>Cargando módulo por favor espere...</div>";
}

else if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("col_central").innerHTML=xmlHttp.responseText  
 } 
}
