/* * Javascript implementations for Velocious website * (c) Papercut Media. No reproduction without permission. Feel free to ask. * Author: Patrick Pittman * Date: June 2007 * Version: 1.0 * Requires: Prototype.js framework, ufo.js for flash loading, Dreamgirl on the other end for AJAXy JSON communication * Also requires Prototype extension for ReadyState.addContentObserver */ var baseHref = "/"; function cleanupFP9IELeaks() { __flash_unloadHandler = function() {}; __flash_savedUnloadHandler = function() {}; } if (UFO.uaHas("ieWin")) { Event.observe(window,"beforeunload", cleanupFP9IELeaks); }