if (!hasFlash) {
        document.getElementById('noFlashWarning').style.display = 'block';
}