var headerhtml = '
\
\
\
\
\
\
\
\
\
\
\
\
';
document.write(headerhtml);
$('.top_w li:eq(' + curbanner + ')').addclass('select');
$(function () {
$('#scrolltotop').click(function () {
$('body,html').animate({ scrolltop: 0 }, 200);
return;
}).hover(function () {
$(this).addclass('scrolltotophover');
}, function () {
$(this).removeclass('scrolltotophover');
})
$(window).scroll(function () {
console.log($(window).scrolltop() , $(window).height());
if ($(window).scrolltop() > $(window).height()) {
$('#scrolltotop').show();
} else {
$('#scrolltotop').hide();
}
})
})