(.data,function(i,n){
//$("#chapter_more_table").html('选择书名章节名字数需要看书币订阅状态;
html='';
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);
});
$('#chapterSum.html(chapter_count);
$('#goldsum.html(goldsum);
$('#sumEgold.html(goldsum);
if(parseInt($('#goldsum.html)>parseInt($('#noEgold.html)){
shoRequest;
}
$('#subs_expand_all.html('收起章节列表;
//$('bs_expand.css('color','#ccc;
$('bs_expand.css('color','#ccc;
$("bs_expand").die("click");
$("#subs_expand_all").die("click");
$('#subs_expand_all.live('click',function{
hiddenchapterAll;
});
//$('#subs_expand_all.css('color','#ccc;
//去掉展开更多章节的提示
page=9999;
}
}
});
$("bs_list").css({height:"auto"});
});
})
//隐藏章节
functionhiddenchapterAll{
loading;
settimeout('hiddenchapterAlltimeout',1000);
//hiddenchapterAlltimeout;
}
functionhiddenchapterAlltimeout{
$("#chapter_more_tabletr:gt(4)").hide;
$("#chapter_more_tabletr:gt(4):checkbox").attr('checked',false);
goldsum=0;
chapter_count=0;
$("#chapter_more_tabletr:visible").each(function(i,n){
if($(this).children.children(":checkbox").attr(