function checkBrowserWidth() { current_width = document.getElementById('logo_ads').offsetWidth; if (current_width < 640) { document.getElementById('expendable').style.display = 'none'; } else { document.getElementById('expendable').style.display = 'inline'; } } function initBrowserWidth() { start_width = document.getElementById('logo_ads').offsetWidth; checkBrowserWidth(); onresize = checkBrowserWidth; } function flashInfo() { if (navigator.plugins && navigator.plugins.length > 0) { this.implementation = "Plug-in"; this.autoInstallable = false; // until Netscape SmartUpdate supported // Check whether the plug-in is installed: if (navigator.plugins["Shockwave Flash"]) { this.installed = true; // Get the plug-in version and revision: var words = navigator.plugins["Shockwave Flash"].description.split(" "); this.revision = words[words.length - 1]; this.revisionNum = words[words.length - 1].substr(1,4); this.version = words[2]; } else { this.installed = false; } } // else { // this.implementation = "ActiveX control"; // this.installed = MM_FlashControlInstalled; // this.version = MM_FlashControlVersion; // this.autoInstallable = true; // } } var flashInfoVar = new flashInfo();