/* FILE ARCHIVED ON 22:57:49 May 6, 2009 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 4:16:53 Oct 4, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ var PLAYER_HEIGHT = '385'; var PLAYER_WIDTH = '640'; var PLAYER_CLOSE_TEXT = 'Close'; var PLAYER_NOFLASH_TEXT = 'This video requires Adobe '; PLAYER_NOFLASH_TEXT += 'Flash Player.'; var PLAYER_ALT_TEXT = ''; PLAYER_ALT_TEXT += 'Download video in Ogg Theora format'; function FirefoxVideoLaunch(id, video_url) { this.video_url = video_url; this.overlay = document.createElement('div'); this.overlay.className = 'firefox-video-overlay'; this.overlay.style.display = 'none'; this.video_container = document.createElement('div'); this.video_container.className = 'firefox-video-window'; this.video_container.style.display = 'none'; this.opened = false; // add overlay and preview image to document var video_link = document.getElementById(id); video_link.parentNode.appendChild(this.overlay); video_link.parentNode.appendChild(this.video_container); var links = YAHOO.util.Dom.getElementsByClassName('launch-video'); for(var i = 0; i < links.length; i++) YAHOO.util.Event.addListener(links[i], 'click', this.handleClick, this, true); YAHOO.util.Event.addListener(this.overlay, 'click', this.handleClick, this, true); } FirefoxVideoLaunch.prototype.buildVideoPlayer = function() { var player = '