var song;
var topnav;
var carousel;
song = window.top.frames[1].document.getElementById("song");
topnav = document.getElementById("topnav");
carousel = document.getElementById("carousel");
function topnav_DoFSCommand(command, args) {	if (command == "playSong") {		song.GotoFrame(0);		song.Play();	}	else{		song.GotoFrame(1); 		song.Play();	}}

function preview_DoFSCommand(command, args) {	if (command == "stopSong") {		song.GotoFrame(1); 		song.Play();
		topnav.TGotoFrame('/equalizer', 0);
		topnav.TStopPlay('/equalizer');	}}

setTimeout('testMusic()', 1000);
function testMusic(){
	if (song.TCurrentFrame('/') == 1){
		topnav.TGotoFrame('/equalizer', 1);
		topnav.TPlay('/equalizer');
	}
}

function playSong() {	song.GotoFrame(0);	song.Play();}

function stopSong() {
	song.GotoFrame(1); 	song.Play();
	topnav.TGotoFrame('/equalizer', 0);
	topnav.TStopPlay('/equalizer');
}