			
			
			
			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(){
								//alert(this.className);
								this.className+=" over";
								//alert(this.className);
							}
							node.onmouseout=function(){
								this.className="";
								//this.className=this.className.replace(" over","");
							}
						}
					}	
					
					//显示左侧分类子菜单栏
					navRoot=document.getElementById("subLeft");
					if(navRoot){
					
						var threeble=navRoot.getElementsByTagName("ul")[1].getElementsByTagName("li")[0];
						if(threeble){
							threeble.onmouseover=function(){
								this.className+=" subOver";
							}
							
							threeble.onmouseout=function(){
								this.className="";
							}							
						}
						
						threeble=navRoot.getElementsByTagName("ul")[3].getElementsByTagName("li")[0];
						if(threeble){
							threeble.onmouseover=function(){
								this.className+=" subOver";
							}
							
							threeble.onmouseout=function(){
								this.className="";
							}							
						}
						
						//whg add on 08.12.6
						threeble=navRoot.getElementsByTagName("ul")[3].getElementsByTagName("li")[4];
						if(threeble){
							
							threeble.onmouseover=function(){
								this.className+=" subOver";
							}
							
							threeble.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++){
							//alert(navRoot.childNodes.length);
							node=navRoot.childNodes[i];
							if(node.nodeName=="LI"){
								//node.onmouseover=function(){
									//this.className+=" overLeft";
								//}
								node.onclick=function(){
									//alert(location);
									//this.className=this.className.replace(" overLeft","");
									if(this.className.indexOf("overLeft")!=-1){
										//alert("1");
										this.className="li0";
									}else{
										//alert("2");
										this.className+=" overLeft";
									}
								}
							}
						}
					}										
										
									
				}
			}
			
			addLoadEvent(showSubList);