function ShowFlash(filepath,width,height,transparent)
{
document.write('<object codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+width+'" height="'+height+'">\n');
	document.write('<param name="Movie" value="'+filepath+'">\n');
	document.write('<param name="Src" value="'+filepath+'">\n');
	if (transparent == true)
    {
		document.write('<param name="WMode" value="Transparent">\n');
	}
	document.write('<param name="Play" value="-1">\n');
	document.write('<param name="Loop" value="-1">\n');
	document.write('<param name="Quality" value="High">\n');
	document.write('<param name="EmbedMovie" value="0">\n');
	document.write('<embed src="'+filepath+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"/>\n');
	document.write('</object>\n');
}
function ShowFlashClickTag(filepath,url,width,height,transparent)
{
document.write('<object codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+width+'" height="'+height+'">\n');
	document.write('<param name="Movie" value="'+filepath+'">\n');
	document.write('<param name="Src" value="'+filepath+'">\n');
	if (transparent == true)
    {
		document.write('<param name="WMode" value="Transparent">\n');
	}
	document.write('<param name="Play" value="-1">\n');
	document.write('<param name="Loop" value="-1">\n');
	document.write('<param name="Quality" value="High">\n');
	document.write('<param name="EmbedMovie" value="0">\n');
	document.write('<param name="allowScriptAccess" value="sameDomain"/>\n');
	document.write('<param name="movie" value="'+filepath+'" />\n');
	document.write('<param name="FlashVars" value="clickTag='+url+'"/>\n');
	document.write('<embed src="'+filepath+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="clickTag='+url+'" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"/>\n');
	document.write('</object>\n');
}
