Prueba ahora con este (quité el retorno de carro)
Código:
<html>
<head>
<title>Sin título</title>
<script type="text/javascript">
var sones;
function _desactivar() {
this.sonido.innerHTML = "";
}
function _activar() {
var son = "<embed src='" + this.son[_activar.arguments[0]].src + "' autostart='true' hidden='true' style='display: inline'></embed>";
this.sonido.innerHTML = son;
}
function preSonidos() {
this._entradas = preSonidos.arguments;
this.total = this._entradas.length;
this.son = new Array(this.total);
for (var i = 0; i < this.total; i ++) {
this.son[i] = document.createElement("embed");
this.son[i].src = this._entradas[i];
this.son[i].autostart = false;
this.son[i].style.display = "none";
document.body.appendChild(this.son[i]);
}
this.sonando = false;
this.incrustado = false;
this.activar = _activar;
this.desactivar = _desactivar;
this.sonido = document.createElement("div");
document.body.appendChild(this.sonido);
}
function ini() {
sones = new preSonidos('http://www.tonamelt.com/Piano-yugure[1].mid');
sones.activar(0);
}
var activo = "no";
</script>
<style type="text/css">
#dropmenudiv{
position:absolute;
border:1px solid black;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}
</style>
</head>
<body bgcolor="black" text="white" onload="ini()">
<TABLE BORDER="4" width="100%" align="left">
<TR>
<TD align="LEFT" width="50%">
<img src=http://www.tonamelt.com/Tonamelt%20Web/PLAY.JPG onclick="sones.activar(0)" />
</TD>
<TD align="RIGHT" width="50%">
<img src=http://www.tonamelt.com/Tonamelt%20Web/STOP.JPG onclick="sones.desactivar(0)" />
</TD>
</TR>
</TABLE>
<br><br><br><br><br><br><br><br><br>
</BODY>
</HTML>