function BannerMusica(sEffect)
{
	switch (sEffect)
	{
		case "fadeIn":
			$('#music').fadeIn(500, function(){$('#music_text').slideDown(300)});
			//$('#music_text').fadeIn(900);
			$('#nota').fadeOut(500);
			break;
			
		case "fadeOut":
			$('#music_text').fadeOut(500, function(){$('#music').fadeOut(300);$('#nota').fadeIn(300);});
			//$('#nota').fadeIn(300);
			break;
	}
}

function Slogan(sEffect)
{
	switch (sEffect)
	{
		case "slideDown":
			$('#right').slideDown(300, function(){$('#testo_slogan').fadeIn(900);});
			break;
			
		case "slideUp":
			//$('#right').slideUp(300, function(){$('#testo_slogan').fadeOut(900);});
			$('#testo_slogan').fadeOut(300, function(){$('#right').fadeOut(300)});
			break;
	}
}

function MusicAction()
{
	soundManager.togglePause('mySound' + iCurrentSound) ;
	if (Magaletti.currentAudioStatus == 'off')
	{
		Magaletti.currentAudioStatus = "on" ;
		$('#nota').html("") ;
		$('#nota').html('<img src="background/on.gif" width="18" height="24" />') ;
	}
	else
	{
		Magaletti.currentAudioStatus = "off" ;
		$('#nota').html("") ;
		$('#nota').html('<img src="background/off.gif" width="18" height="24" />') ;
	}
}

function MenuRequest(domElement, id)
{
	$(domElement.parentNode).height(100) ;
	$('.innerContainer',domElement.parentNode).show('slow') ;
	//animate({height: 'toggle', opacity: 'toggle'}, { duration: "slow" } ) ;
}