function stampa_flash(percorso, width, height, id)
{
document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" id=\""+id+"\" width=\""+width+"\" height=\""+height+"\">");
document.write("<param name=\"movie\" value=\""+percorso+"\">");
document.write("<param name=\"menu\" value=\"false\">");
document.write("<param name=\"quality\" value=\"high\">");
document.write("<PARAM NAME=\"wmode\" VALUE=\"transparent\">");
document.write("<param name=\"scale\">");
document.write("<param name=\"bgcolor\" value=\"#ffffff\">");
document.write("<embed src=\""+percorso+"\" wmode=\"transparent\" menu=\"false\" quality=\"high\" scale=\"noborder\" bgcolor=\"#ffffff\" width="+width+" height="+height+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">");
document.write("</embed>");
document.write("</object>");
} 
  function Addjscode(title)
  {
      document.write('<object style="float:left;padding-right:8px;padding-bottom:2px;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9.0.0.0"width="390"       height="282" ID="sf" VIEWASTEXT>');  
      document.write('  <param name="movie" value=' + title + ' />'); 
      document.write('  <param name="quality" value="high" />');  
      document.write('  <param name="wmode" value="window" />');  
      document.write('  <param name="allowScriptAccess" value="always" />'); 
	  document.write(' <param name="bgcolor" value="#ffffff">');
      document.write('  <embed src=' + title + ' quality="high" name="sf" allowScriptAccess="always" allowFullScreen="true" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="390"       height="282"></embed>');  
      document.write('</object>');  
  }
function AddjscodeWH(title,larg,alt)
  {
      document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9.0.0.0" width="' + larg + '"       height="' + alt + '" ID="sf" VIEWASTEXT>');  
      document.write('  <param name="movie" value=' + title + ' />'); 
      document.write('  <param name="quality" value="high" />');  
      document.write('  <param name="wmode" value="window" />');  
      document.write('  <param name="allowScriptAccess" value="always" />'); 
//	  document.write(' <param name="bgcolor" value="#ffffff">');
	  document.write("<PARAM NAME=\"wmode\" VALUE=\"transparent\">");

      document.write('  <embed src=' + title + ' wmode="transparent" quality="high" name="sf" allowScriptAccess="always" allowFullScreen="true" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + larg + '"       height="' + alt + '"></embed>');  
      document.write('</object>');  
  }

