﻿
	 
// 点击后切换
function clearClassDis(id,count)
{
	for(i=1;i<=count;i++)
	{
		document.getElementById(id+i).className="";
		document.getElementById(id+"show"+i).style.display="none";
	}
}
function overShow1(id,num,count)
{
	clearClassDis(id,count);
	document.getElementById(id+num).className="sjdhhover";
	document.getElementById(id+"show"+num).style.display="";
}
function overShow2(id,num,count)
{
	clearClassDis(id,count);
	document.getElementById(id+num).className="xxgkhover";
	document.getElementById(id+"show"+num).style.display="";
}
function overShow3(id,num,count)
{
	clearClassDis(id,count);
	document.getElementById(id+num).className="grbshover";
	document.getElementById(id+"show"+num).style.display="";
}
function overShow4(id,num,count)
{
	clearClassDis(id,count);
	document.getElementById(id+num).className="grbshover";
	document.getElementById(id+"show"+num).style.display="";
}
function overShow5(id,num,count)
{
	clearClassDis(id,count);
	document.getElementById(id+num).className="cshover";
	document.getElementById(id+"show"+num).style.display="";
}
function overShow6(id,num,count)
{
	clearClassDis(id,count);
	document.getElementById(id+num).className="gthover";
	document.getElementById(id+"show"+num).style.display="";
}


function doClick_down(o){
	 o.className="current";
	 var j;
	 var id;
	 var e;
	 for(var i=1;i<=4;i++){
	   id ="down"+i;
	   j = document.getElementById(id);
	   e = document.getElementById("d_con"+i);
	   if(id != o.id){
	   	 j.className="";
	   	 e.style.display = "none";
	   }else{
		e.style.display = "block";
	   }
	 }
	 }