var http = false;

if(navigator.appName=="Microsoft Internet Explorer")
{
http=new ActiveXObject("Microsoft.XMLHTTP");
}
else
{http=new XMLHttpRequest();
}



    function openGallery() {
     
      http.open("GET","gallery.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }

function openProfile() {
     
      http.open("GET","profile.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }

function openDirectorsDesk() {
     
      http.open("GET","ddesk.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }

function openSchedules() {
     
      http.open("GET","schedules.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }

function openDownloads() {
     
      http.open("GET","downloads.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }

function openContactUs() {
     
      http.open("GET","contactus.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }

function openHome() {
     
      http.open("GET","home.htm");
      http.onreadystatechange=function() {
        if(http.readyState == 4) {
          document.getElementById('matter').innerHTML = http.responseText;
        }
      }
      http.send(null);
    }



