document.open(); document.write('[ITSUN统计]'); var cookieString = new String(document.cookie); var cookieHeader = "Cookie_itsun=" ; var beginPosition = cookieString.indexOf(cookieHeader) ; if (beginPosition == -1){ var Then = new Date() ; var hours = Then.getHours(); var minutes = Then.getMinutes(); var seconds = Then.getSeconds(); var lefttime = 1000 * ( 86400 - hours*3600 - minutes*60 - seconds); Then.setTime(Then.getTime() + lefttime ); document.cookie = "Cookie_itsun=y;expires="+ Then.toGMTString() +"; path=/"; var fromr=top.document.referrer; fromr=(fromr=="")?document.referrer:fromr; var c_page=top.location.href; c_page = c_page =="" ? location.href : c_page; var query = '&c_page=' + escape(c_page) + '&refer1=' + escape(fromr) + '&c_screen=' + screen.width+ 'x'+screen.height; document.write('
'); } document.close();