function openDir(form) {
window.location=(form.dir.options[form.dir.selectedIndex].value);
}

var xmlhttp = false;

try {
   xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
   try {
      xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
   } catch (e) {
      try {
         xmlhttp = new XMLHttpRequest();
      } catch (e) {
         xmlhttp = false;
      }
   }
}

function LoadElement(URL, objID) {
   if (xmlhttp) {
      var obj = document.getElementById(objID);
      xmlhttp.open("GET", URL);
      xmlhttp.onreadystatechange = function() {
         if ((xmlhttp.readyState==4) && (xmlhttp.status==200)) {
            obj.innerHTML = xmlhttp.responseText;
         }
      }
      xmlhttp.send(null);
   }
}
