I have a web site with a members lounge where members can sit and wait until someone else comes into the room the problem I have is a lot of the members have this page minimized and don't see other members come in.I wanted to make a bell of some sort they can press when they enter so they can alert other members who have the page minimized.Someone gave me this code but it don't seem to work

<script type="text/javascript">
function playSound(file) {
document.getElementById("dummy").innerHTML="<embed src=\""+file+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";}
<div id="dummy" style="display:none;"></div>
<input type="button" onClick="playSound('yourFile.wav');" value="Play!" />

I have also uploaded the wave sound to my public folder in my drop box this is the link for that


any help would be great