lambda が渡せるので、とても楽しい…! function check(url, out) { var bf2wk = new Date(new Date() - (14 * 24 * 60 * 60 * 1000)); var req = new ActiveXObject("Msxml2.XMLHTTP"); req.onreadystatechange = function() { switch(req.readyState) { case 0: break; // uninitialized case 1: break; // loading case 2: break; // loaded case 3: break; // interactive case 4: out("status: " + req.status + "\nlast-modified:" + req.g