function unLinkImg() {
	aRoot = document.getElementsByTagName("A"); 
	iRoot = document.getElementsByTagName("IMG"); 
/*
	for (i=0; i<aRoot.childNodes.length; i++) {
		node = aRoot.childNodes[i]; 
		if (node.nodeName=="IMG") {
			aRoot.className+=" unlink";
		}
	} 
*/
	for (i=0; i<iRoot.length; i++) {
		/*node = iRoot[i]; 
		if (node.parentNode.nodeName=="A") {
			node.parentNode.className+=" unlink";
		}*/
		if (iRoot[i].parentNode.nodeName=="A") {
			iRoot[i].parentNode.className+=" unlink";
		}
	} 
	for (i=0; i<aRoot.length; i++) {
		if (aRoot[i].parentNode.nodeName=="LI" && aRoot[i].parentNode.className=="page_item" || aRoot[i].parentNode.className=="page_item current_page_item page_folder" ) {
			aRoot[i].className+=" unlink";
		}
	} 
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	//var sfEls = document.getElementById("p7menubar").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


function init() {
	//P7_ExpMenu();
	unLinkImg();
}

window.onload = init;