    

function GetXmlHttpObject() {
      var xmlHttp=null;
      try
      {
        // Firefox, Opera 8.0+, Safari
        xmlHttp=new XMLHttpRequest();
      }
      catch (e)
      {
         // Internet Explorer
         try
    	  {
    	     xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    	  }
  	  catch (e)
         {
           xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
         }
      }
       return xmlHttp;
    }


function getThompson() {

  	xmlHttp=GetXmlHttpObject()
  	if (xmlHttp==null)
	{
	  alert ("Your browser does not support AJAX!");
	  return;
    	} 
       
  	//var url="/www/aecomdsm/renderers/jsp/getThompson.jsp";
	var url="/www/aecomdsm/ptemplates/channel/news/unfiltered/thompsonNews.jsp";
	url=url+"&sid="+Math.random();
	//alert(url);
  	xmlHttp.onreadystatechange=populateThompson;
  	xmlHttp.open("GET",url,true);
  	xmlHttp.send(null);  
    }


function populateThompson() { 
      if (xmlHttp.readyState==4)
      { 
        if(xmlHttp.status == 200 || xmlHttp.status == 304) {
	    document.getElementById("rssThompsonFeed").innerHTML = xmlHttp.responseText;
	 }
      }
}

