/code/ function visipisi(url, cb) { var count = 0; var start, cachedTime, uncachedTime; var cached = new Image(), uncached = new Image(); var determineVisitedness = function () { cb(cachedTime < 0.05 * uncachedTime); } var errCB = function () { count = -10; cb(null); } cached.onload = function() { cachedTime = (new Date()).getTime() - start; if (++count == 2) determineVisitedness(); }; uncached.on