var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

// Gestisce tutti i messaggi FSCommand in un filmato Flash
function viewer_bounce_DoFSCommand(command, args) {
	var viewer_bounceObj = isInternetExplorer ? document.all.viewer_bounce : document.viewer_bounce;
	//
	// Inserire il codice qui.
	//
}

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 SendDataToFlashMovie(id)
{
   var flashMovie=getFlashMovieObject("viewer_bounce");
   flashMovie.SetVariable("/:_root.id", id);
	 flashMovie.Rewind() 
}