$(function(){
	/*
		.eq(index)  获取匹配的第N个元素
		.siblings() 用于筛选匹配的同辈元素
	*/
			
	//初始化样式:给第一个tabs加上默认选中样式,并给其它的tabs加上默认未选中样式.
	$("#title_list li").eq(1).addClass("over").siblings().addClass("out");
			
	//初始化内容块的显示状态
	$("#artists div").eq(1).show();
			
	$("#title_list li").click(function(){
		if($("#title_list li").index(this)>0)
		{
			//去掉当前点击标签的自身样式,加上选中样式,并给其它标签加上未选中样式
			$(this).removeClass("out").addClass("over").siblings().addClass("out");
			$("#artists .contents").eq($("#title_list li").index(this)).show().siblings(".contents").hide();
		}
		return;
	});
});

$(function(){
	$(".list_ex li:nth-child(2n)").css("background","none");		   
})

$(function(){
	/*
		.eq(index)  获取匹配的第N个元素
		.siblings() 用于筛选匹配的同辈元素
	*/
			
	//初始化样式:给第一个tabs加上默认选中样式,并给其它的tabs加上默认未选中样式.
	$("#title_list2 li").eq(1).addClass("over").siblings().addClass("out");
			
	//初始化内容块的显示状态
	$("#yuzhan div").eq(1).show();
			
	$("#title_list2 li").click(function(){
		if($("#title_list2 li").index(this)>0)
		{
			//去掉当前点击标签的自身样式,加上选中样式,并给其它标签加上未选中样式
			$(this).removeClass("out").addClass("over").siblings().addClass("out");
			$("#yuzhan .contents2").eq($("#title_list2 li").index(this)).show().siblings(".contents2").hide();
		}
		return;
	});
});
$(function(){
	/*
		.eq(index)  获取匹配的第N个元素
		.siblings() 用于筛选匹配的同辈元素
	*/
			
	//初始化样式:给第一个tabs加上默认选中样式,并给其它的tabs加上默认未选中样式.
	$("#foot_title li").eq(1).addClass("over").siblings().addClass("out");
			
	//初始化内容块的显示状态
	$("#foot_main div").eq(1).show();
			
	$("#foot_title li").click(function(){
		if($("#foot_title li").index(this)>0)
		{
			//去掉当前点击标签的自身样式,加上选中样式,并给其它标签加上未选中样式
			$(this).removeClass("out").addClass("over").siblings().addClass("out");
			$("#foot_main .foot_contents").eq($("#foot_title li").index(this)).show().siblings(".foot_contents").hide();
		}
		return;
	});
});

function bbg(){
	document.getElementById("title_list").style.background = "url(templates/sea/images/arts_a.gif) no-repeat";	
}
function bbg2(){
	document.getElementById("title_list").style.background = "url(templates/sea/images/arts_hover.gif) no-repeat";	
}
function sbg(){
	document.getElementById("title_list2").style.background = "url(templates/sea/images/pm_hover.gif) no-repeat";	
	document.getElementById("hqu_a").href="http://www.artsdo.net/?action-category-catid-365"; 
}
function sbg2(){
	document.getElementById("title_list2").style.background = "url(templates/sea/images/pm_a.gif) no-repeat";
	document.getElementById("hqu_a").href="http://www.artsdo.net/?action-category-catid-364"; 
}

















