// JavaScript Document
function createXmlHttpObj()
{
	// try creating for IE (note: we don't know the user's browser type here, just attempting IE first.)
	var BBCXmlHttpObj;
	try
	{
		BBCXmlHttpObj = new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch(e)
	{
		try
		{
			BBCXmlHttpObj = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch(oc)
		{
			BBCXmlHttpObj = null;
		}
	}
	// if unable to create using IE specific code then try creating for Mozilla (FireFox) 
	if(!BBCXmlHttpObj && typeof XMLHttpRequest != "undefined") 
	{
		BBCXmlHttpObj = new XMLHttpRequest();
	}
	return BBCXmlHttpObj;
}
function GetInnerText (node)
{
	 return (node.textContent || node.innerText || node.text) ;
}