// very simple script to use the httpRequest object
// many different versions of this on the net
// some mo-fracting AJAX  
// CopyRight Michael Duvall
var xObject = null;
var urlMain = "http://www.gallawayb2b.com/site/dropDownCats/";
function callCategories() {

        if (window.XMLHttpRequest) {
          // for firefox and such
          xObject = new XMLHttpRequest();
        } else {
          // for internet explorer
          xObject = new ActiveXObject("Microsoft.XMLHTTP");
        }
        xObject.onreadystatechange = callBack;
        url = urlMain + document.getElementById("dropMain").value + ".html";
        xObject.open("post", url, true);
        xObject.send(null);

      }
function autoGo() {
		var number = document.frmProductGo.sctLink.selectedIndex;
		location.href = document.frmProductGo.sctLink.options[number].value;
}
function autoGoManu() {
		var manLinks = document.frmManGo.sctValue.selectedIndex;
		location.href = document.frmManGo.sctValue.options[manLinks].value;
}
function callBack() {

        if (xObject.readyState == 4) {
          document.getElementById("itemSubs").innerHTML = xObject.responseText;
        }

      }