//exemplo
function ReceiveDataFromFlashMovie()
{
	var flashMovie=getFlashMovieObject("myFlashMovie");
	var message=flashMovie.GetVariable("/:message");
	document.controller.Data.value=message;
}
//exemplo
function SendDataToFlashMovie()
{
	var flashMovie=getFlashMovieObject("myFlashMovie");
	flashMovie.SetVariable("/:message", document.controller.Data.value);
}



var movieName="planta"

function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

function RewindFlashMovie(movieName)
{
	var flashMovie=getFlashMovieObject(movieName);
	flashMovie.Rewind();
}

function sendData(myValor,myPiso,myQuiosque) {
	
	//RewindFlashMovie(movieName)
		
	var movie = getFlashMovieObject(movieName);
	
	movie.SetVariable("id",myValor)
	movie.SetVariable("piso",myPiso)
	//movie.SetVariable("q",myQuiosque)
	movie.SetVariable("newVal","true")
}

/*
function redirect(ID)
{
	UC_QuiosqueLojas_RowMenu.style.display="none"
	UC_QuiosqueLojas_RowFichaLoja.style.display=""

    var ajaxManager = UC_QuiosqueLojas_RadAjaxManager1;
    ajaxManager.AjaxRequest(ID);
}
*/