//referencia al objeto XMLHttpRequest
var objXML=false;
var IntroPeq=false;
//funci—n 
function CrearObjXML()
{
	try{
		objXML = new ActiveXObject('Msxml2.XMLHTTP');
	}catch (e1) {
		try {
			objXML = new ActiveXOnject('Microsoft.XMLHTTP');
		}catch(e2){
			objXML = false;
		}
	}
	
	if (window.XMLHttpRequest)
		objXML = new XMLHttpRequest();
	
	if (!objXML && typeof XMLHttpRequest != 'undefined')
		objXML = new XMLHttpRequest();
}

function RecuperarIntro(IntroURL)
{
	if (objXML){
		objXML.open('GET', IntroURL, true);
		objXML.onreadystatechange=PresentarIntro;
		objXML.send(null);
	}
}

function PresentarIntro()
{
	if (objXML.readyState == 4){
		var texto = objXML.responseText;
		document.getElementById("intro").innerHTML = texto;
	}
}
