/** * SWFMacMouseWheel v2.0: Mac Mouse Wheel functionality in flash - http://blog.pixelbreaker.com/ * * SWFMacMouseWheel is (c) 2007 Gabriel Bucknall and is released under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * Modded by Robert M. Hall - rhall@impossibilities.com * Adjusted following functionality: * 1. Watch for events related only to flash content and not the container page * 2. Fixed to dispatch mousewheel events only to specific intance ID's that were registered, this * allows multiple SWFobject embeds on a page to use swfmacmousewheel and they will only respond * to their specific target ID's when the event.target.is passed. This way only the currently active item will receive a dispatch event. * 3. Works with SWFObject 2.1 * 4. No longer throws an error on IE/PC platforms because of a null object * 5. Works on Safari for PC * * Dependencies: * SWFObject v2.1 * Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis * This software is released under the MIT License * * Requires a few lines of changes to the AS2 and AS3 code to support the PC version of Safari * as well as an additional Flashvar paramater, set flashvars.browser = Browser.name; * These changes are only required for Safari on PC - all other modifications noted above are contained solely in this JavaScript * Safari PC support based on code/suggestions from Richard "RaillKill" Rodney of Hypermedia - http://railkill.free.fr/ * * Browser detect part from http://www.quirksmode.org/js/detect.html * */ var Browser = { init:function() { this.name = this.searchString(this.dataBrowser) || "unknown" }, searchString:function(data){ for(var A=0;A