function nuevoAjax()
{ 
	/* Crea el objeto AJAX. Esta funcion es generica para cualquier utilidad de este tipo, por
	lo que se puede copiar tal como esta aqui */
	var xmlhttp=false;
	try
	{
		// Creacion del objeto AJAX para navegadores no IE
		xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e)
	{
		try
		{
			// Creacion del objet AJAX para IE
			xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch(E)
		{
			if (!xmlhttp && typeof XMLHttpRequest!='undefined') xmlhttp=new XMLHttpRequest();
		}
	}
	return xmlhttp; 
}

// Declaro los selects que componen el documento HTML. Su atributo ID debe figurar aqui.

function cargaContenido()
{
		
	// Obtengo la posicion que ocupa el select que debe ser cargado en el array declarado mas arriba

	
	
		var ajax=nuevoAjax();
				
		ajax.open("GET", "puzzle.html", true);
		ajax.onreadystatechange=function() 
		{ 
			
			if (ajax.readyState==4)
			{
				document.getElementById("content").innerHTML=ajax.responseText;
			} 
		}
		ajax.send(null);
	
}
