// JavaScript for the combined Ravereviews and Faculty In Print in Prospective
var xmlhttp;
var wsx;
function newLoadXMLDoc(url)
{
xmlhttp=null;
if (window.XMLHttpRequest)
  {// code for IE7, Firefox, Opera, etc.
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
if (xmlhttp!=null)
  {
  xmlhttp.open("GET",url,false);
  xmlhttp.send(null);
  if (xmlhttp.status == 200)
   {
    /* Got the data sucessfully */
     x=xmlhttp.responseXML.getElementsByTagName("rg-img");
     h=xmlhttp.responseXML.getElementsByTagName("rg-height");
     w=xmlhttp.responseXML.getElementsByTagName("rg-width");
    }
   else
    {
     alert ("Problem retrieving XML data: " + xmlhttp.status);
 	}
  }
else
  {
  alert("Your browser does not support XMLHTTP.");
  }
}
function timedCount()
{
nextPic('firstpic', 'secondpic', 'forward');
t=setTimeout("timedCount()",11000);
}