function CreateFlash(classid, width, height, movie)
{

	document.write('<object classid="'+ classid +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
    document.write('<embed src="'+ movie +'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'" />');
    document.write('</object>');
}

function CreateFlashCandle(classid, width, height, movie)
{

	document.write('<object classid="'+ classid +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="wmode" value="transparent" />');
    document.write('<embed src="'+ movie +'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'" />');
    document.write('</object>');
}

function CreateFlashVars(classid, width, height, movie, FlashVars)
{

	document.write('<object classid="'+ classid +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="FlashVars" value="'+ FlashVars +'">');
    document.write('<embed src="'+ movie +'" quality="high" menu="false" flashvars="'+ FlashVars +'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'" />');
    document.write('</object>');
}
function CreateFlashVarsTransparent(classid, width, height, movie, FlashVars)
{

	document.write('<object classid="'+ classid +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="wmode" value="transparent" />');	
	document.write('<param name="FlashVars" value="'+ FlashVars +'">');
	document.write('<param name="AllowScriptAccess" value="always" />');
    document.write('<embed src="'+ movie +'" quality="high" wmode="transparent" menu="false" flashvars="'+ FlashVars +'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'"allowScriptAccess="always"/>');
    document.write('</object>');
}
function CreateFlash8VarsTransparent(classid, width, height, movie, FlashVars)
{

	document.write('<object classid="'+ classid +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="wmode" value="transparent" />');	
	document.write('<param name="FlashVars" value="'+ FlashVars +'">');
    document.write('<embed src="'+ movie +'" quality="high" wmode="transparent" menu="false" flashvars="'+ FlashVars +'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'" />');
    document.write('</object>');
}

function CreateFlashTransparent(classid, width, height, movie)
{

	document.write('<object classid="'+ classid +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
	document.write('<param name="wmode" value="transparent" />');
    document.write('<embed src="'+ movie +'" quality="high" wmode="transparent" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'" />');
    document.write('</object>');
}
function CreateFlashV(classid, width, height, movie, version)
{

	document.write('<object classid="'+ classid +'" codebase="'+ version +'" width="'+ width +'" height="'+height+'">');
    document.write('<param name="movie" value="'+ movie +'" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
    document.write('<embed src="'+ movie +'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+height+'" />');
    document.write('</object>');
}
