Uggh ... I haven't used javascript in years and am really rusty. I have an embeded MP3 on my site that is set to autostart. I have given it the name 'mySound".

When a user clicks on a link (which calls a m3u file and then streams a song) I would like the embeded sound to stop
So I have the following code
<a href="song1.m3u" onclick="stopsound();">song one</a>

and in the head section I have
<script type="text/javascript">
function stopsound()
{
document.mySound.stop
}
</script>


This isn't working ... any ideas of what it could be would be very much appreciated!