
onMouseOverColour = "B9B7AA";

function navOver(item) {
	item.style.backgroundColor = "#" + onMouseOverColour;
	item.style.cursor = "hand";
	window.status = getUrl(item);	
}

function navOut(item) {
	item.style.backgroundColor = "";
	item.style.cursor = "";
	window.status = "";
}

function clk(obj) {
	if (document.all && obj.children.tags("A").length > 0 && obj.children.tags("a")[0].href) {
		obj.children.tags("A")[0].click();
	} else if (!document.all) {
		if (obj.document && obj.document.links[0]) {
			location.href = obj.document.links[0].href;
		} else if (obj.getElementsByTagName("a")) { 
			var links = obj.getElementsByTagName("a");
			if (links[0]) {
				location.href = links[0].href;
			}
		}
	}
}

function getUrl(obj) {
	if (document.all && obj.children.tags("A").length > 0 && obj.children.tags("a")[0].href) {
		return obj.children.tags("A")[0].href;
	} else if (!document.all) {
		if (obj.document && obj.document.links[0]) {
			return obj.document.links[0].href;
		} else if (obj.getElementsByTagName("a")) { 
			var links = obj.getElementsByTagName("a");
			if (links[0]) {
				return links[0].href;
			}
		}
	}
}
