functionUrlSearch(item){
varsvalue=.match(neRegExp("[\?\&]"+item+"=([^\&]*)(\
returnsvalue?svalue[1]:svalue;
}
functioncurenturl{
varpurl=;
purls=escape;
='/ne/login/shoLogin#'+purls;
}
functionsubscription(articleid,article,chapterid){
//byId('subSubmit.disabled=disabled;
$('#onesubmit.attr('disabled','disabled;
$('#onesubmit.attr('class','but_dingyue2;
varautomaticsubscriptionvalue=$("#automaticsubscription_dan").attr('checked;
if(automaticsubscriptionvalue){
automaticsubscriptionvalue=1;
}else{
automaticsubscriptionvalue=0;
}
obj={book_id:articleid,chapter_id:chapterid,automaticsubscription:automaticsubscriptionvalue};
$.post("/ne/ks_user/subscription/oneSubscription",obj,function(data){
varmsg='';
msg+='';
msg+='您已成功订阅:';
msg+='';
msg+='';
msg+='
作品名称狂傲武神
';
msg+='
雷罚降下
';
msg+='';
msg+='3秒后自动跳转......';
msg+='';
msg+='';
msg+='';
varjson=data,
request=.de,
error=.;
if(request==0){
firmInfo({btn:'',icocls:'',msgcls:'confirm',message:msg,titlebar:false,useSlide:true,autoclose:false,idth:340,height:160});
settimeout('loadVip',2000);
}else{
alert(error);
}
},"json");
}
functionloadVip{
;
.href="?aid=&cid=";
}
functionshoRequest{
$('#subSubmit.attr('disabled','disabled;
$('#subSubmit.attr('class','but_dingyue2;
}
functionchangeValid(o){
varimgsrc='/ne/login/vdimgck?rnd='+dom;
("src",imgsrc)
}
//post-submitcallback
functionshoResponse(xml){
v