function digitalswf(domid,urlswf,flashvars,bgcol,width,height) {
    var ihtml ='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" ';
    ihtml+= 'width="'+width+'" height="'+height+'" id="'+domid+'" align="middle">'
    ihtml+= '<param name="allowScriptAccess" value="sameDomain" />';
    ihtml+= '<param name="allowFullScreen" value="false" />';
    ihtml+= '<param name="movie" value="'+urlswf+'" />';
    ihtml+= '<param name="quality" value="high" />';
    ihtml+= '<param name="flashvars" value="'+flashvars+'" />';
    ihtml+= '<param name="bgcolor" value="'+bgcol+'" />';
    ihtml+= '<embed src="'+urlswf+'?'+flashvars+'" ';
    ihtml+= 'quality="high" bgcolor="'+bgcol+'" width="'+width+'" height="'+height+'" name="'+urlswf+'" ';
    ihtml+= 'align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" ';
    ihtml+= 'type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_pl" />';
    ihtml+= '</object>';
    document.getElementById(domid).innerHTML = ihtml;
}
