function ajaxFunction(url)
{
	var xmlHttp;
	try
	{
		// Firefox, Opera 8.0+, Safari
		xmlHttp = new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Exploder
		try
		{
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e)
		{
			try
			{
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e)
			{
				alert("Your browser does not support AJAX!");
				return false;
			}
		}
	}
	if (xmlHttp != null)
	{
		xmlHttp.onreadystatechange = function()
		{
			if (xmlHttp.readyState == 4)
			{
				var el = document.getElementById("newsid");
				if (el == null)
				{
					alert("There was a problem retrieving the news.");
				}
				el.innerHTML = xmlHttp.responseText;
			}
		};
		xmlHttp.open("GET", url, true);
		xmlHttp.send(null);
	}
}
ajaxFunction("news.html");