logined()&&balance>=0){$(".kb_").html("需消耗"+$("#vipinput").val()+"0k币,当前具有"+balance+"k币");$("#vipinput").bind('keyup',function(){varcount=$(this).val().replace(/\d/gi,"");$(this).val(count);if(!count)count=0;$("#cp_needkb").htt,10)*10);});}},'json');}k17.book.loadchaptervipticket();varissubmit=false;k17.book.chapterchargeprops=function(){if(!k17.islogined()){k17.login.ford(true);");return;}if(issubmit)return;issubmit=true;varchapterid=17945384;varbookid=873653;varcount=$("#vipinput").val();if(!count)count=0;varurl="/props/chapterchargeprops.action";varparams={"chapterid":chapterid,"bookid":bookid,"count":count,"r":newdate().gettira(data){if(data.status==0){k17.alertlog.newdialog("提示","打赏胜利","s","k17.book.loadchaptervipticket();k17.alertlog.newdialog.close();",300);}else{k17.alertlog.newdialog("提示","打赏失利:"+data.message,"e",null,350);}issubmit=false;},'json');}$(".btn_cp_vote").click(k17.book.chapterchargeprops);<!--end爽章--><!--editorbyjack2014-09-19end-->