/* FILE ARCHIVED ON 5:50:43 Jan 17, 2009 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 17:16:37 Apr 30, 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 '; player += ''; player += ''; player += '

' + PLAYER_NOFLASH_TEXT + '

'; player += ''; player += '
' + PLAYER_ALT_TEXT + '
'; return player; } FirefoxVideoLaunch.prototype.open = function() { this.video_container.style.display = 'block'; this.overlay.style.display = 'block'; // hide the language form because its flydown won't render right in IE var hide_form = document.getElementById('lang_form'); if (hide_form) hide_form.style.display = 'none'; this.video_container.style.top = (YAHOO.util.Dom.getDocumentScrollTop() + ((YAHOO.util.Dom.getViewportHeight() - 570) / 2)) + 'px'; this.video_container.innerHTML = this.buildVideoPlayer(); this.overlay.style.height = YAHOO.util.Dom.getDocumentHeight() + 'px'; YAHOO.util.Event.addListener( document.getElementById('firefox-video-player-close'), 'click', this.handleClick, this, true); this.opened = true; } FirefoxVideoLaunch.prototype.close = function() { this.overlay.style.display = 'none'; this.video_container.style.display = 'none'; // clear the video content so IE will stop playing the audio this.video_container.innerHTML = ''; var hide_form = document.getElementById('lang_form'); if (hide_form) hide_form.style.display = 'block'; this.opened = false; } FirefoxVideoLaunch.prototype.handleClick = function(e) { YAHOO.util.Event.preventDefault(e); if (this.opened) this.close(); else this.open(); }