//Code to load a Flash object
//This js file is used to avoid IE security problems due to active content within an HTML document
//The following variables must be declared in the HTML: fileWidth, fileHeight, fileURL, bgcolor, flashVars



document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="flashObject"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"');
document.write('WIDTH="' + fileWidth + '" HEIGHT="' + fileHeight + '">');
document.write('<PARAM NAME=movie VALUE="' + fileURL + '">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=' + bgcolor + '>'); 
document.write('<PARAM NAME=allowScriptAccess VALUE=always>'); 
document.write('<PARAM NAME=flashvars VALUE="' + flashVars + '">');
document.write('<EMBED FLASHVARS="' + flashVars + '"');
document.write('src="' + fileURL + '" quality=high bgcolor=' + bgcolor + ' WIDTH="' + fileWidth + '" HEIGHT="' + fileHeight + '"');
document.write('name="flashObject" ALIGN="" TYPE="application/x-shockwave-flash" allowScriptAccess="always"');
document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
document.write('</EMBED>');
document.write('</OBJECT>');