// JavaScript Document

createXMLHttpRequest = function () 
{
		if (typeof XMLHttpRequest != 'undefined')
			try { return new XMLHttpRequest(); } catch (e) {}
			try { return new ActiveXObject("Msxml14.XMLHTTP"); } catch (e) {}
			try { return new ActiveXObject("Msxml13.XMLHTTP"); } catch (e) {}
			try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
			try { return new ActiveXObject("Msxml12.XMLHTTP"); } catch (e) {}
			
			return null;
};


function loadXMLDoc (dname)
{
	var xmlDoc;
	
	xmlDoc= createXMLHttpRequest();
	xmlDoc.open("GET",dname,false);
	xmlDoc.setRequestHeader('Content-Type', 'text/xml; charset=utf-8');
	xmlDoc.send(null);
	return xmlDoc.responseXML;
		
}
