kickoff = function() {
	//Start Popup Scripts
	  var els = document.getElementsByTagName("a");
	  for(var i = 0; i < els.length; i++) {
		if (els[i].className.indexOf("popup") !=- 1) {
		  els[i].onclick=popup;
		}
		if (els[i].className.indexOf("minipopup") !=- 1) {
		  els[i].onclick=minipopup;
		}
	  }

	//Focus on first form field
	if (document.getElementById('name')) {
			document.forms[0].elements[0].focus();
	}

	startList();
}

//Popup Functions
popup = function() {
    var win=window.open(this.href, "popup", "width=800, height=550, toolbar=yes,location=yes, menubar=yes, scrollbars=yes, resizable=yes");
    win.focus()
  return false; 
}
minipopup = function() {
    var win=window.open(this.href, "minipopup", "width=520, height=320, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=yes");
    win.focus()
  return false; 
}

//Suckerfish Navigation Function

function startList() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("navigation");
		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 = kickoff;