// JavaScript Document
function loadNewsAlt(){
	if (window.XMLHttpRequest)
	  {
	  xhttp=new window.XMLHttpRequest()
	  }
	else
	  {
	  xhttp=new ActiveXObject("Microsoft.XMLHTTP")
	  }
	xhttp.open("GET","assets/data/news.xml",false);
	xhttp.send("");
	xmlDoc=xhttp.responseXML;
	
	if(document.getElementById("headline") != null){
		document.getElementById("headline").innerHTML = '<a href="news.php">' + xmlDoc.getElementsByTagName("headline")[0].childNodes[0].nodeValue + '</a>';
	}
	if(document.getElementById("news_body") != null){
		document.getElementById("news_body").innerHTML= '<a href="news.php">' + xmlDoc.getElementsByTagName("body")[0].childNodes[0].nodeValue + '</a>';
	}
}