var flash;
		
window.onload = function() {
	if(navigator.appName.indexOf("Microsoft") != -1) {
		flash = window.flashObject;
	}else {
		flash = window.document.flashObject
	}
	
	setTimeout("SetSounds()", 1000);
			
	
}

function SetSounds()
{
	flash.setNumberOfSound(40);
}

/*
window.moveTo(0,0);
	if (document.all) { // IE
	window.resizeTo(screen.availWidth,screen.availHeight);
	} else { // NETSCAPE
	window.outerHeight = screen.availHeight;
	window.outerWidth = screen.availWidth;
	}
window.focus();
*/
		
function displayFlashInfo() {
	var flashInfo = flash.getFlashInfo();			
	for(var key in flashInfo) {
			flashForm.flashInfoDisplay.value += key + ": " + flashInfo[key] + "\n";
	}
}
		
function PlaySong(song) {	
	flash.playSong(song);			
}

function MusicPlayer(output)
{
		flash.musicPlayer(output);
}
		
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

		
		


