/* * Name: * embedFlash * * Description: * prints out the HTML code using javascript instead of embedding the Flash object directly into * the HTML code. This is a workaround for the ActiveX issue in IE that needs the ActiveX content * to be activated before it can be used. The workaround removes the need for activation * * Pre-conditions: * embedString String containing all tags holding the Flash object in the HTML page * i.e. "" * * Post-conditions: * The Flash object is embedded in the webpage while avoiding the ActiveX issue * * Functions: * None * * Log: * Toan Nguyen-Dinh 5/11/2006 * - Creation * */ function embedFlash(embedString) { //echo the string into the page document.write(embedString); }