
var xmlHttp

function ourPeopleJenny()
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="ourpeople-jenny.asp";
xmlHttp.onreadystatechange=stateChangedPeople;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function ourPeopleZue()
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="ourpeople-zue.asp";
xmlHttp.onreadystatechange=stateChangedPeople;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function hidepeoplenow()
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="ourpeople-hide.asp";
xmlHttp.onreadystatechange=stateChangedPeople;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function stateChangedPeople() 
{ 
if (xmlHttp.readyState==4)
{ 
document.getElementById("ourpeople").innerHTML=xmlHttp.responseText;
}
}

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;
}
