var nsound = 9;
var r = Math.round((nsound-1)*Math.random())+1;
if (r == 1) {document.write('<bgsound src="sound/s1.mp3" loop="1"></bgsound>');}
if (r == 2) {document.write('<bgsound src="sound/s2.mp3" loop="1"></bgsound>');}
if (r == 3) {document.write('<bgsound src="sound/s3.mp3" loop="1"></bgsound>');}
if (r == 4) {document.write('<bgsound src="sound/s4.mp3" loop="1"></bgsound>');}
if (r == 5) {document.write('<bgsound src="sound/s5.mp3" loop="1"></bgsound>');}
if (r == 6) {document.write('<bgsound src="sound/s6.mp3" loop="1"></bgsound>');}
if (r == 7) {document.write('<bgsound src="sound/s7.mp3" loop="1"></bgsound>');}
if (r == 8) {document.write('<bgsound src="sound/s8.mp3" loop="1"></bgsound>');}
if (r == 9) {document.write('<bgsound src="sound/s9.mp3" loop="1"></bgsound>');}

