function getNews() {
var docurl = window.location.pathname;
var xmlDoc=null;
if (window.ActiveXObject)
{// code for IE
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
else if (document.implementation.createDocument)
{// code for Mozilla, Firefox, Opera, etc.
xmlDoc=document.implementation.createDocument("","",null);
}
else
{
alert('Your browser cannot handle this script');
}
if (xmlDoc!=null) 
{
xmlDoc.async=false;
xmlDoc.load("xml/stiri.xml");
var x=xmlDoc.getElementsByTagName("stire");
for (i=0;i<x.length;i++) {
linkul=String(x[i].getAttribute("link"))
sursa=String(x[i].getAttribute("sursa"))
headline=x[i].childNodes[0].nodeValue;
	//alert(docurl);
	document.write('<div class="stiriText">');
	document.write(headline);
	document.write('<br/><br/>	Sursa: <a href="'+sursa+'" target="_blank">'+sursa+'</a><br/><br/>');
	if (docurl!=linkul) {
	document.write('<div style="text-align:right"><a href="')
	document.write(linkul+'">&gt; citeste toata stirea &gt;</a></div>');
	}
	document.write('</div>');
}
//	return [lastDate5,lastNumbers5]
}
}
