function doPopups() {
  if (!document.getElementsByTagName) return false;
  var links=document.getElementsByTagName("a");
  for (var i=0; i < links.length; i++) {
    if (links[i].className.match("popup")) {
      links[i].onclick=function() {
        window.open(this.href, "");
        return false;
      }
    }
  }
}
addLoadEvent(doPopups);

function dropdown () {
	if (document.all&&document.getElementById) {
		var navRoot = document.getElementById("topNav");
		if (!navRoot) { return; }
		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", "");
				}
			}
		}
	}
}

addLoadEvent(dropdown);

addLoadEvent(autoCycleContent); 

