var btnGroup1=new Array();var btnGroup2=new Array();var btnGroup3=new Array(); var btnGroup4=new Array();
function init(){
//     btnGroup1[0]=new Array();
//    btnGroup1[0]['img']=document.getElementById('btnGroup1_1');
//	btnGroup1[0]['outbg']="/0903img/ind_zh.jpg";
//	btnGroup1[0]['overbg']="/0903img/ind_zh1.jpg";
//	btnGroup1[0]['url']="http://5jq.woniu.com/news/";
//	btnGroup1[0]['div']=document.getElementById("zhgg");
//	btnGroup1[1]=new Array();
//	btnGroup1[1]['img']=document.getElementById('btnGroup1_2');
//	btnGroup1[1]['outbg']="/0903img/ind-news.jpg";
//	btnGroup1[1]['overbg']="/0903img/ind-news1.jpg";
//	btnGroup1[1]['url']="http://5jq.woniu.com/news/html/";
//	btnGroup1[1]['div']=document.getElementById("news");
//	  btnGroup1[2]=new Array();
//	btnGroup1[2]['img']=document.getElementById('btnGroup1_3');
//	btnGroup1[2]['outbg']="/0903img/ind_gg.jpg";
//	btnGroup1[2]['overbg']="/0903img/ind_gg1.jpg";
//	btnGroup1[2]['url']="http://5jq.woniu.com/news/note/";
//	btnGroup1[2]['div']=document.getElementById("notice");
//	
//		  btnGroup1[3]=new Array();
//	btnGroup1[3]['img']=document.getElementById('btnGroup1_4');
//	btnGroup1[3]['outbg']="/0903img/ind_hd.jpg";
//	btnGroup1[3]['overbg']="/0903img/ind_hd1.jpg";
//	btnGroup1[3]['url']="http://5jq.woniu.com/news/event/";
//	btnGroup1[3]['div']=document.getElementById("act");
//	btnGroup1[4]=document.getElementById('newsmore');
//	//舞场感悟//
//	   btnGroup2[0]=new Array();
//    btnGroup2[0]['img']=document.getElementById('btnGroup2_1');
//	btnGroup2[0]['outbg']="/0903img/bb__r44_c1.jpg";
//	btnGroup2[0]['overbg']="/0903img/bb__r2_c4.jpg";
//	btnGroup2[0]['url']="http://5jq.woniu.com/wcgw/index.html";
//	btnGroup2[0]['div']=document.getElementById("wcgw");
//	btnGroup2[1]=new Array();
//	btnGroup2[1]['img']=document.getElementById('btnGroup2_2');
//	btnGroup2[1]['outbg']="/0903img/bb__r45_c2.jpg";
//	btnGroup2[1]['overbg']="/0903img/bb__r3_c4.jpg";
//	btnGroup2[1]['url']="http://5jq.woniu.com/bbshot/index.html";
//	btnGroup2[1]['div']=document.getElementById("hotbbs");
//    btnGroup2[2]=document.getElementById('wjwzmore');
//	//游戏截图、玩家相册
//	btnGroup3[0]=new Array();
//    btnGroup3[0]['img']=document.getElementById('btnGroup3_1');
//	btnGroup3[0]['outbg']="/0903img/a01.jpg";
//	btnGroup3[0]['overbg']="/0903img/a1.jpg";
//	btnGroup3[0]['url']="http://5jq.woniu.com/2j/bzxz.shtml";
//	btnGroup3[0]['div']=document.getElementById("jcbz");
//	btnGroup3[1]=new Array();
//	btnGroup3[1]['img']=document.getElementById('btnGroup3_2');
//	btnGroup3[1]['outbg']="/0903img/a2.jpg";
//	btnGroup3[1]['overbg']="/0903img/a02.jpg";
//	btnGroup3[1]['url']="http://5jq.woniu.com/2j/wjpic.shtml";
//	btnGroup3[1]['div']=document.getElementById("yxjt");
//	btnGroup3[2]=new Array();
//	btnGroup3[2]['img']=document.getElementById('btnGroup3_3');
//	btnGroup3[2]['outbg']="9images/yx-3.jpg";
//	btnGroup3[2]['overbg']="9images/yx-33.jpg";
//	btnGroup3[2]['url']="http://tz.woniu.com/news/show/";
//	btnGroup3[2]['div']=document.getElementById("wjzp");
//    btnGroup3[2]=document.getElementById('uploadmore');
	//玩家驿站
	btnGroup4[0]=new Array();
    btnGroup4[0]['img']=document.getElementById('btnGroup4_1');
	btnGroup4[0]['outbg']="style/images/yz1.gif";
	btnGroup4[0]['overbg']="style/images/yz01.gif";
	btnGroup4[0]['url']="http://5jq.woniu.com/zhjy/index.html";
	btnGroup4[0]['div']=document.getElementById("zhjy");
	btnGroup4[1]=new Array();
	btnGroup4[1]['img']=document.getElementById('btnGroup4_2');
	btnGroup4[1]['outbg']="style/images/yz2.gif";
	btnGroup4[1]['overbg']="style/images/yz02.gif";
	btnGroup4[1]['url']="http://5jq.woniu.com/wcgw/index.html";
	btnGroup4[1]['div']=document.getElementById("xqgw");
    btnGroup4[2]=document.getElementById('wjyzmore');
	
}
function changeBtnBg(btnGroup,btnIndex){
//alert(btnIndex);
    for (i=0;i<btnGroup.length-1;i++){	 
	      btnGroup[i]['img'].src= btnGroup[i]['outbg'];
		 // alert(i);
		 


//if(document.getElementById("jcbz").style.display!='none'){
//
//document.getElementById("ycjt").style.display="block";
////alert(document.getElementById("jcbz").style.display);
//}else if(document.getElementById("yxjt").style.display!='none'){
//document.getElementById("ycjt").style.display="none";
//}
		 
		  
		    btnGroup[i]['div'].style.display="none";
	   }//alert(btnIndex);
          btnGroup[btnIndex]['img'].src= btnGroup[btnIndex]['overbg'];
       btnGroup[btnIndex]['div'].style.display="";
		   btnGroup[btnGroup.length-1].href=btnGroup[btnIndex]['url'];
  }
function hiddenUl(id){document.getElementById(id).style.display='none';}


  function ck() 
  { 
  layercc= document.getElementById('layer111');
   if(layercc.style.display=="none") 
   { 
    layercc.style.display='';}
	else{layercc.style.display="none";} 
  } 