<Script language = "javascript">
<! --
Var sound1 = "http: // song address"
Var sound2 = "http: // song address"
Var sound3 = "http: // song address"
Var sound4 = "http: // song address"
Var sound5 = "http: // song address"
Var sound6 = "http: // song address"
Var sound7 = "http: // song address"
Var sound8 = "http: // song address"
Var sound9 = "http: // song address"
Var sound10 = "http: // song address"
Var x = Math. round (Math. random () * 10)
If (x = 0) x = sound1
Else if (x = 1) x = sound2
Else if (x = 2) x = sound3
Else if (x = 3) x = sound4
Else if (x = 4) x = sound5
Else if (x = 5) x = sound6
Else if (x = 6) x = sound7
Else if (x = 7) x = sound8
Else if (x = 8) x = sound9
Else x = sound10
If (navigator. appName = "Microsoft Internet Explorer"
Document. write ('<bgsound src =' + '"' + x + '"' + 'loop = "infinite"> ')
Else
Document. write ('<embed src =' + '"' + x + '"' + 'den = "true" autostart = "true" loop = "true"> ')
// -->
</SCRIPT>
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? PostId = 348256