var xmlHttpAYPread
function showAYPread (strcampus, choose)
{ 
xmlHttpAYPread=GetXmlHttpObject()
if (xmlHttpAYPread==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 var	USERID=choose; 

   if (choose==0)
{
var urlcampus="http://www.idra.org/portal/AYPajax.php?CAMPUS="+strcampus;
 
	}
else if (choose=!0)
{var urlcampus="http://www.idra.org/portal/AYPcompare.php?CAMPUS="+strcampus+"&"+"USER="+USERID;  }
 
xmlHttpAYPread.onreadystatechange=stateChangedTEN 
xmlHttpAYPread.open("POST",urlcampus,true)
xmlHttpAYPread.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpAYPread.send(null)
}
function stateChangedTEN() 
{ 
if (xmlHttpAYPread.readyState==4 || xmlHttpAYPread.readyState=="complete")
 { 
 document.getElementById("AYPread").innerHTML=xmlHttpAYPread.responseText ;
 document.getElementById("AYPreadup").innerHTML=xmlHttpAYPread.responseText ;

} 
}

function GetXmlHttpObject()
{
var xmlHttpAYPread=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpAYPread=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpAYPread=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpAYPread=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpAYPread;
}// JavaScript Document

 
var xmlHttpAYPCOMP
function showAYPCOMP (strcampus)
{ 
xmlHttpAYPCOMP=GetXmlHttpObject()
if (xmlHttpAYPCOMP==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var urlcampus="http://www.idra.org/portal/AYPcompare.php?CAMPUS="+strcampus
xmlHttpAYPCOMP.onreadystatechange=stateChangedTENCOMP
xmlHttpAYPCOMP.open("POST",urlcampus,true)
xmlHttpAYPCOMP.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpAYPCOMP.send(null)
}
function stateChangedTENCOMP() 
{ 
if (xmlHttpAYPCOMP.readyState==4 || xmlHttpAYPCOMP.readyState=="complete")
 { 
 document.getElementById("AYPComp").innerHTML=xmlHttpAYPCOMP.responseText 
} 
}

function GetXmlHttpObject()
{
var xmlHttpAYPCOMP=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpAYPCOMP=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpAYPCOMP=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpAYPCOMP=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpAYPCOMP;
}// JavaScript Document


var xmlHttpQualCur
function showQualCur (strcampus)
{ 
xmlHttpQualCur=GetXmlHttpObject()
if (xmlHttpQualCur==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var urlcampus="http://www.idra.org/portal/curriajax.php?CAMPUS="+strcampus
xmlHttpQualCur.onreadystatechange=stateChangedTwE
xmlHttpQualCur.open("POST",urlcampus,true)
xmlHttpQualCur.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpQualCur.send(null)
}
function stateChangedTwE() 
{ 
if (xmlHttpQualCur.readyState==4 || xmlHttpQualCur.readyState=="complete")
 { 
 document.getElementById("CurrQual").innerHTML=xmlHttpQualCur.responseText; 
 
} 
}

function GetXmlHttpObject()
{
var xmlHttpQualCur=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpQualCur=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpQualCur=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpQualCur=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpQualCur;
}
   
 
////////




var xmlHttpQualCurCOMP
function showQualCurCOMP (strcampus)
{ 
xmlHttpQualCurCOMP=GetXmlHttpObject()
if (xmlHttpQualCurCOMP==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var urlcampus="http://www.idra.org/portal/curriqualcomp.php?CAMPUS="+strcampus
xmlHttpQualCurCOMP.onreadystatechange=stateChangedTHIR
xmlHttpQualCurCOMP.open("POST",urlcampus,true)
xmlHttpQualCurCOMP.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
 xmlHttpQualCurCOMP.send(null)
}
function stateChangedTHIR() 
{ 
if (xmlHttpQualCurCOMP.readyState==4 || xmlHttpQualCurCOMP.readyState=="complete")
 { 
 document.getElementById("CurrQualCOMP").innerHTML=xmlHttpQualCurCOMP.responseText; 
 
} 
}

function GetXmlHttpObject()
{
var xmlHttpQualCurCOMP=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpQualCurCOMP=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttpQualCurCOMP=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpQualCurCOMP=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpQualCurCOMP;
}