function writeFlash(nomefile,width,height,bgcolor,flashvars) {
	var version = "7,0,0,0";
	var theCode;
		
	theCode=('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+ width +'" height="'+ height+'" align="top">');
	theCode= theCode+ ('<param name="allowScriptAccess" value="sameDomain" />');
        theCode= theCode+ ('<param name="movie" value="' + nomefile + '" />');
        theCode= theCode+ ('<param name="quality" value="high" />');
        theCode= theCode+ ('<param name="scale" value="noscale" />');
        theCode= theCode+ ('<param name="salign" value="lt" />');
        theCode= theCode+ ('<param name="wmode" value="transparent" />');
        theCode= theCode+ ('<param name="bgcolor" value="#' + bgcolor + '" />');
        theCode= theCode+ ('<param name="flashvars" value="'+ flashvars +'">');
	theCode= theCode+ ('<embed src="' + nomefile + '" FlashVars="'+ flashvars + '" quality="high" scale="noscale" salign="lt" wmode="transparent" bgcolor="#' + bgcolor + '" width="' + width + '" height="' + height + '" align="top" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" /></object>');
        document.write(theCode);
}

function writeFlashMenu(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="661" height="302"><param name="movie" value="~12328.swf"><param name="quality" value="high"><embed src="~12328.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="661" height="302"></embed></object>');
}
function writeFlashcatswf(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="388" height="291"><param name="movie" value="catswf.swf"><param name="quality" value="high"><embed src="catswf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="388" height="291"></embed></object>');
}
function writeFlashrostswf(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="388" height="291"><param name="movie" value="rostswf.swf"><param name="quality" value="high"><embed src="rostswf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="388" height="291"></embed></object>');
}
function writeFlashgelswf(){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="197" height="150"><param name="movie" value="gelswf.swf"><param name="quality" value="high"><embed src="gelswf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="197" height="150"></embed></object>');
}

