// JavaScript Document
/* visualizzazione filmati flash
/*
/* <script type="text/javascript" src="script/flashLib.js"><!--// flash utility //--></script> */
/* <script language="JavaScript">loadFlash("flash/home.swf", 828, 462);</script> */

function loadFlash(file, width, height){
	document.write('<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+'">\n');
	document.write('<param name="movie" value="'+file+'" />\n');
	document.write('<param name="quality" value="high" /><param name="wmode" value="transparent">\n');
	document.write('<embed src="'+file+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" swLiveConnect="true" width="'+width+'" height="'+height+'"></embed>\n');
	document.write('</object>\n');
}

function loadFlashName(file, width, height, name, id){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" title="'+name+'" width="'+width+'" height="'+height+'" id="'+id+'">\n');
	document.write('<param name="movie" value="'+file+'" />\n');
	document.write('<param name="quality" value="high" /><param name="wmode" value="transparent">\n');
	document.write('<embed src="'+file+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" swLiveConnect="true" name="'+id+'" width="'+width+'" height="'+height+'"></embed>\n');
	document.write('</object>\n');
}

function loadFlashVar(file, width, height, name, id, value){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" title="'+name+'" width="'+width+'" height="'+height+'" id="'+id+'">\n');
	document.write('<param name="movie" value="'+file+'" />\n');
	document.write('<param name="quality" value="high" /><param name="wmode" value="transparent">\n');
	document.write('<param name="FlashVars" value="inputVar='+value+'" />\n');
	document.write('<embed src="'+file+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" swLiveConnect="true" name="'+id+'" width="'+width+'" height="'+height+'" FlashVars="inputVar='+value+'"></embed>\n');
	document.write('</object>\n');
}