function populateSWF(swf){
    var shtml = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'";
    shtml += " codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0'";
    shtml += "  width="+document.documentElement.clientWidth+" height="+document.documentElement.clientHeight/100*97+" id='flash' align='center'>";
//                                        modifica nome file.swf
    shtml += " <param name=movie value='"+swf+"'>";
    shtml += " <param name=quality value='high'>";
	shtml += " <param name=allowFullScreen value='true'>";
//    shtml += " <param name='SCALE' value='showall'>"; 
    shtml += " <param name='wmode' value='window'>";
//                        modifica nome file.swf
    shtml += " <embed src='"+swf+"' quality=high wmode='window' width="+document.documentElement.clientWidth+" height="+document.documentElement.clientHeight/100*97+" name='flash_a1' align='center' allowFullScreen='true' ";
    shtml += "  type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>";
    shtml += "     </object>"

    var md = document;
    var d = md.getElementById('flash');
    d.innerHTML = shtml;
}