/* beachcombercomputers miscellaneous javascript website specific functions */

function EmbedFlash(swf, height, width, loop, menu){
// Main Flash animation - XHTML 1.0 compliant workaround for IE and Firefox (write as javascript rather then embed HTML))
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="main01" width="'+width+'" height="'+height+'">');
document.write('<param name="movie" value="'+swf+'"/>');
document.write('<param name="quality" value="high"/>');
document.write('<param name="base" value="../default.htm"/>');
document.write('<param name="loop" value="'+loop+'"/>');
document.write('<embed type="application/x-shockwave-flash" menu="'+menu+'" src="'+swf+'" width="'+width+'" height="'+height+'" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object>');	
}