function dHPPrincipal(url) { 
	url=encodeURI(url);
	
	Spry.Effect.DoFade('cuerpo', {duration:10,from:100,to:1});
	if (window.XMLHttpRequest) { 
	mXR = new XMLHttpRequest();
	if (mXR) 
		{ mXR.onreadystatechange = function () { 
									if (mXR.readyState == 4) { 
										if (mXR.status == 200) { 

											//document.getElementById("mS").innerHTML ="&curren; Proceso Terminado <font color='008610'>&radic;</font>"+"<br/>"+document.getElementById("mS").innerHTML;
											
											Spry.Effect.DoFade('cuerpo', {duration:10,from:100,to:1,finish:function (){document.getElementById("cuerpo").innerHTML =mXR.responseText;initLightbox();}});
											Spry.Effect.DoFade('cuerpo', {duration:2000,from:1,to:100});
											pageTracker._trackPageview(url);
											
											//if(document.getElementById("ejecutar")){ejecutar(document.getElementById("ejecutar").innerHTML);}
											
											}
											else { //document.getElementById("mS").innerHTML ="> Hubo un problema cargando datos:\n" + mXR.statusText+"<br/>"+document.getElementById("mS").innerHTML; 
											}
										}
										} 	; 
		mXR.open("POST", url, true); 
		mXR.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');

		mXR.send(url); 
		} 
		}
	else 
	if (window.ActiveXObject)
	{ 
		mXR = new ActiveXObject("Microsoft.XMLHTTP");
		if (mXR) { mXR.onreadystatechange = function () { 
											if (mXR.readyState == 4) { 
												if (mXR.status == 200) { 

													//document.getElementById("mS").innerHTML ="&curren; Proceso Terminado <font color='008610'>&radic;</font>"+"<br/>"+document.getElementById("mS").innerHTML;
													
													Spry.Effect.DoFade('cuerpo', {duration:10,from:100,to:1,finish:function (){document.getElementById("cuerpo").innerHTML =mXR.responseText;initLightbox();}});
													Spry.Effect.DoFade('cuerpo', {duration:2000,from:1,to:100});
													pageTracker._trackPageview(url);
													
													//if(document.getElementById("ejecutar")){ejecutar(document.getElementById("ejecutar").innerHTML);}
													
													}
													else { //document.getElementById("mS").innerHTML ="> Hubo un problema cargando datos:\n" + mXR.statusText+"<br/>"+document.getElementById("mS").innerHTML; 
													}
												}
												} 	; 
		mXR.open("POST", url, true); 
		mXR.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');

		mXR.send(url);
		} 
	} 
	}
function pRCPrincipal() { 
if (mXR.readyState == 4) { 
	if (mXR.status == 200) { 

		//document.getElementById("mS").innerHTML ="&curren; Proceso Terminado <font color='008610'>&radic;</font>"+"<br/>"+document.getElementById("mS").innerHTML;
		
		Spry.Effect.DoFade('cuerpo', {duration:10,from:100,to:1,finish:function (){document.getElementById("cuerpo").innerHTML =mXR.responseText;initLightbox();}});
		Spry.Effect.DoFade('cuerpo', {duration:2000,from:1,to:100});
		
		
		//if(document.getElementById("ejecutar")){ejecutar(document.getElementById("ejecutar").innerHTML);}
		
		}
		else { //document.getElementById("mS").innerHTML ="> Hubo un problema cargando datos:\n" + mXR.statusText+"<br/>"+document.getElementById("mS").innerHTML; 
		}
	}
	} 	
function loadingG(estado) {
	if (estado==1)
	{
		document.getElementById("loading").innerHTML = "<img src='entorno/spinner.gif' border='0'>";
	}
	else
	{
		document.getElementById("loading").innerHTML = "<img src='entorno/spinnerOff.gif' border='0'>";
	}
		return true;
	
}