function populateSWF(NomeContenitore, NomeSwf, PathSwf, Larghezza, Altezza){
    var shtml = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"";
    shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0\"";
    shtml += "  width=\"" + Larghezza + "\" height=\"" + Altezza + "\" id=\"" + NomeSwf + "\" align=\"\">";
    shtml += " <param name=movie value=\"" + PathSwf + "\">";
    shtml += " <param name=quality value=high>";
    shtml += " <param name=scale value=noscale>";
    shtml += " <param name=bgcolor value=#023458>";
    shtml += " <embed src=\"" + PathSwf + "\" quality=high bgcolor=#023458 width=\"" + Larghezza + "\" height=\"" + Altezza + "\" name=\"" + NomeSwf + "\" align=\"\"";
    shtml += "  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>";
    shtml += " </object>"

    var d = document.getElementById(NomeContenitore);
    d.innerHTML = shtml;
}
