// JavaScript Document
if (window.ActiveXObject)
{
// This is a browser that understands ActiveX
// Create object elements accordingly
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"');
document.write(' width="320" height="250" id="myFlash">');
document.write(' <param name="movie" value="greenheader.swf">');
document.write(' <param name=quality value=high>');
document.write(' <param name="swliveconnect" value="true">');
document.write('</object>');

}

else
{
// This is a browser in which the classid/UUID based implementation is not useful
// Create object elements based on MIME type

document.write('<object id="myFlash" data="greenheader.swf" type="application/x-shockwave-flash"');
document.write(' width="320" height="250"');
document.write('<param name="movie" value="greenheader.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="swliveconnect" value="true">');    	
document.write('</object>'); 

}