function init() {

	// ---
	var W3CDOM = (document.createElement && document.getElementsByTagName);
	if (!W3CDOM) return;
	// ---

	for (var h=0; h<mouseovers.length; h=h+2) {
		var nav = document.getElementById(mouseovers[h]);
		var items = nav.getElementsByTagName(mouseovers[h+1]);
		for (var i=0;i<items.length;i++) {
			var anchors = items[i].getElementsByTagName('a');
			if (anchors.length > 0 && anchors[0].href != "") { 
				items[i].onmouseover = mouseGoesOver;
				items[i].onmouseout = mouseGoesOut;
				items[i].onclick = mouseClick;
				items[i].anchor = anchors[0];
				items[i].link = anchors[0].href;
			}
		} 
	}
}

function mouseGoesOver() {
	this.anchor.style.color = "#C33";
	this.style.backgroundColor = "#FFF";
	this.style.cursor = "pointer";
	this.style.cursor = "hand";
	window.status = this.link;
}

function mouseGoesOut() {
	this.anchor.style.color = "";
	this.style.backgroundColor = "";
	this.style.cursor = "default";
	window.status = "";
}

function mouseClick() {
	window.location = this.link;
}