if (top.location != self.location) {
  top.location.replace(self.location);
}

function startList(nav) {
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById(nav);
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over";
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "");
        }
      }
    }
  }
}

function getId(name) {
  if (document.getElementById) {
    this.obj = document.getElementById(name);
    this.style = document.getElementById(name).style;
    this.value = document.getElementById(name).value;
  }
  else if (document.all) {
    this.obj = document.all[name];
    this.style = document.all[name].style;
    this.value = document.all[name].value;
  }
  else if (document.layers) {
    this.obj = document.layers[name];
    this.style = document.layers[name];
    this.value = document.layers[name];
  }
}

function validatequote() {
  var x = new getId('quantitystop');
  x.style.color='#ffffff';
  var x = new getId('quantity');
  if (x.value < 300) {
    var x = new getId('quantitystop');
    x.style.color='#ff0000';
  } else {
    document.quoteform.submit();
  }
}

function recalcPrice (price) {
  
}
