function findeFlash (flash) {
    if (document.all) {
      if (document.all[flash]) {
        return document.all[flash];
      }
      if (window.opera) {
        var movie = eval(window.document + flash);
        if (movie.SetVariable) {
          return movie;
        }
      }
      return;
    }
	if(document.layers) {
		if(document.embeds) {
			var movie = document.embeds[flash];
			alert("smex");
			if (movie.loadMovie) {
			return movie;
			}
		}
	}
    if (!document.getElementById) {
      return;
    }

    var movie = document.getElementById(flash);
    if (movie.SetVariable) {
      return movie;
    }
    var movies = movie.getElementsByTagName('embed');
    if (!movies || !movies.length) {
      return;
    }
    movie = movies[0];
    if (movie.SetVariable) {
      return movie;
    }

    return;
  }