/** PTNovelSearch-v4.1.2 LPPL License By http://www.ptcms.com/ */
 ;function nr_setbg(e){var t=document.getElementById("huyandiv"),o=document.getElementById("lightdiv");"huyan"==e&&(""==t.style.backgroundColor?(set("light","huyan"),document.cookie="light=huyan;path=/"):(set("light","no"),document.cookie="light=no;path=/")),"light"==e&&("关灯"==o.innerHTML?(set("light","yes"),document.cookie="light=yes;path=/"):(set("light","no"),document.cookie="light=no;path=/")),"big"==e&&(set("font","big"),document.cookie="font=big;path=/"),"middle"==e&&(set("font","middle"),document.cookie="font=middle;path=/"),"small"==e&&(set("font","small"),document.cookie="font=small;path=/")}function getset(){for(var e,t,o=document.cookie,l=o.split("; "),n=0;n<l.length;n++){var c=l[n].split("=");if("light"==c[0]){e=c[1];break}}for(var n=0;n<l.length;n++){var c=l[n].split("=");if("font"==c[0]){t=c[1];break}}"yes"==e?set("light","yes"):"no"==e?set("light","no"):"huyan"==e&&set("light","huyan"),"big"==t?set("font","big"):"middle"==t?set("font","middle"):"small"==t?set("font","small"):set("","")}function set(e,t){var o=document.getElementById("nr_body"),l=document.getElementById("huyandiv"),n=document.getElementById("lightdiv"),c=(document.getElementById("fontfont"),document.getElementById("fontbig")),s=document.getElementById("fontmiddle"),d=document.getElementById("fontsmall"),r=document.getElementById("nr1"),g=document.getElementById("nr_title"),i=document.getElementById("pt_prev"),y=document.getElementById("pt_mulu"),a=document.getElementById("pt_next");if("light"==e)if("yes"==t){n.innerHTML="开灯",n.style.backgroundColor=checkbg,o.style.backgroundColor="#32373B",l.style.backgroundColor="",g.style.color="#ccc",r.style.color="#999";var u="background-color:#3e4245;color:#ccc;border:1px solid #313538";i.style.cssText=u,y.style.cssText=u,a.style.cssText=u}else if("no"==t){n.innerHTML="关灯",n.style.backgroundColor="",o.style.backgroundColor="#fbf6ec",r.style.color="#000",g.style.color="#000",l.style.backgroundColor="";var u="background-color:#f4f0e9;color:green;border:1px solid #ece6da";i.style.cssText=u,y.style.cssText=u,a.style.cssText=u}else if("huyan"==t){n.innerHTML="关灯",l.style.backgroundColor=checkbg,n.style.backgroundColor="",o.style.backgroundColor="#DCECD2",r.style.color="#000";var u="background-color:#CCE2BF;color:green;border:1px solid #bbd6aa";i.style.cssText=u,y.style.cssText=u,a.style.cssText=u}"font"==e&&(c.style.backgroundColor="",s.style.backgroundColor="",d.style.backgroundColor="","big"==t&&(c.style.backgroundColor=checkbg,r.style.fontSize="26px"),"middle"==t&&(s.style.backgroundColor=checkbg,r.style.fontSize="22px"),"small"==t&&(d.style.backgroundColor=checkbg,r.style.fontSize="16px"))}var checkbg="#A7A7A7";