第十四章 工作(第1页)
seajs。use(‘+a+‘‘);‘);usejs(‘comstat‘,function(Stat)Stat。initNavigationTool();)
ttjavascript"
>
var_cssDomain=‘http:sta。qdmm。com‘;
var_href=_cssDomain+‘styleskinread_skin_default。css?v=20151125‘;
var_hrefs=[‘read_skin_default‘,‘read_skin_green‘,‘read_skin_yellow‘,‘read_skin_blue‘,‘read_skin_white‘,‘read_skin_gray‘,‘read_skin_pink‘,‘read_skin_night‘];
var_fonts=["
‘MicrosoftYaHei‘"
,"
‘SimSun‘"
,"
‘KaiTi‘"
];
var_font="
‘MicrosoftYaHei‘"
;
var_fontsize=12;
var_pagewidths=[640,800,900,1280];
var_pagewidth=800;
varreadedBookStartTime=newDate();
functiongetCookie(cookieName)
varcookieString=document。cookie;
varstart=cookieString。indOf(cookieName+‘=‘);
if(start==-1)returnnull;
start+=cookieName。length+1;
varend=cookieString。indOf(‘;‘,start);
if(end==-1)returnunescape(cookieString。substring(start));
returnunescape(cookieString。substring(start,end));
;
var_settings=getCookie(‘qdrs‘);
if(_settings)
if(_settings&&_settings。indOf(‘|‘)>0)
_settings=_settings。split(‘|‘);
elseif(_settings)
_settings=_settings。split(‘);
if(_settings。length>=4)
_href=_cssDomain+‘styleskin‘+_hrefs[_settings[0]]+‘。css?v=20151125‘;
_font=_fonts[_settings[2]];
_fontsize+=_settings[1]*2;
_pagewidth=_pagewidths[_settings[4]];
document。write(‘
cssFile"
rel="
stylesheet"
type="
ttcss"
href="
‘+_href+‘"
>‘);