// JavaScript Document
function addnews(url)
{
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
 }
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET",url,false);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML; 
var x=xmlDoc.getElementsByTagName("news");
for (i=0;i<x.length;i++)
  { 
   document.write("<br /> ");
   document.write(x[i].getElementsByTagName("date")[0].childNodes[0].nodeValue);
   document.write(" ");
   document.write("<img src=\"../images/arrow.gif\" />");
   document.write(" ");
   document.write("<a href=\"");
   document.write(x[i].getElementsByTagName("url")[0].childNodes[0].nodeValue);
   document.write("\" target=\"_blank\" > ");
   document.write(x[i].getElementsByTagName("title")[0].childNodes[0].nodeValue);
   document.write("</a>");
   document.write("<br />");
    }

}
