var flag="nein";



if(document.all){

	flag="ja";

}

else{

	for(i=0; i<navigator.plugins.length;i++){

		if(navigator.plugins[i].name.match("QuickTime Plug-in....")){

			flag="ja";

		}

	}

}

// falls kein Quicktime installiert ist auf MIME-Type überprüfen 

if(flag == "nein"){

	for(i=0; i<navigator.mimeTypes.length; i++){

		if(navigator.mimeTypes[i].type.match("audio/mp3")){

			flag="ja";

		}

	}

}



if (flag == "ja"){



	function stoppen(sounddatei){

		document.getElementById("sound").innerHTML="<embed src="+sounddatei+" loop=false autostart=true mastersound hidden=true height=\"0\" hspace=\"0\"><\/embed>";

	}



	function spielen(sounddatei){

		document.getElementById("sound").innerHTML="<embed src=\""+sounddatei+"\" loop=false autostart=true mastersound hidden=true height=\"0\" hspace=\"0\"><\/embed>";

	}



	function bedeutung(a,b){

		document.getElementById(b).innerHTML=a;

	}



	function leeren(a,b){

		document.getElementById(b).innerHTML=a;

	}



	function loesung(a){

	    fenster=window.open("","fenschterle", 'width=567,height=200,scrollbars=yes');

		fenster.document.write("<head><title>Konjugation englischer Verben</title></head><body bgcolor=#E0CEBA>");

		fenster.document.write(a);

		fenster.document.write("</body></html>");

		fenster.document.close();

		fenster.focus();

	}

}

else{

	location.href="http://www.englisch-lehrbuch.de/helfen/warnung.htm";

}








