// Load the flash document into the browser function loadDoc(divID, htmlCode) { var d = document.getElementById(divID); if (d == null) { alert("Error loading document. Please contact technical support"); } else { d.innerHTML = htmlCode; } }