var c_id,divname;

function change_img()
{if(key==0){key=1;}
else if(document.all)
{document.getElementById("pic").filters[0].Apply();document.getElementById("pic").filters[0].Play(duration=2);}
eval('document.getElementById("pic").src=img'+nn+'.src');
eval('document.getElementById("url").href=url'+nn+'.src');
document.getElementById("Div_PIC_Title").innerHTML=eval("name"+nn);
for (var i=1;i<=counts;i++){document.getElementById("xxjdjj"+i).className='axx';}
document.getElementById("xxjdjj"+nn).className='bxx';
nn++;if(nn>counts){nn=1;}
tt=setTimeout('change_img()',4000);}
function changeimg(n){nn=n;window.clearInterval(tt);change_img();}



$(document).ready(function(){
	$(".title , .title2").hover(
					  function(){
						  c_id=$(".title2").attr("id");//手动改
						  $("#"+c_id).removeClass("title2");//手动改
						  $("#"+c_id).addClass("title");//手动改
						  $(this).removeClass("title");//手动改
						  $(this).addClass("title2");//手动改
						  $("#content_"+c_id).hide();
						  $("#content_A1").hide();
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);
	$(".title3 , .title33").hover(
					  function(){
						  c_id=$(".title33").attr("id");//手动改
						  $("#"+c_id).removeClass("title33");//手动改
						  $("#"+c_id).addClass("title3");//手动改
						  $(this).removeClass("title3");//手动改
						  $(this).addClass("title33");//手动改
						  $("#content_"+c_id).hide();
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);
	$(".DIV_TAB2 , .DIV_TAB2-1").hover(
					  function(){
						  c_id=$(".DIV_TAB2-1").attr("id");//手动改
						  $("#"+c_id).removeClass("DIV_TAB2-1");//手动改
						  $("#"+c_id).addClass("DIV_TAB2");//手动改
						  $(this).removeClass("DIV_TAB2");//手动改
						  $(this).addClass("DIV_TAB2-1");//手动改
						  $("#content_"+c_id).hide();
						  $("#content_B1").hide();
						  content_B1
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);	
	$(".DIV_TAB3 , .DIV_TAB3-1").hover(
					  function(){
						  c_id=$(".DIV_TAB3-1").attr("id");//手动改
						  $("#"+c_id).removeClass("DIV_TAB3-1");//手动改
						  $("#"+c_id).addClass("DIV_TAB3");//手动改
						  $(this).removeClass("DIV_TAB3");//手动改
						  $(this).addClass("DIV_TAB3-1");//手动改
						  $("#content_"+c_id).hide();
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);	
	$(".DIV_TAB4 , .DIV_TAB4-1").hover(
					  function(){
						  c_id=$(".DIV_TAB4-1").attr("id");//手动改
						  $("#"+c_id).removeClass("DIV_TAB4-1");//手动改
						  $("#"+c_id).addClass("DIV_TAB4");//手动改
						  $(this).removeClass("DIV_TAB4");//手动改
						  $(this).addClass("DIV_TAB4-1");//手动改
						  $("#content_"+c_id).hide();
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);	
		$(".DIV_TAB5 , .DIV_TAB5-1").hover(
					  function(){
						  c_id=$(".DIV_TAB5-1").attr("id");//手动改
						  $("#"+c_id).removeClass("DIV_TAB5-1");//手动改
						  $("#"+c_id).addClass("DIV_TAB5");//手动改
						  $(this).removeClass("DIV_TAB5");//手动改
						  $(this).addClass("DIV_TAB5-1");//手动改
						  $("#content_"+c_id).hide();
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);	
			$(".DIV_TAB6 , .DIV_TAB6-1").hover(
					  function(){
						  c_id=$(".DIV_TAB6-1").attr("id");//手动改
						  $("#"+c_id).removeClass("DIV_TAB6-1");//手动改
						  $("#"+c_id).addClass("DIV_TAB6");//手动改
						  $(this).removeClass("DIV_TAB6");//手动改
						  $(this).addClass("DIV_TAB6-1");//手动改
						  $("#content_"+c_id).hide();
						  divname="#content_"+$(this).attr("id");
						  $(divname).show();
					  },
					  function(){}
					);	
	
	//
	change_img();
	//
	
});
function CLOSE_INDUSTRY()
{
	var cid=document.getElementById("DIV_INDUSTRY_main").style.display;
    if(cid=="none")
	{
		$("#DIV_INDUSTRY_main").show();
	}else{
		$("#DIV_INDUSTRY_main").hide();
		}
}