// This script writes html code to embed the Flash to allow user interactivity with new ActiveX controls

// Important information:
// 1) In order to work properly, the script assumes these variables are declared in the pages' script:
//		swfPath, swfHeight, swfWidth, swfId, swfName, swfQuality, swfBgcolor, swfAlign  


document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='"+swfWidth+"' height='"+swfHeight+"' id='"+swfId+"' align='"+swfAlign+"'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='"+swfPath+"' />");
document.writeln("<param name='quality' value='"+swfQuality+"' />");
document.writeln("<param name='bgcolor' value='"+swfBgcolor+"' />");
document.writeln("<embed src='"+swfPath+"' quality='"+swfQuality+"' bgcolor='"+swfBgcolor+"' width='"+swfWidth+"' height='"+swfHeight+"' name='"+swfName+"' align='"+swfAlign+"' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");

