i have an ajax/comet chat setup and working and i added the following line to it to play a sound when a new message is received... however every time it plays the sound, it unfocuses the textbox that the user is typing a new chat msg in....

Code:
$('soundbox').innerHTML="<embed src='WAVE_358.wav' hidden=true autostart=true loop=false>";