document.writeln("");
document.writeln("");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln(" 13823126983(罗生)");
document.writeln("
");
document.writeln("
");
//document.writeln("

");
document.writeln("
罗生");
//document.writeln("

");
document.writeln("
小荣");
document.writeln("
");
document.writeln("
");
document.writeln("
微信公众号
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("");
$(document).ready(function(){
var bodyTop = 0;
var selfHeight = $("#online_box").height();
if (typeof window.pageYOffset != 'undefined') {
bodyTop = window.pageYOffset;
} else if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') {
bodyTop = document.documentElement.scrollTop;
}else if (typeof document.body != 'undefined') {
bodyTop = document.body.scrollTop;
}
//$("#online_box").css("top", bodyTop+document.body.clientHeight-selfHeight-5);
$(".close").click(function(){
$("#online_box").hide();
})
//返回顶部
$(".gotop").click(function(){
$("html,body").animate({ scrollTop: 0}, 200);
return false;
});
});
$(window).scroll(function() {
var bodyTop = 0;
var selfHeight = $("#online_box").height();
if (typeof window.pageYOffset != 'undefined') {
bodyTop = window.pageYOffset;
} else if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') {
bodyTop = document.documentElement.scrollTop;
}else if (typeof document.body != 'undefined') {
bodyTop = document.body.scrollTop;
}
//靠上端方式
// $("#online_box").css("top", 140 + bodyTop);
$("#online_box").stop().animate({ "top": 140 + bodyTop}, 500);
//靠下端方式
//$("#online_box").css("top", bodyTop+document.body.clientHeight-selfHeight-5);
});