// writes a flash movie to the document to avoid the Eolas patent and the message 'Click to activate this control'

writeHeaderFlash = function(file, width, height, params) {

    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + width + '" height="' + height + '" id="top" align="middle">');
    document.write('<param name="movie" value="' + file + '" />');
    document.write(params);
    document.write('<embed src="' + file + '" quality="high" bgcolor="#ffffff" width="' + width + '" height="' + height + '" name="top" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
}

