mytext = new Array();

	mytext["home"]="	<MAP name=mymap>\n";
	mytext["home"]=mytext["home"]+"		<area shape=\"rect\" coords=\"80,10,320,43\" href=\"ftp://ftp.take2.de/demos/Emergency3_Demo.exe\" target=_blank>\n";
	mytext["home"]=mytext["home"]+"		<area shape=\"rect\" coords=\"40,45,320,77\" href=\"#\" onClick=\"show_win('details')\">\n";
	mytext["home"]=mytext["home"]+"		<area shape=\"rect\" coords=\"10,79,320,111\" href=\"http://www.emergency4.de\" target=_blank>\n";
	mytext["home"]=mytext["home"]+"	</MAP>\n";
	mytext["home"]=mytext["home"]+"	<IMG src=\"gfx/map.gif\" border=0 usemap=#mymap>\n";

	mytext["details"]="<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["details"]=mytext["details"]+"		<TD width=50% valign=top class=textbox>\n";
	mytext["details"]=mytext["details"]+"			<H1>DETAILS</H1>\n";
	mytext["details"]=mytext["details"]+"				<B>Emergency 3 - Der Nachfolger des Strategie-Superhits Emergency 2!<BR>\n";
	mytext["details"]=mytext["details"]+"				<P><A href=\"#\" onClick=\"show_win('missionen')\">20 spannende Missionen</A></P>\n";
	mytext["details"]=mytext["details"]+"				<P><A href=\"#\" onClick=\"show_win('einheiten')\">40 Einheiten</A></P>\n";
	mytext["details"]=mytext["details"]+"				<P><A href=\"#\" onClick=\"show_win('3d')\">Realistische 3D-Grafik</A></P>\n";
	mytext["details"]=mytext["details"]+"				<P><A href=\"#\" onClick=\"show_win('physik')\">Realistische Physikeffekte</A></P>\n";
	mytext["details"]=mytext["details"]+"		</TD>\n";
	mytext["details"]=mytext["details"]+"		<TD width=50% valign=middle align=right style=\"padding-right:10px;\">\n";
	mytext["details"]=mytext["details"]+"			<img src=\"gfx/details_1.jpg\" style=\"filter:blendTrans(Duration=2, Transition=16);\" id=wechselbild name=wechselbild>\n";
	mytext["details"]=mytext["details"]+"		</TD>\n";
	mytext["details"]=mytext["details"]+"	</TR></TABLE>\n";


	mytext["screenshots"]="<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["screenshots"]=mytext["screenshots"]+"		<TD valign=top class=textbox>\n";
	mytext["screenshots"]=mytext["screenshots"]+"			<H1>SCREENSHOTS</H1>\n";
        mytext["screenshots"]=mytext["screenshots"]+"            <a href=\"#\" onClick=\"impPopup2('s1.html',800,620)\"><img src=\"gfx/shot1_kl.jpg\" border=0></A>\n";
        mytext["screenshots"]=mytext["screenshots"]+"            <a href=\"#\" onClick=\"impPopup2('s2.html',800,620)\"><img src=\"gfx/shot2_kl.jpg\" border=0></A>\n";
        mytext["screenshots"]=mytext["screenshots"]+"            <a href=\"#\" onClick=\"impPopup2('s3.html',800,620)\"><img src=\"gfx/shot3_kl.jpg\" border=0></A><BR>\n";
        mytext["screenshots"]=mytext["screenshots"]+"            <a href=\"#\" onClick=\"impPopup2('s4.html',800,620)\"><img src=\"gfx/shot4_kl.jpg\" border=0></A>\n";
        mytext["screenshots"]=mytext["screenshots"]+"            <a href=\"#\" onClick=\"impPopup2('s5.html',800,620)\"><img src=\"gfx/shot5_kl.jpg\" border=0></A>\n";
        mytext["screenshots"]=mytext["screenshots"]+"            <a href=\"#\" onClick=\"impPopup2('s6.html',800,620)\"><img src=\"gfx/shot6_kl.jpg\" border=0></A>\n";

	mytext["screenshots"]=mytext["screenshots"]+"		</TD></TR>\n";
	mytext["screenshots"]=mytext["screenshots"]+"		<TR><TD class=textbox valign=bottom align=right style=\"padding-bottom:5px;\"><A href=\"#\" onClick=\"show_win('screenshots2')\">weiter</A></TD></TR>\n";
	mytext["screenshots"]=mytext["screenshots"]+"	</TR></TABLE>\n";

	mytext["screenshots2"]="<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["screenshots2"]=mytext["screenshots2"]+"		<TD valign=top class=textbox>\n";
	mytext["screenshots2"]=mytext["screenshots2"]+"			<H1>SCREENSHOTS</H1>\n";
        mytext["screenshots2"]=mytext["screenshots2"]+"            <a href=\"#\" onClick=\"impPopup2('s7.html',800,620)\"><img src=\"gfx/shot7_kl.jpg\" border=0></A>\n";
        mytext["screenshots2"]=mytext["screenshots2"]+"            <a href=\"#\" onClick=\"impPopup2('s8.html',800,620)\"><img src=\"gfx/shot8_kl.jpg\" border=0></A>\n";
        mytext["screenshots2"]=mytext["screenshots2"]+"            <a href=\"#\" onClick=\"impPopup2('s9.html',800,620)\"><img src=\"gfx/shot9_kl.jpg\" border=0></A><BR>\n";
        mytext["screenshots2"]=mytext["screenshots2"]+"            <a href=\"#\" onClick=\"impPopup2('s10.html',800,620)\"><img src=\"gfx/shot10_kl.jpg\" border=0></A>\n";
        mytext["screenshots2"]=mytext["screenshots2"]+"            <a href=\"#\" onClick=\"impPopup2('s11.html',800,620)\"><img src=\"gfx/shot11_kl.jpg\" border=0></A>\n";
        mytext["screenshots2"]=mytext["screenshots2"]+"            <a href=\"#\" onClick=\"impPopup2('s12.html',800,620)\"><img src=\"gfx/shot12_kl.jpg\" border=0></A>\n";

	mytext["screenshots2"]=mytext["screenshots2"]+"		</TD></TR>\n";
	mytext["screenshots2"]=mytext["screenshots2"]+"		<TR><TD class=textbox valign=bottom style=\"padding-bottom:5px;\"><A href=\"#\" onClick=\"show_win('screenshots')\">zurück</A></TD></TR>\n";
	mytext["screenshots2"]=mytext["screenshots2"]+"	</TR></TABLE>\n";


	mytext["download"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["download"]=mytext["download"]+"		<TD width=50% valign=top class=textbox>\n";
	mytext["download"]=mytext["download"]+"			<H1>DOWNLOAD</H1>\n";
	mytext["download"]=mytext["download"]+"			<P>Eine Programmaktualisierung (Patch) für Emergency 3 steht zum Download bereit:</P>\n";
	mytext["download"]=mytext["download"]+"			<A href=\"http://www.emergency3.de/faq.html#patch\" target=_blank>Aktualisierte Version 1.03 hier downloaden!</A><P>&nbsp;</P>\n";
	mytext["download"]=mytext["download"]+"			<P>Jetzt kostenlos eine Emergency 3 Mission probespielen!</P><P>Unsere Demo ist kompakt und nur 75 MB groß. Spielen Sie die erste Mission des Spiels zur Probe!</P><P>&nbsp;</P>\n";
	mytext["download"]=mytext["download"]+"			<A href=\"ftp://ftp.take2.de/demos/Emergency3_Demo.exe\" target=_blank>Zum Download der Demo hier klicken!</A>\n";
	mytext["download"]=mytext["download"]+"		</TD>\n";
	mytext["download"]=mytext["download"]+"		<TD width=50% valign=middle align=right style=\"padding-right:10px;\">\n";
	mytext["download"]=mytext["download"]+"			<!--<img src=\"gfx/download_1.jpg\" style=\"filter:blendTrans(Duration=2, Transition=16);\" id=wechselbild name=wechselbild>-->\n";
	mytext["download"]=mytext["download"]+"		</TD>\n";
	mytext["download"]=mytext["download"]+"	</TR></TABLE>\n";

	mytext["support"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["support"]=mytext["support"]+"		<TD width=100% valign=top class=textbox>\n";
	mytext["support"]=mytext["support"]+"			<H1>SUPPORT</H1>\n";
	mytext["support"]=mytext["support"]+"			<P>Eine Programmaktualisierung (Patch) für Emergency 3 steht zum Download bereit:</P>\n";
	mytext["support"]=mytext["support"]+"			<A href=\"http://www.emergency3.de/faq.html#patch\" target=_blank>Aktualisierte Version 1.03 hier downloaden!</A><P>&nbsp;</P>\n";
	mytext["support"]=mytext["support"]+"           Bei technischen Problemen lesen Sie bitte <A href=\"http://www.emergency3.de/faq.html#\" target=_blank> Problembehebung und häufig gestellte Fragen</A><P>&nbsp;</P>\n";
	mytext["support"]=mytext["support"]+"				Fragen zu Emergency3 an:\n";
	mytext["support"]=mytext["support"]+"				<P><A href=\"mailto:support@emergency3.de\">support@emergency3.de</A></P>\n";
	mytext["support"]=mytext["support"]+"		</TD>\n";
	mytext["support"]=mytext["support"]+"	</TR></TABLE>\n";

	mytext["missionen"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["missionen"]=mytext["missionen"]+"		<TD width=50% valign=top class=textbox>\n";
	mytext["missionen"]=mytext["missionen"]+"			<H1>20 spannende Missionen</H1>\n";
	mytext["missionen"]=mytext["missionen"]+"			In 20 spannenden Einsätzen warten illegale Straßenrennen, Bombenattentate, Lawinenunglücke und Industriebrände auf Sie. Jeder Einsatz wird mit einem erstklassig gemachten Einführungsvideo gestartet. Und wenn Ihnen die 20 Einsätze nicht genug sind, können Sie mit dem mitgelieferten Szenario-Editor eigene Einsätze erstellen und an andere Spieler weitergeben! Oder Sie spielen den Freeplay-Modus, in dem eine schier unendliche Zahl neuer Herausforderungen auf Sie warten.\n";
	mytext["missionen"]=mytext["missionen"]+"		</TD>\n";
	mytext["missionen"]=mytext["missionen"]+"		<TD width=50% valign=middle align=right style=\"padding-right:10px;\" rowspan=2>\n";
	mytext["missionen"]=mytext["missionen"]+"			<img src=\"gfx/missionen_1.jpg\" style=\"filter:blendTrans(Duration=2, Transition=16);\" id=wechselbild name=wechselbild>\n";
	mytext["missionen"]=mytext["missionen"]+"		</TD>\n";
	mytext["missionen"]=mytext["missionen"]+"	</TR><TR>\n";
	mytext["missionen"]=mytext["missionen"]+"		<TD valign=bottom class=textbox><A href=\"#\" onClick=\"show_win('details')\">zurück</A></TD>\n";
	mytext["missionen"]=mytext["missionen"]+"	</TR></TABLE>\n";

	mytext["einheiten"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["einheiten"]=mytext["einheiten"]+"		<TD width=50% valign=top class=textbox>\n";
	mytext["einheiten"]=mytext["einheiten"]+"			<H1>40 Einheiten</H1>\n";
	mytext["einheiten"]=mytext["einheiten"]+"			<P>Setzen Sie vierzig Einheiten aus den Bereichen Feuerwehr, Polizei und Rettungsdienst ein. Erstmals dabei: THW-Einheiten mit Ingenieuren und schwerem Räumgerät!</P>\n";
	mytext["einheiten"]=mytext["einheiten"]+"			<P>Viele neue Rettungseinheiten stehen bereit für Ihr Kommando: Lassen Sie den Grund von Flüssen und Seen mit Rettungstauchern absuchen und Lawinenhunde nach verschütteten suchen!</P>\n";
	mytext["einheiten"]=mytext["einheiten"]+"		</TD>\n";
	mytext["einheiten"]=mytext["einheiten"]+"		<TD width=50% valign=middle align=right style=\"padding-right:10px;\" rowspan=2>\n";
	mytext["einheiten"]=mytext["einheiten"]+"			<img src=\"gfx/einheiten_1.jpg\" style=\"filter:blendTrans(Duration=2, Transition=16);\" id=wechselbild name=wechselbild>\n";
	mytext["einheiten"]=mytext["einheiten"]+"		</TD>\n";
	mytext["einheiten"]=mytext["einheiten"]+"	</TR><TR>\n";
	mytext["einheiten"]=mytext["einheiten"]+"		<TD valign=bottom class=textbox><A href=\"#\" onClick=\"show_win('details')\">zurück</A></TD>\n";
	mytext["einheiten"]=mytext["einheiten"]+"	</TR></TABLE>\n";

	mytext["3d"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["3d"]=mytext["3d"]+"		<TD width=50% valign=top class=textbox>\n";
	mytext["3d"]=mytext["3d"]+"			<H1>Realistische 3D-Grafik</H1>\n";
	mytext["3d"]=mytext["3d"]+"			Der dritte Teil der erfolgreichen Emergency-Reihe ist in frei dreh- und zoombarer 3D-Grafik zu spielen - ein echter Gewinn an Spielspaß. Neben realistischen Licht- Schatten- und Wettereffekten und fließenden Tag-Nachtwechseln warten zahlreiche Animationen und viele Details auf Sie. \n";
	mytext["3d"]=mytext["3d"]+"		</TD>\n";
	mytext["3d"]=mytext["3d"]+"		<TD width=50% valign=middle align=right style=\"padding-right:10px;\" rowspan=2>\n";
	mytext["3d"]=mytext["3d"]+"			<img src=\"gfx/3d_1.jpg\" style=\"filter:blendTrans(Duration=2, Transition=16);\" id=wechselbild name=wechselbild>\n";
	mytext["3d"]=mytext["3d"]+"		</TD>\n";
	mytext["3d"]=mytext["3d"]+"	</TR><TR>\n";
	mytext["3d"]=mytext["3d"]+"		<TD valign=bottom class=textbox><A href=\"#\" onClick=\"show_win('details')\">zurück</A></TD>\n";
	mytext["3d"]=mytext["3d"]+"	</TR></TABLE>\n";

	mytext["physik"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["physik"]=mytext["physik"]+"		<TD width=50% valign=top class=textbox>\n";
	mytext["physik"]=mytext["physik"]+"			<H1>Realistische Physikeffekte</H1>\n";
	mytext["physik"]=mytext["physik"]+"			Die realistische Physiksimulation sorgt für Spannung und Abwechslung: Gebäude stürzen spektakulär ein, Trümmer können hyperrealistisch mit schwerem Gerät geräumt werden, um die darunter liegenden Verletzten zu retten - machen Sie keinen Fehler, sonst wird der Trümmerberg ganz realistisch zusammenfallen und die Rettung vielleicht unmöglich machen.\n";
	mytext["physik"]=mytext["physik"]+"		</TD>\n";
	mytext["physik"]=mytext["physik"]+"		<TD width=50% valign=middle align=right style=\"padding-right:10px;\" rowspan=2>\n";
	mytext["physik"]=mytext["physik"]+"			<img src=\"gfx/physik_1.jpg\" style=\"filter:blendTrans(Duration=2, Transition=16);\" id=wechselbild name=wechselbild>\n";
	mytext["physik"]=mytext["physik"]+"		</TD>\n";
	mytext["physik"]=mytext["physik"]+"	</TR><TR>\n";
	mytext["physik"]=mytext["physik"]+"		<TD valign=bottom class=textbox><A href=\"#\" onClick=\"show_win('details')\">zurück</A></TD>\n";
	mytext["physik"]=mytext["physik"]+"	</TR></TABLE>\n";

	mytext["impressum"]="	<TABLE cellspacing=0 cellpadding=5 border=0 width=100% height=100%><TR>\n";
	mytext["impressum"]=mytext["impressum"]+"		<TD width=100% valign=top class=textbox>\n";
	mytext["impressum"]=mytext["impressum"]+"			<H1>IMPRESSUM</H1>\n";
	mytext["impressum"]=mytext["impressum"]+"			<iframe src=\"impressum_i.html\" width=450px height=200px frameborder=0>\n";
	mytext["impressum"]=mytext["impressum"]+"			</iframe>\n";
	mytext["impressum"]=mytext["impressum"]+"		</TD>\n";
	mytext["impressum"]=mytext["impressum"]+"	</TR></TABLE>\n";



show_pic = new Array();
show_pic["home"]=0;
show_pic["details"]=4;
show_pic["screenshots"]=0;
show_pic["screenshots2"]=0;
show_pic["download"]=0;
show_pic["support"]=0;
show_pic["einheiten"]=4;
show_pic["missionen"]=4;
show_pic["3d"]=4;
show_pic["physik"]=4;
show_pic["impressum"]=0;


function zeige(my_name) {
	text="document."+my_name+".src='gfx/"+my_name+"a.gif'";
	eval(text);
}

function verst(my_name) {
	text="document."+my_name+".src='gfx/"+my_name+".gif'";
	eval(text);
}

aktani=1;
var aktiv=0;

function Bildwechsel() {
	if (navigator.appName.indexOf("Explorer")>=0) {
		aktani=aktani+1;
		if (aktani>maxani) aktani=1;
		alle=document.getElementById("wechselbild");
		alle.filters.blendTrans.Apply();
		alle.src = "gfx/"+dateiname+"_"+aktani+".jpg";
		alle.filters.blendTrans.Play();
	} else {
		aktani=aktani+1;
		if (aktani>maxani) aktani=1;
		document.wechselbild.src = "gfx/"+dateiname+"_"+aktani+".jpg";
	}
}

function impPopup2(datei,w,h) {
	// Popups für Screenshots
	smsWindow = window.open(datei, "Screenshots", "scrollbars=no,toolbar=no,menubar=no,width=" + w + ",height=" + h);
	smsWindow.focus();
}


function show_win(elem) {
	window.clearInterval(aktiv);
	document.getElementById("textbox").style.visibility="hidden";
	document.getElementById("textbox").style.width=466;
	document.getElementById("textbox").style.height=244;
	document.getElementById("textbox").style.left=370;
	document.getElementById("textbox").style.top=-280;
	document.getElementById("textbox").style.backgroundImage="url('gfx/fenster.gif')";
	
	if (elem=="home") {
		document.getElementById("textbox").style.left=533;
		document.getElementById("textbox").style.top=-240;
		document.getElementById("textbox").style.backgroundImage="";
	}
	
	text="mytext[\""+elem+"\"]";
	document.getElementById("textbox").innerHTML=eval(text);
	document.getElementById("textbox").style.visibility="visible";
	text="show_pic[\""+elem+"\"]";
	if (eval(text)>0) {
		maxani=eval(text);
		dateiname=elem;		
		aktiv = window.setInterval("Bildwechsel();",5000);
	}
}
		