  
function start()	{	
		var theWindow = window.open('start.html','home','menubar=no,scrollbars=no,resizable=yes,width=1000,height=700');
		if (theWindow)	{theWindow.focus();}
}



var soundActive = 1;
function soundSteuerung()
{
	var movie = findeFlash('sound');
	alert(movie);
	
	if (soundActive = 1)
	{
		movie.SetVariable("soundToggle", "3");
		soundActive = 0;
	}
	else
	{
		movie.SetVariable("soundToggle", "1");
		soundActive = 1;
	}

}



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];
	if (movie.SetVariable) {
	  return movie;
	}
  }
  return;
}
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;
}



