    function ajax_get(url, func)
    {

		var XMLHTTP = null;
		if (window.XMLHttpRequest)
		{
			XMLHTTP = new XMLHttpRequest();
		}
		else if (window.ActiveXObject)
		{
			try
			{
				XMLHTTP = new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (ex)
			{
				try
				{
					XMLHTTP = new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch(ex)
				{
					//leer
				}

			}
		}
		if (XMLHTTP != null)
		{
			try
			{

                                XMLHTTP.open("GET", url );
                                XMLHTTP.onreadystatechange = function()
					{

						if( XMLHTTP.readyState == 4 )
						{
                                                    func(XMLHTTP.responseText);
						}
					};
				XMLHTTP.send(null);
			}
			catch (ex)
			{
				//alert (ex);
			}
		}
    }
