function onTrackListHide(){
//    alert("  command onTrackListHide");
    document.getElementById('flashcontent').style.zIndex = 111;
    document.getElementById('musicPlayer').style.zIndex = 110;
    
}

function onTrackListShow(){
//    alert(" command onTrackListShow");
    document.getElementById('flashcontent').style.zIndex = 110;
    document.getElementById('musicPlayer').style.zIndex = 111;
}

function callFromMusicPlayer(command)
{
	var command4player = "";
	if (command == "cmd_stop_ext_music") {
		command4player = "stopmusic";
	}
	else if (command == "cmd_play_ext_music") {
		command4player = "playmusic";
	}
	else if (command == "cmd_pause_ext_music") {
		command4player = "pausemusic";
	}
	else if (command == "cmd_resume_ext_music") {
		command4player = "resumemusic";
	}
	else {
		alert(" Error not correct command " + command);
		return;
	}
		
	var musicPlayer = thisMovie("aloft_player");
	musicPlayer[command4player]();
//	alert("musicPlayer = " + musicPlayer + " command " + command + " command4player " + command4player);
}



 function thisMovie(movieName) {
     if (navigator.appName.indexOf("Microsoft") != -1) {
         return window[movieName];
     } else {
         return document[movieName];
     }
 }