function ChangeContent1() 
{
   var j = 0;
   var currentHTML = "";
   var anchors = document.getElementById('home_changecontent_control').getElementsByTagName('a');
   for (i=0; i<anchors.length; i++)
   {
   		anchors[i].className = "up";
   }
   document.getElementById('tab_shows').className = "active";
   var url = new Array ();
   url[0] = "/cm3/articles/show/4000";
   var swapDiv = document.getElementById("swap_content");
   getContent(url, swapDiv, j, currentHTML);
}

function ChangeContent2() 
{
   var j = 0;
    var currentHTML = "";
   var anchors = document.getElementById('home_changecontent_control').getElementsByTagName('a');
   for (i=0; i<anchors.length; i++)
   {
   		anchors[i].className = "up";
   }
   document.getElementById('tab_publications').className = "active";
   var url = new Array ();
   var swapDiv = document.getElementById("swap_content");
   //url[0] = "/cm3/articles/show/3436";
   url[0] = "/cm3/briefs/show/150";
   getContent(url, swapDiv, j, currentHTML);
}

function ChangeContent3() 
{
  var j = 0;
   var currentHTML = "";
  var anchors = document.getElementById('home_changecontent_control').getElementsByTagName('a');
   for (i=0; i<anchors.length; i++)
   {
   		anchors[i].className = "up";
   }
   document.getElementById('tab_trends').className = "active";
   var url = new Array ();
   var swapDiv = document.getElementById("swap_content");
   url[0] = "/cm3/briefs/show/151";
   getContent(url, swapDiv, j, currentHTML);
}




var xmlHttp;
function getContent(url, swapDiv, j, currentHTML)
{
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
	 	 if (xmlHttp.status == 200)
	 	 {
			swapDiv.innerHTML= currentHTML + xmlHttp.responseText;
			currentHTML = swapDiv.innerHTML;
			if((url.length > 1) && (j != url.length-1))
			{
			  j++
			  getContent(url, swapDiv, j, currentHTML);
			}
	  	  }
      }
    }
	xmlHttp.open("GET",url[j],true);
  	xmlHttp.send(null);
  }
