var xmlHttpACC
function showACC (strcampus, choose)
{ 
xmlHttpACC=GetXmlHttpObject()
if (xmlHttpACC==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 var	USERID=choose; 

   if (choose==0)
{
var urlcampus="../portal/accajax.php?CAMPUS="+strcampus
	}
else if (choose=!0)
{var urlcampus="../portal/accajaxcomparegraph.php?CAMPUS="+strcampus+"&"+"USER="+USERID;  }

xmlHttpACC.onreadystatechange=stateChangedFIVE 
xmlHttpACC.open("POST",urlcampus,true)
xmlHttpACC.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpACC.send(null)
}
function stateChangedFIVE() 
{ 
if (xmlHttpACC.readyState==4 || xmlHttpACC.readyState=="complete")
 { 
 document.getElementById("achievement").innerHTML=xmlHttpACC.responseText 
  document.getElementById("achievementup").innerHTML=xmlHttpACC.responseText 

} 
}

function GetXmlHttpObject()
{
var xmlHttpACC=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpACC=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpACC=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpACC=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpACC;
}// JavaScript Document



var xmlHttpACCCOMP
function showACCCOMP (strcampus)
{ 
xmlHttpACCCOMP=GetXmlHttpObject()
if (xmlHttpACCCOMP==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var urlcampus="../portal/accajaxcompare.php?CAMPUS="+strcampus
xmlHttpACCCOMP.onreadystatechange=stateChangedFIVECOMP 
xmlHttpACCCOMP.open("POST",urlcampus,true)
xmlHttpACCCOMP.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpACCCOMP.send(null)
}
function stateChangedFIVECOMP() 
{ 
if (xmlHttpACCCOMP.readyState==4 || xmlHttpACCCOMP.readyState=="complete")
 { 
 document.getElementById("achievementCOMP").innerHTML=xmlHttpACCCOMP.responseText 
} 
}

function GetXmlHttpObject()
{
var xmlHttpACCCOMP=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpACCCOMP=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpACCCOMP=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpACCCOMP=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpACCCOMP;
}// JavaScript Document




var xmlHttpAddress
function showAddress (strcampus,user)
{ 
xmlHttpAddress=GetXmlHttpObject()
if (xmlHttpAddress==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var urlcampus="../portal/address.php?CAMPUS="+strcampus+"&"+"user="+user
 xmlHttpAddress.onreadystatechange=stateChangeAddress 
xmlHttpAddress.open("POST",urlcampus,true)
xmlHttpAddress.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpAddress.send(null)
}
function stateChangeAddress() 
{ 
if (xmlHttpAddress.readyState==4 || xmlHttpAddress.readyState=="complete")
 { 
 document.getElementById("CAMPINFO").innerHTML=xmlHttpAddress.responseText 
} 
}

function GetXmlHttpObject()
{
var xmlHttpAddress=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpAddress=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpAddress=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
	   document.focus();

  xmlHttpAddress=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpAddress;
}// JavaScript Document


///addresses

  var xmlHttpLINKS
function showLINKS(str)
{ 
xmlHttpLINKS=GetXmlHttpObject()
if (xmlHttpLINKS==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="../portal/campusint.php?CAMPUS="+str+"&sid="+Math.random();
 
xmlHttpLINKS.onreadystatechange=stateChangedLINKSme 
xmlHttpLINKS.open("POST",url,true)
xmlHttpLINKS.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpLINKS.send(null)
}

function stateChangedLINKSme() 
{ 
if (xmlHttpLINKS.readyState==4 || xmlHttpLINKS.readyState=="complete")
 { 
 
 document.getElementById("CAMPINT").innerHTML=xmlHttpLINKS.responseText  
 
} 
}

///STARTS HERE



function GetXmlHttpObject()
{
var xmlHttpLINKS=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpLINKS=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpLINKS=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpLINKS=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpLINKS;
}

