function accesslog(){ buf = escape(parent.document.referrer); ref = ""; for (i = 0; i < buf.length; i++) { str = buf.charAt(i); ref += (str == "+") ? "%2B" : str; } scr = screen.width+","+screen.height+","+screen.colorDepth; document.write('総アクセス数'); }