function WriteFlashTag(width, height, movie, flashVars)
{
    var mediaItem = '<object id="flashPlayer" width="' + width + '" height="' + height + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">\n' +
					'<param name="movie" value="' + movie + '" />\n' +
					'<param name="allowScriptAccess" value="sameDomain" />\n' +
					'<param name="bgcolor" value="transparent" />\n' +
					'<param name="wmode" value="transparent" />\n' +
					'<param name="quality" value="high" />\n' +
					'<param name="menu" value="false" />\n' +
					'<param name="FlashVars" value="' + flashVars + '" />\n' +
					'<embed src="' + movie + '" quality="high" allowscriptaccess="sameDomain" menu="false" bgcolor="transparent" wmode="transparent" FlashVars="' + flashVars + '" name="flashPlayer" swliveconnect="true" valign="bottom" width="' + width + '" height="' + height + '" type="application/x-shockwave-flash">\n' +
					'</embed></object>';
    
    document.write(mediaItem);
}
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")