<!-- Start Of Midi Master Script -->
<!-- MIDI Player that allows you to choose songs/tracks -->
<!-- Instructions: Just put this script anywhere on your webpage
that you wish to have a user interface. -->
<Script Language="JavaScript">
<!-- Hiding
song = new Array()
var x = 0
song[1] = "Cool Midi # 1"
song[2] = "Cool Midi # 2"
song[3] = "Cool Midi # 3"
song[4] = "Cool Midi # 4"
song[5] = "Cool Midi # 5"
song[6] = "Cool Midi # 6"
function prev(){
if (x>1)
{ x--
document.midi.typein.value=song [x]
}
}
function next(){
var max= song.length-1
if (x<max)
{ x++
document.midi.typein.value=song [x]
}
}
function go(){
if (x != 0){
location.href='song'+x+'.mid'
}
}
function start(){
x=1
document.midi.typein.value=song [x]
}
function end(){
x=song.length-1
document.midi.typein.value=song [x]
}
function cls(){
document.midi.typein.value="Select Midi Song"
}
// Done Hiding -->
</Script>
<BODY Bgcolor="#ffffff" onload="cls()">
<Center>
<FORM Name="midi">
<INPUT NAME="typein" TYPE="text" SIZE="25" ALIGN=top><BR>
<font size=3 face="Comic Sans Ms">
<INPUT TYPE=Button Value="|<<" Align=left onclick="start()">
<INPUT TYPE=Button Value="<<" Align=left onclick="prev()">
<INPUT TYPE=Button Value="PLAY" Align=left onclick="go()">
<INPUT TYPE=Button Value=">>" Align=left onclick="next()">
<INPUT TYPE=Button Value=">>|" Align=left onclick="end()">
</FORM></font>
</Center>
</BODY>
</HTML>
<!-- End Of Midi Master Script -->
</body>
</html>