ttom;
});
$('#span_top.click(function{
$("html,body").animate({scrolltop:0},120);
});
$('#span_bottom.click(function{
broser=$(document).height;
$("html,body").animate({scrolltop:broser},120);
});
//返回顶部end
});
functionsettabLogin(m,n){
vartli=byId("menu"+m).getElementsbytagName("li");
varmli=byId("main"+m).getElementsbytagName("dl");
for(i=0;i';
if(_subscription!=1){
html+='';
goldsum=goldsum+parseInt(_price);
chapter_count++;
}else{
html+='';
}
html+=''+n.book_name+'';
subhtml='';
if(!='{
subhtml='第'++'章';
}
html+=''+subhtml+_name+'';
html+=''+ze+'';
html+=''+_price+'';
subhtml='';
if(_subscription==1){
subhtml='已订阅';
}else{
subhtml='未订阅';
}
html+=''+subhtml+'';
html+='';
$("#chapter_more_tabletr:last").after(html);
}
});
if(countparseInt($('#noEgold.html)){
shoRequest;
}
}
}
});
$("bs_list").css({height:"auto"});
});
$("#subs_expand_all").live("click",function{
loading;
$("#subs_expand_all").die("click");
book_id=$(this).attr('data-book_id;
uid=$(this).attr('data-uid;
$.ajax({
type:"get",
url:'/ne/ks_user/subscription/getchapterListAll',
data:'book_id='+book_id,
datatype:"json",
success:function(msg){
chapter_count=0;
goldsum=0;
;
if(.de!=0)
{
alert(.);
returnfalse;
}else{
varhtml='',
data_len=.;
//$.each(,function(i,item){
$("#chapter_more_tabletr:gt(0)").remove;
$.each(.