You probably need to place:
<BGSOUND SRC="'+musi+'" autostart='true' LOOP=1>
right after or before
<embed src='"+musi2+"' hidden=true autostart='true' loop=-1>
as for some reason msie 6 on XP does not like the embed command like netscape does. Placing the noembed with the bgsound doesn't seem to work either. I use the following script when using music on my pages:
<script type="text/javascript" language="JavaScript">
<!-- Original: Kipp W. Shinabarger (kipps@bigfoot.com) -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!!
http://javascript.internet.com -->
<!-- Begin
var MSIE=navigator.userAgent.indexOf("MSIE");
var NETS=navigator.userAgent.indexOf("Netscape");
var OPER=navigator.userAgent.indexOf("Opera");
if((MSIE>-1) || (OPER>-1)) {
document.write("<BGSOUND SRC=music/cheers.mid LOOP=1>");
} else {
document.write("<EMBED SRC=music/cheers.mid AUTOSTART=TRUE ");
document.write("HIDDEN=true VOLUME=100 LOOP=1>");
}
// End -->
</script>