function&n{
varsvalue&natch(neRegExp("[\?\&]"&n+"=([^\&]*(\&?","i";
returnsvalue?svalue[1]:svalue;
}
functioncurenturl({
varpurl=;
purls=escape(;
="/ne/login/ss;
}
functionsubscription(articleid,article,chapterid{
&nit".disabled=disabled;
&nit".attr("disabled","disabled";
&nit".attr("class","butdingyue2";
&naticsubscriptionvalue=$("#automaticsubscriptiondan".attr("checked";
&naticsubscriptionvalue{
&naticsubscriptionvalue=1;
}else{
&naticsubscriptionvalue=0;
}
obj={bookid:articleid,chapterid:chapterid&naticsuaticsubscriptionvalue};
$.post("/ne/ksuser/subscription/oneSubscription",obj,function(data{
&nsg="";
&nsg+="";
&nsg+="您已成功訂閱:";
&nsg+="";
&nsg+="";
&nsg+="
作品名稱超級紈絝
";
&nsg+="
第1121章:秘密征程(上)
";
&nsg+="";
&nsg+="3秒後自動跳轉......";
&nsg+="";
&nsg+="";
&nsg+="";
varjson=data,
request=.de,
error=.;
if(request==0{
&nInfo({sgCls:"confirm",message:msg,titleBar:false,useSlide:true,autoClose:false,idth:340,height:160};
&neout("loadVip(",2000;
}else{
alert(error;
}
},"json";
}
functionloadVip({
.href="?aid=20717&cid=1667065";
}
functionshoRequest({
&nit".attr("disabled","disabled";
&nit".attr("class","butdingyue2";
}
functioncid(o{
&ngsrc=&ngck?rnd="+dom(;
&ngsrc
}
&nitcallback
functions{
varjson&nl+"";
request=.de;
error=.;
if(request==0{
url="/artinfo/readVip?aid=20717&cid="+.data.fristchapterid;
&nsg="";
&nsg+="";
&nsg+="";
&nsg+="訂閱成功";
&nsg+="";
&nsg+="";
&nsg+="";
&nsg+="您已成功訂閱《超級紈絝》"+.+"個章節";
&nsg+="";
&nsg+="";
&nsg+="
查看訂閱作品
";
&nsg+="3秒後自動跳轉......";
&nsg+="";
&nsg+="";
&nsg+="";
&nInfo({sgCls:"confirm",message:msg,titleBar:false,useSlide:true,autoClose:false,idth:300,height:130};
&neout("loadRead(",3000;
}else{
if(request=="20106"{
.ogin/shoLogin#?bookid=20717&chapterid=1667065";
return;
}
alert(error;
}
}
functionshoResponseALL(json{
request=.de;
error=.;
if(request==0{
url="/artinfo/readVip?aid=20717&cid=1667065";
&nsg="";
&nsg+="";
&nsg+="";
&nsg+="訂閱成功";
&nsg+="";
&nsg+="";
&nsg+="";
&nsg+="您已成功訂閱《超級紈絝》";
&nsg+="";
&nsg+="";
&nsg+="
查看訂閱作品
";
&nsg+="3秒後自動跳轉......";
&nsg+="";
&nsg+="";
&nsg+="";
&nInfo({sgCls:"confirm",message:msg,titleBar:false,useSlide:true,autoClose:false,idth:300,height:130};
&neout("loadRead(",3000;
}else{
if(request=="20106"{
.ogin/shoLogin#?bookid=20717&chapterid=1667065";
return;
}
alert(error;
}
}
functionloadRead({
.
}
ydon=function event{
event=?:event;
try{
if yCode==13{
if($("#login".length0{
yCode=0;
LocalLogin(;
}
if($("#zcbutton".length0{
yCode=0;
&noblieLocalRegister(;
}
}
}catch(e{
}
}
$(function({
cid($("#captcogin";//加驗證碼
//cid($("#captchaImgreg";
//頭部更多顯示
&nouse(function {
$("#gengduo".attr("class",&nore&n2";
$("#navs1".sho(;
};
&nouseout(function {
$("#gengduo".attr("class",&nore";
$("#navs1".hide(;
};
//頭部更多顯示end
//頭部我的書架
&nouse(function {
$("#jilu".attr("class",&nore&n2";
$("#navs4".sho(;
};
&nouseout(function {
$("#jilu".attr("class",&nore";
$("#navs4".hide(;
};
//頭部我的書架end
//頭部賬號(郵箱
&ne".mouse(function {
&ne".attr("class",&nore&n2";
$("#navs3".sho(;
};
&ne".mouseout(function {
&ne".attr("class",&nore";
$("#navs3".hide(;
};
//頭部賬號(郵箱end
//頭部消息
&nouse(function {
$("#xiaoxi".attr("class",&nore&n2";
$("#navs2".sho(;
};
&nouseout(function {
$("#xiaoxi".attr("class",&nore";
$("#navs2".hide(;
};
//頭部消息end
varoptions={
&nit:shoRequest,
success:shoResponse&nit
};
&n1".ajaxForm(options;
//返回頂部
&nouse(function {
$("#spantop".attr("class","spantop2";
};
&nouseout(function {
$("#spantop".attr("class","spantop";
};
&n".mouse(function {
&n".attr("class",&n2";
};
&n".mouseout(function {
&n".attr("class",&n";
};
$("#spantop".click(function {
$(",&nate({scrollTop:0},120;
};
&n".click(function {
broser&nent.height(;
$(",&nate({scrollTop:broser},120;
};
//返回頂部end
};
function&n,n{
var&nenu"+m.getElementsByTagName("li";/*獲取選項卡的LI對象*/
&nli=ById("main"+m.getElementsByTagName("dl";/*獲取主顯示區域對象*/
for(i=0;i";
if(subscription!=1{
+="";
&n&n+parseInt(price;
chaptercount++;