	function new_ajax()
	{
		try
		{
			this.xmlhttp = new XMLHttpRequest();
		}
		catch(ee)
		{
			try
			{
				this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch(e)
			{
				try
				{
					this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch(E)
				{
					this.xmlhttp = false;
				}
			}
		}
	}
	
	function returnAjaxTempo()
	{
		var ajax = new new_ajax();
		
		if (ajax)
		{
			ajax.xmlhttp.open("GET","ajax_tempo.php",true);
			
			ajax.xmlhttp.onreadystatechange=function() 
			{
				if (ajax.xmlhttp.readyState==4)
					document.getElementById('ajax_tempo').innerHTML = ajax.xmlhttp.responseText;
			}
	
			ajax.xmlhttp.send(null);
			return false;
		}
		else
			return false;
	}
