$(function(){varhash=window.location.hash||'';if(hash=='#company'){
$(".company_content").show();
$(".department_Box").hide();
}else if(hash=='#department'){
$('.company_notice_a').removeClass('current');
$('.department_notice_a').addClass('current');
$(".company_content").hide();
$(".department_Box").show();
};
$(".notice_nav_a a").click(function(){
$(this).addClass("current").siblings().removeClass("current");
});
$(".company_notice_a").click(function(){
$(".company_content").show();
$(".department_Box").hide();
});//公司公告
$(".department_notice_a").click(function(){
$(".company_content").hide();
$(".department_Box").show();
});//部门公告
$(".company_content .selectAll").click(function(){
$(".company_content a").removeClass('color');
});
$(".department_Box .selectAll").click(function(){
$(".department_Box a").removeClass('color');
});
});