function openAWindow( pageToLoad, winName, width, height, center)
{
	xposition=0; yposition=0;
	if ((parseInt(navigator.appVersion) >= 4 ) && (center))
	{
		xposition = (screen.width - width) / 2;
		yposition = (screen.height - height) / 2;
	}
	args = "width=" + width + "," 
	+ "height=" + height + "," 
	+ "location=0," 
	+ "menubar=0,"
	+ "resizable=1,"
	+ "scrollbars=1,"
	+ "status=0," 
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + ","  //NN Only
	+ "screeny=" + yposition + ","  //NN Only
	+ "left=" + xposition + ","     //IE Only
	+ "top=" + yposition;           //IE Only

	window.open( pageToLoad,winName,args );
}

  //-- Generate a random number between 0 and max.
function randomNum(max)
{
	var rNum=NaN
	while (isNaN(rNum))
	{
		rNum=Math.floor(Math.random()*(max))
	}
	return rNum
}

var pic = new Array()
pic[0]="images/sunset1.jpg"
pic[1]="images/sunset2.jpg"
pic[2]="images/sunset3.jpg"
pic[3]="images/sunset4.jpg"
pic[4]="images/sunset5.jpg"

<!--Cloak Engaged

///manu=navigator.appName; 		//Browser Name
///vers=navigator.appVersion;		//Browser Version
//MSIE 4.0+
	///if (manu.indexOf ("Microsoft")>=0 && vers.indexOf("4")>=0)
		///{document.write("<bgsound src=music/ChangesInLatitude.mid loop=infinite>")}
//MSIE 3.0+
	///else if (manu.indexOf("Microsoft")>=0 && vers.indexOf("3")>=0)
		///{document.write("<bgsound src=music/ChangesInLatitude.mid loop=infinite>")}
//Netscape 3.0
	///else if (manu.indexOf("Netscape")>=0 && vers.indexOf("3")>=0)
		///{document.write("<embed src=music/ChangesInLatitude.mid hidden=true align=baseline border=0 width=128 height=128 autostart=true autoplay=true>")}
//Other Browser
	///else
		///{alert('Sorry, Your Browser Does not Support This Easy Midi Player')}
//-- Cloak Disengaged -->

///function a(txt)
///{
///	self.status = txt
///}

///function b()
///{
///	self.status = ""
///}
