			
			
			
			function showSubList(){
				
				if(document.getElementById){
				
					navRoot=document.getElementById("menu");
					
					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="";
							}
						}
					}	
					
					//显示左侧分类子菜单栏
					navRoot=document.getElementById("subLeft");
					if(navRoot){
						for(i=0;i<navRoot.getElementsByTagName("ul").length;i++){
							var threeble=navRoot.getElementsByTagName("ul")[i];
							for(j=0;j<threeble.getElementsByTagName("li").length;j++){
								var threebleLi = threeble.getElementsByTagName("li")[j];
								if(threebleLi){
									threebleLi.onmouseover=function(){
										this.className+=" subOver";
									}
									threebleLi.onmouseout=function(){
										this.className="";
									}							
								}
							}
						}
						
					//-------------------------------------------------------//
						var lis=navRoot.getElementsByTagName("li");
						var showLi=new Array();
						
						for(i=0;i<lis.length;i++){							
							if(lis[i].className=="li0"){
								showLi.push(lis[i]);
							}
						}						
					
						//var loca=new String(location);
						
						//var showId=loca.substring(loca.indexOf("show")+5,loca.indexOf("show")+6);
						//if(showId==":"){
							//alert(loca);
							showId=document.getElementById("hidden");
							if(showId){
								showId=showId.className;
							}
						//}
							
						switch(parseInt(showId)){
							case 1:
								showLi[1].className+=" overLeft";
								break;
							case 2:
								showLi[2].className+=" overLeft";
								break;
							case 3:
								showLi[3].className+=" overLeft";
								break;
							case 4:
								showLi[4].className+=" overLeft";
								break;	
							case 5:
								showLi[5].className+=" overLeft";
								break;									
																														
						}
						
						
					//-------------------------------------------------------//
					
						for(i=0;i<navRoot.childNodes.length;i++){
							node=navRoot.childNodes[i];
							if(node.nodeName=="LI"){
								node.onclick=function(){
									if(this.className.indexOf("overLeft")!=-1){
										this.className="li0";
									}else{
										this.className+=" overLeft";
									}
								}
							}
						}
					}										
										
									
				}
			}
			
			addLoadEvent(showSubList);
