function EvalSound(soundobj){
  var thissound= eval("document."+soundobj);
  thissound.Play();
}

<!--
function textowin()
{
window.open("petinfo.htm",
"Petinfo_por_javascript",
"width=600,height=400,scrollbars=1");
}
-->