var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4434747-1']);
_gaq.push(['_trackPageview']);

(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})(); 

var clicks = false;

function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function onSearchEnter( evt, frm ) {
  var keyCode = null;

  if( evt.which ) {
  keyCode = evt.which;
  } else if( evt.keyCode ) {
  keyCode = evt.keyCode;
  }
  if( 13 == keyCode ) {
  window.location='/search/search-results.aspx?zoom_query=' + document.getElementById('zoom_query').value;
  return false;
  }
  return true;
}



      startList = function() {
          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", "");
                      }
                  }
              }
          }
      }
      window.onload = startList;

document.oncontextmenu = new Function("return false")


