now = new Date();
seed = now.getTime();
Mcount = 10;
midis = new Array(Mcount);
names = new Array(Mcount);
var playing;
midis[0] = "/country/LorettaLynn_CoalMinersDaughter.wav"; // Song # 1
names[0] = "Coal Miner's Daughter_Loretta Lynn";

midis[1] = "/country/RayPrice_FunnyHowTimeSlipsAway.wav"; // Song # 2
names[1] = "Funny How Time Slips Away_Ray Price";

midis[2] = "/country/KennyRogers_TheGambler.wav"; // Song # 3
names[2] = "The Gambler_Kenny Rogers";

midis[3] = "/country/JohnnyCashandJuneCarter_DaddySangBass.wav"; // Song #4 
names[3] = "Daddy Sang Bass_Johnny Cash and June Carter";

midis[4] = "/country/RayPrice_ForTheGoodTimes.wav"; // Song # 5
names[4] = "For The Good Times_Ray Price";

midis[5] = "/country/EddieArnold_Anytime.wav"; // Song # 6
names[5] = "Anytime_Eddie Arnold";

midis[6] = "/country/JohnnyCash_FolsomPrisonBlues.wav"; // Song # 7
names[6] = "Folsom Prison Blues_Johnny Cash";

midis[7] = "/country/GeorgeStrait_AllMyExesLiveInTexas.wav"; // Song # 8
names[7] = "All My Exe's Live In Texas_George Strait";

midis[8] = "/country/SammieSmith_HelpMeMakeItThroughTheNight.wav"; // Song #9
names[8] = "Help Me Make it Thru The Night_Sammie Smith";

midis[9] = "/country/PatsyCline_WalkingAfterMidnight.wav"; // Song # 10
names[9] = "Walking After Midnight_Patsy Cline";

function random(num)
{
ia=9301;
ic=49297;
im=233280;
seed = (seed*ia+ic) % im;
return Math.ceil( (seed/(im*1.0)) * num);
}
function Play_Midi(){playing = random(Mcount) - 1;
if (navigator.appName == "Netscape") {
document.write("<embed src=",midis[playing]," hidden=true autostart=true>");
} else {
document.write("<bgsound src=",midis[playing]," loop=1>");
}
}
function Show_Midi()
{
document.write("<font color='#8cd1f1'>Now playing</font> :&nbsp;&nbsp; ",names[playing]);}




