loading;
settimeout('shochapteralltimeout',1000);
}
functionshochapteralltimeout{
$("#chapter_more_tabletr:gt(4)").sho;
chapter_count=parseint($('#chaptersum').html);
goldsum=parseint($('#goldsum').html);
$("#chapter_more_tabletr:visible").each(function(i,n){
if($(this).children.children(":checkbox").attr('disabled')==false&&$(this).children.children(":checkbox").attr('checked')==false){
$(this).children.children(":checkbox").attr('checked',true);
goldsum=goldsum+parseint($(this).children('td:eq(4)').children.html);
chapter_count++;
}
});
/*
$("#chapter_more_tabletr:gt(0)").each(function(i,n){
if(i>3){
$(this).sho;
}
});
*/
$('#chaptersum').html(chapter_count);
$('#goldsum').html(goldsum);
$('#sumegold').html(goldsum);
$("#subs_expand_all").die("click");
$('#subs_expand_all').html('收起章节列表');
$('#subs_expand_all').live('click',function{
hiddenchapterall;
});
$('bs_expand').css('color','#ccc');
$("bs_expand").die("click");
if(parseint($('#goldsum').html)>parseint($('#noegold').html)){
shorequest;
}
;
}