function ajax_open (url, id_contenedor)
{
    var oAjax = false;
    if (window.XMLHttpRequest)
    {
        // Para los exploradores como la gente
        oAjax = new XMLHttpRequest();
    } else if (window.ActiveXObject)
    {
        // Para fucking IE
        try 
        {
            oAjax = new ActiveXObject("Msxml2.XMLHTTP");
        }
        catch (e)
        {
            // Si es versi�n antigua
            try
            {
                oAjax = new ActiveXObject("Microsoft.XMLHTTP");
            }
            catch (e)
            {
            }
        }
    }
    else
    return false;
    oAjax.onreadystatechange = function ()
    {
        // Llegada de datos
        cargar (oAjax, id_contenedor);
    }
    oAjax.open ('GET', url, true); // asignamos los m�todos open y send
    oAjax.send (null);
}

function cargar(oAjax, id_contenedor)
{
    HTTP_ROOT_PATH = 'http://www.neolo.com.ar/';
    if (oAjax.readyState == 4 && (oAjax.status == 200 || window.location.href.indexOf ("http") == -1))
    	document.getElementById (id_contenedor).innerHTML = oAjax.responseText;
	else
	   	document.getElementById (id_contenedor).innerHTML = '<img src="' + HTTP_ROOT_PATH + 'images/loading.gif" /> Cargando...';
}
