/** PTNovelSearch-v4.1.2 LPPL License By http://www.ptcms.com/ */
 ;function nr_setbg(t){var e=document.getElementById("huyandiv"),n=document.getElementById("lightdiv");"huyan"==t&&("button huyanon"==e.className?(document.cookie="light=huyan;path=/",set("light","huyan")):(document.cookie="light=no;path=/",set("light","no"))),"light"==t&&("关灯"==n.innerHTML?(document.cookie="light=yes;path=/",set("light","yes")):(document.cookie="light=no;path=/",set("light","no"))),"big"==t&&(document.cookie="font=big;path=/",set("font","big")),"middle"==t&&(document.cookie="font=middle;path=/",set("font","middle")),"small"==t&&(document.cookie="font=small;path=/",set("font","small"))}function getset(){for(var t,e=document.cookie,n=e.split("; "),o=0;o<n.length;o++){var l=n[o].split("=");if("light"==l[0]){t=l[1];break}}"yes"==t?set("light","yes"):"no"==t?set("light","no"):"huyan"==t&&set("light","huyan")}function getset1(){for(var t,e=document.cookie,n=e.split("; "),o=0;o<n.length;o++){var l=n[o].split("=");if("font"==l[0]){t=l[1];break}}"big"==t?set("font","big"):"middle"==t?set("font","middle"):"small"==t?set("font","small"):set("font","middle")}function set(t,e){var n=document.getElementById("read"),o=document.getElementById("huyandiv"),l=document.getElementById("lightdiv"),s=(document.getElementById("fontfont"),document.getElementById("fontbig")),i=document.getElementById("fontmiddle"),a=document.getElementById("fontsmall"),m=document.getElementById("chaptercontent");"light"==t&&("yes"==e?(l.innerHTML="开灯",l.className="button lighton",n.className="stylenight",o.className="button huyanon"):"no"==e?(l.innerHTML="关灯",l.className="button lightoff",n.className="",o.className="button huyanon"):"huyan"==e&&(l.innerHTML="关灯",l.className="button lightoff",o.className="button huyanoff",n.className="hueyes")),"font"==t&&(s.className="sizebg",i.className="sizebg",a.className="sizebg","big"==e&&(s.className="button sizebgon",m.style.fontSize="25px"),"middle"==e&&(i.className="button sizebgon",m.style.fontSize="20px"),"small"==e&&(a.className="button sizebgon",m.style.fontSize="14px"))}var checkbg="#A7A7A7";