The below script, I have been using for many years, stopped working in IE 7.0 all of a sudden.
It works using NS and Firefox.
Anyone know why this is? Did something change in IE 7.0 that may be causing this?
Thanks
Larry
<script language="javascript" type="text/javascript">
<!--
//By George Chiang (http://www.wsabstract.com) More JavaScripts here!
var sound1="MSymca.mid"
var sound2="MSdiscoinferno2.mid"
var sound3="MSfunkytown.mid"
var sound4="MSthehustle.mid"
var sound5="MSboomboom.mid"
var sound6="MSladyinred.mid"
var sound7="MSstrokin.mid"
var sound8="MSmambo5.mid"
var sound9="MSoyocomova.mid"
var sound10="MSsweethomechicago.mid"
var sound11="MSloveintheair.mid"
var sound12="MSilovenightlife2.mid"
var sound13="MScelebration.mid"
var sound14="MSkissuallover.mid"
var x=Math.round(Math.random()*13)
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 if (x==9) x=sound10
else if (x==10) x=sound11
else if (x==11) x=sound12
else if (x==12) x=sound13
else if (x==13) x=sound14
else x=sound15
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>