/*************************************************
 *                                               *
 * COPYRIGHT (C) 2005 DLF Sp z o.o. DELFNET      *
 *                                               *
 * www.delfnet.pl                                *
 *                                               *
 ************************************************/
 
function goFlashById(f_id) {
	 movie = eval(window.document[f_id]);
	 if (movie)
  {
		if (movie.PercentLoaded())
    {
      if (movie.PercentLoaded()==100)
      {
        movie.Play();
      }
      else
      {
  	   // alert("movie is still loading, try again soon");
  	  }
  	}
  	else
  	{
	  //alert("movie object found-but unable to send command");  	
  	}
  }
  else
  {
    //alert("movie object not found");
  }
}
/**
 *Utawianie zmiennych we flashu z innego flasha
 *Testowane: IE6, Firefox 1.4
 *UWAGA: <object>  miec argument id taki jak <embed> name i <emebd swLiveConnect="true">
 */
function setFlashVarById(f_id,var_name,var_value) {
   movie = eval(window.document[f_id]);
   movie.SetVariable(var_name, var_value);
}