/* CSS hover hack for IE (http://www.alistapart.com/articles/hybrid) */
var navList = function() {
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("nav-bar");
		navRoot = navRoot.childNodes[0];
		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", "");
				}
			}
		}
	}
}

/* calls a function registered as callRollOver in the SWF header */
function swfHdrRollover(frame) {
	var swfMovie = getSwfMovie("swf_hdr");
	if (swfMovie) {
		swfMovie.callRollOver(frame);
	}
}
function getSwfMovie(name) {
	var swfMovie;
	if (navigator.appName.indexOf("Microsoft") != -1) {
		swfMovie = window[name];
	} else {
		swfMovie = document[name];
	}
	return swfMovie;
}
