// JavaScript Document

var startList = function () {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menuList");
		tags = navRoot.getElementsByTagName("LI");
		for ( var i = 0; i < tags.length; i++ ) {
			var node = tags[i];
			node.onmouseover=function() {
				this.className+=" over";
			}
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
			}
		}
		/*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;

function obfuscate ( title, address, c, domain ) {
	if ( typeof(domain) == "undefined" || domain == null ) {
		domain = location.hostname;
	}
	title = title.replace ( "%%address%%", address + '@' + domain );
	if ( c != "" && typeof(c) != "undefined" ) {
		c = ' class="' + c + '" ';
	}
	else {
		c = "";
	}
	document.write ( '<a' + c + ' href="mailto:' + address + '@' + domain + '">' + title + '</a>' );
}


	