startList = function() {
	navRoot = document.getElementById("mm_nav");
	var anchors = navRoot.getElementsByTagName('a');
	for(var i=0; i<anchors.length; ++i){
		anchors[i].onmouseover=function() {
			var id=this.getElementsByTagName('img')[0].id;
			if(id != "act_mm"){
				this.getElementsByTagName('img')[0].src = this.getElementsByTagName('img')[0].src.replace('_n_',"_a_");
			}
		}
		anchors[i].onmouseout=function() {
			var id=this.getElementsByTagName('img')[0].id;
			if(id != "act_mm"){
				this.getElementsByTagName('img')[0].src = this.getElementsByTagName('img')[0].src.replace('_a_',"_n_");
			}
		}
	}

	navRoot = document.getElementById("nav");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover=function() {
				this.className+=" over";
				this.getElementsByTagName('a')[0].getElementsByTagName('img')[0].src = this.getElementsByTagName('a')[0].getElementsByTagName('img')[0].src.replace('_n_',"_a_");
			}
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				this.getElementsByTagName('a')[0].getElementsByTagName('img')[0].src = this.getElementsByTagName('a')[0].getElementsByTagName('img')[0].src.replace('_a_',"_n_");
			}
		}
	}
}
window.onload=startList;
/*
 $(document).ready(function() {
	var t=setTimeout("nextpicshow()",30000);
	
	function nextpicshow() {
	}
 });
*/
