var CopyRightcss = "css/black.css";
$(function(){
$('#swf_shop img').soChange({
thumbObj:'#swf_shop .item li',
thumbNowClass:'hover',
clickFalse:false,
thumbOverEvent:false,
slideTime:1000,
changeTime:4000
});
});
$(function(){
$(".mt_img").append($(".mt_img a").clone());
$(".mt_img").css("width",$(".mt_img a").length*155+11);
function mt_scroll(){
if(parseInt($(".mt_img").css("left"))<=0-$(".mt_img a").length/2*144){
$(".mt_img").css("left","0px");
$(".mt_img").animate({left:"-=144px"},250);
}else{
$(".mt_img").animate({left:"-=144px"},250);
}
}
setInterval(mt_scroll,1000);
for(var i=0;i<5;i++){
$(".news").eq(i).find("li:first").addClass("first");
}
$(".wj_tab_tit a").mouseover(function(){
$(".wj_tab_tit a").removeClass("focus");
$(this).addClass("focus");
$(".wj_cent").hide();
$(".wj_cent").eq($(this).attr("ind")).show();
});
$(".wj_tab_tit2 a").mouseover(function(){
if($(this).attr("ind")!="n"){
$(".wj_tab_tit2 a").removeClass("focus");
$(this).addClass("focus");
$(".wj_cent2").hide();
$(".wj_cent2").eq($(this).attr("ind")).show();
}
});
});
function tab_show(box,btn,ind,type){
$(box).hide();
$(box).eq(ind).show();
var elment ;
if(type=="span"){elment="s"}else{elment="a"}
for(var i=0;i<$(btn).find(type).length;i++){
$(btn).find(type).eq(i).removeClass(elment+i+"_focus");
}
$(btn).find(type).eq(ind).addClass(elment+ind+"_focus");
}
$('.alert-close').click(function(){
$('.msdl-alert').css('display','none');
})