// 返回顶部
$('.back').click(function(){
$("html,body").animate({scrollTop:0}, 500);
})
$('.top_back').click(function(){
$("html,body").animate({scrollTop:0}, 500);
})
$('.top_icons').on('mouseover',function(){
$(this).children().children('img').attr('src','/site/hggf/resources/images/icon/top_icon1h.png')
})
$('.top_icons').on('mouseout',function(){
$(this).children().children('img').attr('src','/site/hggf/resources/images/icon/top_icon1.png')
})
$('.erwm_pc').on('mouseover',function(){
$(this).children().children('img').attr('src','/site/hggf/resources/images/icon/top_icon2h.png')
})
$('.erwm_pc').on('mouseout',function(){
$(this).children().children('img').attr('src','/site/hggf/resources/images/icon/top_icon2.png')
})
$('.kefu').on('mouseover',function(){
$(this).children().children('img').attr('src','/site/hggf/resources/images/icon/top_icon3h.png')
})
$('.kefu').on('mouseout',function(){
$(this).children().children('img').attr('src','/site/hggf/resources/images/icon/top_icon3.png')
})
/*搜索框*/
$(function () {
H_login = {};
H_login.openLogin = function(){
$('.search-header a').click(function(){
$('.search_boxs').show();
});
};
H_login.closeLogin = function(){
$('.close-search').click(function(){
$('.search_boxs').hide();
});
};
H_login.run = function () {
this.closeLogin();
this.openLogin();
/* this.loginForm();*/
};
H_login.run();
});
// 分页
$(".page a").click(function() {
$(this).addClass("current");
$(this).siblings().removeClass("current");
})