 banner_1_mouseEvent = 1;
 banner_2_mouseEvent = 1;
function set_wsbs_menu(v)
	{
	  if(v=='zhinan')
	  {
		$("zhinan").style.display = "";
		$("banli").style.display = "none";
		$("chaxun").style.display = "none";
		$("xiazai").style.display = "none";
		$("img_zhinan").src = '/images/index7/tab-right_r1_c1.gif';
		$("img_banli").src = '/images/index7/tab-right1_r2_c1.gif';
		$("img_chaxun").src = '/images/index7/tab-right1_r3_c1.gif';
		$("img_xiazai").src = '/images/index7/tab-right1_r4_c1.gif';
	  }

	  if(v=='banli')
	  {
		$("zhinan").style.display = "none";
		$("banli").style.display = "";
		$("chaxun").style.display = "none";
		$("xiazai").style.display = "none";
		$("img_zhinan").src = '/images/index7/tab-right1_r1_c1.gif';
		$("img_banli").src = '/images/index7/tab-right_r2_c1.gif';
		$("img_chaxun").src = '/images/index7/tab-right1_r3_c1.gif';
		$("img_xiazai").src = '/images/index7/tab-right1_r4_c1.gif';	
	  }

	  if(v=='chaxun')
	  {
		$("zhinan").style.display = "none";
		$("banli").style.display = "none";
		$("chaxun").style.display = "";
		$("xiazai").style.display = "none";
		$("img_zhinan").src = '/images/index7/tab-right1_r1_c1.gif';
		$("img_banli").src = '/images/index7/tab-right1_r2_c1.gif';
		$("img_chaxun").src = '/images/index7/tab-right_r3_c1.gif';
		$("img_xiazai").src = '/images/index7/tab-right1_r4_c1.gif';	
	  }

	   if(v=='xiazai')
	  {
		$("zhinan").style.display = "none";
		$("banli").style.display = "none";
		$("chaxun").style.display = "none";
		$("xiazai").style.display = "";
		$("img_zhinan").src = '/images/index7/tab-right1_r1_c1.gif';
		$("img_banli").src = '/images/index7/tab-right1_r2_c1.gif';
		$("img_chaxun").src = '/images/index7/tab-right1_r3_c1.gif';
		$("img_xiazai").src = '/images/index7/tab-right_r4_c1.gif';	
	  }

	  //eval("tmpinput.value = img_"+v+".src");
	  $("tmpinput").value = eval("img_"+v).src;

	}
	
	
function banner_roll(div_id, banner_height, banner_delay, banner_speed, this_height) {

	if (eval(div_id + "_mouseEvent")) {
		var div_tag = document.getElementById(div_id);
		var a_tag, i;
		this_height++;

		if(this_height < banner_height){
			div_tag.style.top = - this_height;
			setTimeout("banner_roll('" + div_id + "', " + banner_height + ", " + banner_delay + ", " + banner_speed + ", " + this_height + ");", banner_speed);
		} else {

			a_tag = div_tag.getElementsByTagName("table");

			child=div_tag.removeChild(a_tag[0]);

			div_tag.appendChild(child);

			div_tag.style.top = 0;
			setTimeout("banner_roll('" + div_id + "', " + banner_height + ", " + banner_delay + ", " + banner_speed + ", 0);", banner_delay);
		}
	} else {
		setTimeout("banner_roll('" + div_id + "', " + banner_height + ", " + banner_delay + ", " + banner_speed + ", " + this_height + ");", banner_speed);
	}

	return true;
}


function change_ztfw(n){

  for(var i=1;i<=4;i++){
      if(n==i){
		eval("ztfw"+i).style.display = "";
		eval("ztfwtd"+i).className = "index_button_c";
		eval("ztfwspan"+i).style.color = "#FFFFFF";
	  }else{
		  eval("ztfw"+i).style.display = "none";
		  eval("ztfwtd"+i).className = "index_button_d";	
		  eval("ztfwspan"+i).style.color = "";
	  }
  }

}


function div_xstd(n){
	for(var i=0;i<=5;i++){
		eval("div_xstd"+i).style.display = "none";
	}
  	eval("div_xstd"+n).style.display = "";
}


function change_click_do(n){
  $("cmx").innerHTML ="";
  for(var i=1;i<8;i++){
	 if(n==i){
		 eval("myshow"+i).style.display = "";
		 eval("myshowtd"+i).className = "index_button_a";
		 eval("myshowspan"+i).style.color = "#FFFFFF";
		 
	 }else{
		 eval("myshow"+i).style.display = "none";
		 eval("myshowtd"+i).className = "index_button_b";
		 eval("myshowspan"+i).style.color = "";
		 
	 }
	  
  }
     
	 if(n==1) {
		 $("myshowlink").href = "#";
	 }
	 if(n==2){
		 $("myshowlink").href = "#";
	 }
	 if(n==3){
		 $("myshowlink").href = "#";
	 }
	 if(n==4){
		 $("myshowlink").href = "#";
	 }
	 if(n==5){
		 $("myshowlink").href = "#";
		 $("cmx").innerHTML = "<span class=red_font></span><a href=#></a>";
	 }	 
	 if(n==6){
		 $("myshowlink").href = "#";
	 }	 
	 if(n==7){
		 $("myshowlink").href = "#";
	 }	 	 

}