Code:
<script>
<!--
var sound1="your url here"
var sound2="your url here"
var sound3="your url here"
var x=Math.random()*10
if (x<=3) x=sound1
else if (x<=6) x=sound2
else
x=sound3
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+x+'"'+' loop="infinite">')
else
document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
//-->
</script>
this goes in the head, however there are a few things you'll need to modify.
also, this is an old code, so you'll need to "make it new".
Bookmarks