// JavaScript Document
function setTab(m,n){
var tli=document.getElementById("menu"+m).getElementsByTagName("li"); /*获取选项卡的LI对象*/
var mli=document.getElementById("main"+m).getElementsByTagName("ul"); /*获取主显示区域对象*/
for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":""; /*更改选项卡的LI对象的样式，如果是选定的项则使用.hover样式*/
  mli[i].style.display=i==n?"block":"none"; /*确定主区域显示哪一个对象*/
}
}
function showalltag(obj){
    if(obj.innerHTML=='更多标签'){
	     document.getElementById("showalltag").style.display = '';
		 obj.innerHTML = '隐藏标签';
	}else{
		 document.getElementById("showalltag").style.display = 'none';
		 obj.innerHTML = '更多标签';
	}
}
function showtable(num)
{
		var f = document.all;
		if (num==1){
			f.tb1.style.display = "block" ;
			f.tb2.style.display = "none" ;
		}
		else if (num==2){
			f.tb1.style.display = "none";
			f.tb2.style.display = "block";
		}
}

	function shota(num)
{
	var f = document.all;
	if(num==1){
    ep1.background ="images/new_3.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "none" ;
	}
	else if(num==2){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_3.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "none" ;
	}
	else if(num==3){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_3.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "none" ;
	}
		else if(num==4){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_3.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "none" ;

	}
			else if(num==5){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_3.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "none" ;

	}

		else if(num==6){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_3.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "none" ;

	}

		else if(num==7){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_3.gif";
	ep8.background ="images/new_2.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "" ;
	f.rw8.style.display = "none" ;

	}
	else if(num==8){
    ep1.background ="images/new_2.gif";
	ep2.background ="images/new_2.gif";
	ep3.background ="images/new_2.gif";
	ep4.background ="images/new_2.gif";
	ep5.background ="images/new_2.gif";
	ep6.background ="images/new_2.gif";
	ep7.background ="images/new_2.gif";
	ep8.background ="images/new_3.gif";
	f.rw1.style.display = "none" ;
	f.rw2.style.display = "none" ;
	f.rw3.style.display = "none" ;
	f.rw4.style.display = "none" ;
	f.rw5.style.display = "none" ;
	f.rw6.style.display = "none" ;
	f.rw7.style.display = "none" ;
	f.rw8.style.display = "" ;

	}

}
	function shotp(num)
{
	var f = document.all;
	if(num==1){
    qp1.background ="images/new_3.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "none" ;
	}
	else if(num==2){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_3.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "none" ;
	}
	else if(num==3){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_3.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "none" ;
	}
		else if(num==4){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_3.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "none" ;
	}
			else if(num==5){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_3.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "none" ;
	}

		else if(num==6){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_3.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "none" ;

	}

		else if(num==7){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_3.gif";
	qp8.background ="images/new_2.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "" ;
	f.qw8.style.display = "none" ;
	}
	
	else if(num==8){
    qp1.background ="images/new_2.gif";
	qp2.background ="images/new_2.gif";
	qp3.background ="images/new_2.gif";
	qp4.background ="images/new_2.gif";
	qp5.background ="images/new_2.gif";
	qp6.background ="images/new_2.gif";
	qp7.background ="images/new_2.gif";
	qp8.background ="images/new_3.gif";
	f.qw1.style.display = "none" ;
	f.qw2.style.display = "none" ;
	f.qw3.style.display = "none" ;
	f.qw4.style.display = "none" ;
	f.qw5.style.display = "none" ;
	f.qw6.style.display = "none" ;
	f.qw7.style.display = "none" ;
	f.qw8.style.display = "" ;
	}
}

