var xmlHttpCAMPUS
function showID(strcampus, choose)
{ 
xmlHttpCAMPUS=GetXmlHttpObject()
if (xmlHttpCAMPUS==null)
{
 alert ("Browser does not support HTTP Request")
 return
 }
 
 if (choose==0)
{
var urlcampus="../portal/collaccajax.php?CAMPUS="+strcampus
	}
else if (choose=!0)
{var urlcampus="../portal/collaccajaxgraph.php?CAMPUS="+strcampus }



xmlHttpCAMPUS.onreadystatechange=stateChangedtwo 
xmlHttpCAMPUS.open("POST",urlcampus,true)
xmlHttpCAMPUS.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
xmlHttpCAMPUS.send(null)
}
function stateChangedtwo() 
{ 
if (xmlHttpCAMPUS.readyState==4 || xmlHttpCAMPUS.readyState=="complete")
{ 
 document.getElementById("collegeaccess").innerHTML=xmlHttpCAMPUS.responseText 
  document.getElementById("collegeaccessup").innerHTML=xmlHttpCAMPUS.responseText 

} 
}


function GetXmlHttpObject()
{
var xmlHttpCAMPUS=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpCAMPUS=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpCAMPUS=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpCAMPUS=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpCAMPUS;
}// JavaScript Document
//COMPARE
var xmlHttpCOMPARE
function showCOMPARE(strcampus)
{ 
xmlHttpCOMPARE=GetXmlHttpObject()
if (xmlHttpCOMPARE==null)
{
 alert ("Browser does not support HTTP Request")
 return
}
var urlcampus="../portal/collegecompare.php?CAMPUS="+strcampus;
xmlHttpCOMPARE.onreadystatechange=stateChangedCOMPARE 
xmlHttpCOMPARE.open("POST",urlcampus,true)
xmlHttpCOMPARE.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
xmlHttpCOMPARE.send(null)
}
function stateChangedCOMPARE() 
{ 
if (xmlHttpCOMPARE.readyState==4 || xmlHttpCOMPARE.readyState=="complete")
{ 
 document.getElementById("collegeaccessCOMPARE").innerHTML=xmlHttpCOMPARE.responseText 
} 
}


function GetXmlHttpObjectCOMPARE()
{
var xmlHttpCOMPARE=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpCOMPARE=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpCOMPARE=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpCOMPARE=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpCOMPARE;
}// JavaScript Document





var xmlHttpACCCOMP
function showACCCOMP (strcampus)
{ 
xmlHttpACCCOMP=GetXmlHttpObject()
if (xmlHttpACCCOMP==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var urlcampus="../portal/accajax.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
