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("menu.xml");

	document.write("<table border='0' cellpadding='0' cellspacing='0'>");

	var x=xmlDoc.getElementsByTagName("NODE");
	for (i=0;i<x.length;i++)
	{ 
		document.write("<tr>");
		document.write("<td style='background: #ABC254; width: 25;'></td>");
		document.write("<td style='background: #91AA37; vertical-align: middle; width: 100; height: 25;'>");
		document.write("<a href='");
		document.write(x[i].getElementsByTagName("URL")[0].childNodes[0].nodeValue);
		document.write("'>");
		document.write(x[i].getElementsByTagName("TITLE")[0].childNodes[0].nodeValue);
		document.write("</a>");
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr><td height='2' colspan='2' cellpadding='0'></td></tr>");
	}
	document.write("</table>");
}

