nummidi = 6 //This is where u put the numbers of midies.
day = new Date()
z = day.getTime()
y = (z - (parseInt(z/1000,10) * 1000))/10
x = parseInt(y/100*nummidi,10) + 1
미디넣을곳에
<script language="javascript">
document.writeln("<embed src="+Math.ceil(Math.random()*40)+".mid loop=infinite>")
</script>
이것만 넣으십시오.
보십시오 단 이 3줄! 매우간단합니다.
(웬 무슨 광고 -_-;)
잡소리 치우고 일단 수정할곳은,
<script language="javascript">
document.writeln("<embed src="+Math.ceil(Math.random()*노래가 있는 수)+".mid loop=infinite>")
</script>