function openNews(index)
{
	var http = null;
	if(window.XMLHttpRequest)
		http = new XMLHttpRequest();
	else
		http = new ActiveXObject("Microsoft.XMLHTTP");
	http.open("GET", "news.php?" + index, true);
	http.send(null);
	http.onreadystatechange = function()
	{
		if(http.readyState == 4)
		{
			document.getElementById("news_buffer").innerHTML = http.responseText + "<br /><br /><a href=\"index.php\">Back to original text</a>";
			document.getElementById("news").style.display = "none";
		}
	}
}