function imgLoad(id,path,src,width,height,bg){

    if (el = document.getElementById(id)) {
        var str = "<object type='application/x-shockwave-flash' height='"+height+"' width='"+width+"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' data='"+path+"' id='obj_"+id+"' title='Flash' style='-moz-user-focus:ignore'>"; 
     //   str += "<param name='movie' value='"+path+"' />";
        str += "<param name='quality' value='high' />";
        str += "<param name='menu' value='false' />";
        str += "<param name='scale' value='noscale' />";
        str += "<param name='flashvars' value='src="+src+"&amp;autostart=no&amp;loop=no&amp;random=no&amp;remote=no&amp;debug=no' />";
        str += "<param name='src' value='"+path+"' />";
        str += "<embed src='"+path+"' flashvars='src="+src+"&amp;autostart=no&amp;loop=no&amp;random=no&amp;remote=no&amp;debug=no' bgcolor='"+bg+"' scale='noscale' menu='false' type='application/x-shockwave-flash' height='"+height+"' width='"+width+"'></embed>";
        str += "</object>";
        el.innerHTML = str;

        el1 = document.getElementById(id);
        el2 = document.getElementById("obj_"+id);

        if (el1 && el2){
            el1.style.height=height+"px";
            el2.style.width=width+"px";
            el2.style.height=height+"px";
        }
    }

}