/*Warum muss ich die Variablen eigentlich immer außerhalb der Fuktion definieren (sonst Laufzeitfehler)? Werden alle diese Scripte bereits onload ausgeführt?*/

/*Seite immer im vollen Browserfenster anzeigen*/
/*top.frames.length > 1 und nicht >0 wegen innerem Layer bei letzte Aktualisierung-Anzeige*/
function ausbruch ()
{
 if(top.frames.length > 1)
 {
 top.location.href=self.location;
 }
}

/*Ladeanimaiton ausblenden*/
function ladelogoweg ()
{
var ladeanimation;
ladeanimation=document.getElementById("ladelogo").style;
ladeanimation.visibility="hidden";
}

/*Statusleistentext einblenden*/
function statusleiste ()
{
window.defaultStatus="Musée Allemand de l'Epilepsie à Kork   * Premier musée sur l'épilepsie et l'histoire de l'épilepsie au monde *";
}

/*Schlusslayer ab Auflösung 1024x768 einblenden. Diese Funktion wird momentan nicht verwendet */
function abschluss ()
{
var schluss, hoehe;
schluss=document.getElementById("schlussleiste").style;
hoehe=screen.height;
if (hoehe>=768)
  {
  schluss.visibility="visible";
  }
}

/*Bilder in Kopfleiste ein- und ausblenden*/
function einfuehrungein () {window.document.images["deut"].src="logo/deut2.jpg";}
function einfuehrungaus () {window.document.images["deut"].src="logo/deut.jpg";}
function geschichteein () {window.document.images["sches"].src="logo/sches2.jpg";}
function geschichteaus () {window.document.images["sches"].src="logo/sches.jpg";}
function diagnostikein () {window.document.images["epilep"].src="logo/epilep2.jpg";}
function diagnostikaus () {window.document.images["epilep"].src="logo/epilep.jpg";}
function therapieein () {window.document.images["siemu"].src="logo/siemu2.jpg";}
function therapieaus () {window.document.images["siemu"].src="logo/siemu.jpg";}
function kunstein () {window.document.images["seum"].src="logo/seum2.jpg";}
function kunstaus () {window.document.images["seum"].src="logo/seum.jpg";}
function prominenteein () {window.document.images["kork"].src="logo/kork2.jpg";}
function prominenteaus () {window.document.images["kork"].src="logo/kork.jpg";}

/*Rundgangbutton-Hovereffekt*/
function startaktiv () {window.document.images["start"].src="start2.gif";}
function startpassiv () {window.document.images["start"].src="start.gif";}

/*Rundgangweiterbutton-Hovereffekt*/
function rundgang1aktiv () {window.document.images["rundgang1"].src="rundgan2.gif";}
function rundgang2aktiv () {window.document.images["rundgang2"].src="rundgan2.gif";}
function rundgang3aktiv () {window.document.images["rundgang3"].src="rundgan2.gif";}
function rundgang4aktiv () {window.document.images["rundgang4"].src="rundgan2.gif";}
function rundgang5aktiv () {window.document.images["rundgang5"].src="rundgan2.gif";}
function rundgang6aktiv () {window.document.images["rundgang6"].src="rundgan2.gif";}

function rundgang1passiv () {window.document.images["rundgang1"].src="rundgang.gif";}
function rundgang2passiv () {window.document.images["rundgang2"].src="rundgang.gif";}
function rundgang3passiv () {window.document.images["rundgang3"].src="rundgang.gif";}
function rundgang4passiv () {window.document.images["rundgang4"].src="rundgang.gif";}
function rundgang5passiv () {window.document.images["rundgang5"].src="rundgang.gif";}
function rundgang6passiv () {window.document.images["rundgang6"].src="rundgang.gif";}

/*Anfahrtbutton-Hovereffekt*/
function anfahrtaktiv () {window.document.images["anfahrt"].src="../museum/europa2.gif";}
function anfahrtpassiv () {window.document.images["anfahrt"].src="../museum/europa.gif";}


/*Menuleisten ein- und ausblenden*/
var menuleiste1, menuleiste2, menuleiste3, menuleiste4, menuleiste5, menuleiste6, text1, text1b, text1c, text1d,  text2, text2b, text2c, text3, text3b, text3c, text4, text4b, text4c, text4d, text4e, text5, text5b, text6, text6b, untereleiste1, untereleiste2, untereleiste3, untereleiste4, untereleiste5, untereleiste6, win, zaehler;

function vareinlesen ()
{
menuleiste1=document.getElementById("MenuRaum1").style;
menuleiste2=document.getElementById("MenuRaum2").style;
menuleiste3=document.getElementById("MenuRaum3").style;
menuleiste4=document.getElementById("MenuRaum4").style;
menuleiste5=document.getElementById("MenuRaum5").style;
menuleiste6=document.getElementById("MenuRaum6").style;

text1=document.getElementById("abschnitt1").style;
text1b=document.getElementById("abschnitt1b").style;
text1c=document.getElementById("abschnitt1c").style;
text1d=document.getElementById("abschnitt1d").style;
text2=document.getElementById("abschnitt2").style;
text2b=document.getElementById("abschnitt2b").style;
text2c=document.getElementById("abschnitt2c").style;
text2d=document.getElementById("abschnitt2d").style;
text3=document.getElementById("abschnitt3").style;
text3b=document.getElementById("abschnitt3b").style;
text3c=document.getElementById("abschnitt3c").style;
text4=document.getElementById("abschnitt4").style;
text4b=document.getElementById("abschnitt4b").style;
text4c=document.getElementById("abschnitt4c").style;
text4d=document.getElementById("abschnitt4d").style;
text4e=document.getElementById("abschnitt4e").style;
text5=document.getElementById("abschnitt5").style;
text5b=document.getElementById("abschnitt5b").style;
text6=document.getElementById("abschnitt6").style;
text6b=document.getElementById("abschnitt6b").style;

zaehler=document.getElementById("besucherzaehler").style;
datum=document.getElementById("aktualisierung").style;
}

function menu1verstecken () {menuleiste1.visibility="hidden";}
function menu2verstecken () {menuleiste2.visibility="hidden";}
function menu3verstecken () {menuleiste3.visibility="hidden";}
function menu4verstecken () {menuleiste4.visibility="hidden";}
function menu5verstecken () {menuleiste5.visibility="hidden";}
function menu6verstecken () {menuleiste6.visibility="hidden";}

function menu1zeigen () {menuleiste1.visibility="visible";}
function menu2zeigen () {menuleiste2.visibility="visible";}
function menu3zeigen () {menuleiste3.visibility="visible";}
function menu4zeigen () {menuleiste4.visibility="visible";}
function menu5zeigen () {menuleiste5.visibility="visible";}
function menu6zeigen () {menuleiste6.visibility="visible";}

/*scrollen*/
function scrollen (nachrechts,nachunten) {window.scrollBy (nachrechts,nachunten);}

/*in Schlussleiste Besucherzähler ein- und ausblenden*/
function zaehlerein (){zaehler.visibility="visible";}
function zaehleraus () {zaehler.visibility="hidden";}

/* letzte Aktualisierung ein- und ausblenden*/
function datumein (){datum.visibility="visible";}
function datumaus (){datum.visibility="hidden";}

/*Menüfeld Hintergrundfarbe und Schriftfarbe ändern*/
function farbwechsel(farbe,id,schrift)
{
document.getElementById(id).style.backgroundColor=farbe;
document.getElementById(id).style.color=schrift;
}

/*weiter Schriftfarbe und Unterstrich ändern*/
function weiterwechsel(id,schriftfarbe,unterstrich)
{
document.getElementById(id).style.color=schriftfarbe;
document.getElementById(id).style.textDecoration=unterstrich;
}

/*Textlink: Schriftfarbe, Unterstrich und Hintergrund ändern*/
function textlink (id,schriftfarbe,unterstrich,hintergrund)
{
document.getElementById(id).style.color=schriftfarbe;
document.getElementById(id).style.textDecoration=unterstrich;
document.getElementById(id).style.backgroundColor=hintergrund;
}

/*Schriftgroesse und font-weight ändern*/
function schriftart (id,schriftgroesse,gewicht)
{
document.getElementById(id).style.fontSize=schriftgroesse;
document.getElementById(id).style.fontWeight=gewicht;
}

/* Hilfefunktion ausführen*/
function hilfe ()
{win=window.open("hilfe.html","Hilfe","width=723px,height=297px,top=183px,left=47px,scrollbars=no,resizable=yes,dialog=no");}

/*in anderen Raum an richtige Stelle springen*/
function raum11sprung () {window.location.href="einfuehrung.html#text1";}
function raum12sprung () {window.location.href="einfuehrung.html#text2";}
function raum13sprung () {window.location.href="einfuehrung.html#text3";}
function raum14sprung () {window.location.href="einfuehrung.html#text4";}
function raum15sprung () {window.location.href="einfuehrung.html#text5";}
function raum16sprung () {window.location.href="einfuehrung.html#text6";}
function raum1endsprung () {window.location.href="einfuehrung.html#lasttext";}

function raum21sprung () {window.location.href="geschichte.html#text1";}
function raum22sprung () {window.location.href="geschichte.html#text2";}
function raum23sprung () {window.location.href="geschichte.html#text3";}
function raum24sprung () {window.location.href="geschichte.html#text4";}
function raum2endsprung () {window.location.href="geschichte.html#lasttext";}

function raum31sprung () {window.location.href="diagnostik.html#text1";}
function raum32sprung () {window.location.href="diagnostik.html#text2";}
function raum33sprung () {window.location.href="diagnostik.html#text3";}
function raum34sprung () {window.location.href="diagnostik.html#text4";}
function raum3endsprung () {window.location.href="diagnostik.html#lasttext";}

function raum41sprung () {window.location.href="therapie.html#text1";}
function raum42sprung () {window.location.href="therapie.html#text2";}
function raum43sprung () {window.location.href="therapie.html#text3";}
function raum44sprung () {window.location.href="therapie.html#text4";}
function raum4endsprung () {window.location.href="therapie.html#lasttext";}

function raum51sprung () {window.location.href="kunst.html#text1";}
function raum52sprung () {window.location.href="kunst.html#text2";}
function raum53sprung () {window.location.href="kunst.html#text3";}
function raum54sprung () {window.location.href="kunst.html#text4";}
function raum55sprung () {window.location.href="kunst.html#text5";}
function raum56sprung () {window.location.href="kunst.html#text6";}
function raum5endsprung () {window.location.href="kunst.html#lasttext";}

function raum61sprung () {window.location.href="prominente.html#text1";}
function raum62sprung () {window.location.href="prominente.html#text2";}
function raum63sprung () {window.location.href="prominente.html#text3";}

/*neue Datei öffenen (gelbe Leiste)*/
function gaestebuch () {window.location.href="gaestebuch.html";}
/* der Anker text 1steht für deutsch*/
function linx () {window.location.href="links.html#text3";}
function veranstaltungen () {window.location.href="veranstaltungen.html";}
function bibliothek () {window.location.href="bibliothek.html#text3";}
function grusskarte () {window.location.href="grusskarte.html";}
function impressum () {window.location.href="impressum.html";}

function handwerksmuseum ()
{win=window.open("../handwerksmuseum/francais/index.html","handwerk","scrollbars=yes,toolbar=yes,menubar=yes,status=yes,resizable=yes,location=yes");}

/* neue Datei öffnen (grüne Leiste)*/
function wastun () {window.location.href="wastun.html";}
function buchtipps () {window.location.href="buchtipps.html";}
function tagesfund () {window.location.href="tagesfund.html";}
function ueberdasmuseum () {window.location.href="ueberdasmuseum.html";}

/*Einführung: entsprechendes Fenster öffnen*/
function maedchenzeigen ()
{win=window.open("einfuehr/maedchen.html","Exvoto","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function grandmal ()
{win=window.open("einfuehr/grandmal.html","Grandmal","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function bns ()
{win=window.open("einfuehr/bns.html","BNS","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function ursachen ()
{win=window.open("einfuehr/ursachen.html","ursachen","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function pinguine ()
{win=window.open("einfuehr/pinguine.html","pinguine","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function opmedi ()
{win=window.open("einfuehr/opmedi.html","opmeditherapie","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function fische ()
{win=window.open("einfuehr/fische.html","fische","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function vorurteile ()
{win=window.open("einfuehr/vorurteile.html","vorurteil","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function freiheit ()
{win=window.open("einfuehr/freiheit.html","freiheit","width=365px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function kette ()
{win=window.open("einfuehr/kette.html","kette","width=365px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function sowhat ()
{win=window.open("einfuehr/sowhat.html","sowhat","width=365px,height=297px,top=183px,left=49px,scrollbars=no,dialog=no");}
function claude ()
{win=window.open("einfuehr/claude.html","claude","width=605px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}

/*Geschichte der Epileptologie: entsprechendes Fenster öffnen*/
function hippokrates ()
{win=window.open("geschich/hippokrates.html","geschichte1","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function galen ()
{win=window.open("geschich/galen.html","geschichte2","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function tralleis ()
{win=window.open("geschich/tralleis.html","geschichte3","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function avicenna ()
{win=window.open("geschich/avicenna.html","geschichte4","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function mittelalter ()
{win=window.open("geschich/mittelalter.html","geschichte5","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function zeitenwende ()
{win=window.open("geschich/zeitenwende.html","geschichte6","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function paracelsus ()
{win=window.open("geschich/paracelsus.html","geschichte7","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function tissot ()
{win=window.open("geschich/tissot.html","geschichte8","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function jackson ()
{win=window.open("geschich/jackson.html","geschichte9","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function goerlitz ()
{win=window.open("geschich/goerlitz.html","goerlitz","width=746px,height=404px,top=115px,left=24px,scrollbars=no,resizable=yes");}
function tettnang ()
{win=window.open("geschich/tettnang.html","tettnang","width=746px,height=404px,top=115px,left=24px,scrollbars=no,resizable=yes");}
function bethel ()
{win=window.open("geschich/bethel.html","bethel","width=746px,height=404px,top=115px,left=24px,scrollbars=no,resizable=yes,dialog=no");}
function korkschloss ()
{win=window.open("geschich/kork.html","korkschloss","width=723px,height=297px,top=183px,left=47px,scrollbars=no,resizable=yes,dialog=no");}

function t4 ()
{win=window.open("geschich/t4.html","t4","width=613px,height=297px,top=183px,left=156px,scrollbars=no,resizable=yes,dialog=no");}
function grafeneck ()
{win=window.open("geschich/grafeneck.html","grafeneck","width=598px,height=297px,top=183px,left=174px,scrollbars=no,resizable=yes,dialog=no");}
function gekrat ()
{win=window.open("geschich/gekrat.html","gekrat","width=365px,height=297px,top=183px,left=47px,scrollbars=no,resizable=yes,dialog=no");}

/*Diagnostik: entsprechendes Fenster öffnen*/
function disco ()
{win=window.open("diagnostik/disco.html","disco","width=600px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function berger ()
{win=window.open("diagnostik/berger.html","berger","width=722px,height=297px,top=183px,left=48px,scrollbars=no,resizable=yes,dialog=no");}
function eeg ()
{win=window.open("diagnostik/eeg.html","eeg","width=600px,height=297px,top=183px,left=170px,scrollbars=no,resizable=yes,dialog=no");}
function mrt ()
{win=window.open("diagnostik/mrt.html","mrtaufnahme","width=723px,height=297px,top=183px,left=47px,scrollbars=no,resizable=yes,dialog=no");}

/*Therapie: entsprechendes Fenster öffnen*/
function therapievalentin ()
{win=window.open("therapie/valentin.html","valentin","width=638px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function fraisen ()
{win=window.open("therapie/fraisen.html","fraisen","width=643px,height=297px,top=183px,left=129px,scrollbars=no,resizable=yes,dialog=no");}
function paeonie ()
{win=window.open("therapie/paeonie.html","paeonie","width=640px,height=297px,top=183px,left=47px,scrollbars=no,resizable=yes,dialog=no");}
function bibergeil ()
{win=window.open("therapie/bibergeil.html","castoreum","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function schaedel ()
{win=window.open("therapie/schaedel.html","caput","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}
function beifuss ()
{win=window.open("therapie/beifuss.html","artemisia","width=723px,height=297px,top=183px,left=49px,scrollbars=no,resizable=yes,dialog=no");}

/*Kunst: entsprechendes Fenster öffnen*/
function anastasia ()
{win=window.open("kunst/anastasia.html","anastasia","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function antonius ()
{win=window.open("kunst/antonius.html","antonius","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function passau ()
{win=window.open("kunst/passau.html","passau","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function maedchen ()
{win=window.open("kunst/maedchen.html","maedchen","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function majolika ()
{win=window.open("kunst/majolika.html","majolika","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function exvoto1766 ()
{win=window.open("kunst/exvoto1766.html","exvoto1766","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function jestetten ()
{win=window.open("kunst/jestetten.html","jestetten","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function kind ()
{win=window.open("kunst/kind.html","kind","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function perche ()
{win=window.open("kunst/perche.html","perche","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function severin ()
{win=window.open("kunst/severin.html","severin","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function ubald ()
{win=window.open("kunst/ubald.html","ubald","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function valentin ()
{win=window.open("kunst/valentin.html","valentin","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function cyriakus ()
{win=window.open("kunst/cyriakus.html","cyriakus","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function bernhard ()
{win=window.open("kunst/bernhard.html","bernhard","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function krummenau ()
{win=window.open("kunst/krummenau.html","krummenau","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function ducdeberry ()
{win=window.open("kunst/ducdeberry.html","ducdeberry","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function transfiguration ()
{win=window.open("kunst/transfiguration.html","transfiguration","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function hemessen ()
{win=window.open("kunst/hemessen.html","hemessen","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function sicepilepticus ()
{win=window.open("kunst/sicepilepticus.html","sicepilepticus","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function bosch ()
{win=window.open("kunst/bosch.html","bosch","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function vorhang ()
{win=window.open("kunst/vorhang.html","vorhang","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function symbolwelt ()
{win=window.open("kunst/symbolwelt.html","symbolwelt","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function tlazolteotl ()
{win=window.open("kunst/tlazolteotl.html","tlazolteotl","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function yupanqui ()
{win=window.open("kunst/yupanqui.html","yupanqui","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function cerrahi ()
{win=window.open("kunst/cerrahi.html","cerrahi","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function lucilla ()
{win=window.open("kunst/lucilla.html","lucilla","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function fallsucht ()
{win=window.open("kunst/fallsucht.html","fallsucht","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function rothacker ()
{win=window.open("kunst/rothacker.html","rothacker","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function mindforce ()
{win=window.open("kunst/mindforce.html","mindforce","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}

function literaturliste ()
{win=window.open("dataliteraturliste.html","literaturliste","width=723px,height=275px,top=183px,left=49px,scrollbars=yes,resizable=yes,dialog=no");}

/*Prominente: entsprechendes Fenster öffnen*/
function herakles ()
{win=window.open("prominen/herakles.html","promi","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function saul ()
{win=window.open("prominen/saul.html","saul","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function sokrates ()
{win=window.open("prominen/sokrates.html","sokrates","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function alexander ()
{win=window.open("prominen/alexander.html","alexander","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function caesar ()
{win=window.open("prominen/caesar.html","caesar","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function paulus ()
{win=window.open("prominen/paulus.html","paulus","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function jeanne ()
{win=window.open("prominen/jeanne.html","jeanne","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function ludwigii ()
{win=window.open("prominen/ludwigii.html","ludwigii","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function karlv ()
{win=window.open("prominen/karlv.html","karlv","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function richelieu ()
{win=window.open("prominen/richelieu.html","richelieu","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function moliere ()
{win=window.open("prominen/moliere.html","moliere","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function napoleon ()
{win=window.open("prominen/napoleon.html","napoleon","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function erzherzogkarl ()
{win=window.open("prominen/erzherzogkarl.html","erzherzog","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function byron ()
{win=window.open("prominen/byron.html","byron","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function piusix ()
{win=window.open("prominen/piusix.html","piusix","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function burgmueller ()
{win=window.open("prominen/burgmueller.html","burgmueller","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function helmholtz ()
{win=window.open("prominen/helmholtz.html","helmholtz","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function flaubert ()
{win=window.open("prominen/flaubert.html","flaubert","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function dostojewskij ()
{win=window.open("prominen/dostojewskij.html","dostojewskij","width=723px,height=404px,top=115px,left=47px,scrollbars=no,resizable=yes");}
function nobel ()
{win=window.open("prominen/nobel.html","nobel","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function hansjakob ()
{win=window.open("prominen/hansjakob.html","hansjakob","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function vangogh ()
{win=window.open("prominen/vangogh.html","vangogh","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function lenin ()
{win=window.open("prominen/lenin.html","lenin","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function dutschke ()
{win=window.open("prominen/dutschke.html","dutschke","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}
function hemingway ()
{win=window.open("prominen/hemingway.html","hemingway","width=723px,height=359px,top=160px,left=47px,scrollbars=no,resizable=yes");}

/*ersten Text einblenden. Bei Eintritt über Suchmaschine (kein Anker) wird Text 1 gezeigt*/
/*#sitemap1b dient zur Text1b-Anzeige für Sitemap und hat sonst noch keine Funktion*/
var anker;
function erstertext ()
{
 anker=window.location.hash;
 if (anker=="")
  {
  text1.visibility="visible";
  }
 if (anker=="#sitemap1b")
  {
  text1b.visibility="visible";
  }
 if (anker=="#text1")
  {
  text1.visibility="visible";
  }
 if (anker=="#text2")
  {
  text2.visibility="visible";
  }
 if (anker=="#text3")
  {
  text3.visibility="visible";
  }
   if (anker=="#text4")
  {
  text4.visibility="visible";
  }
   if (anker=="#text5")
  {
  text5.visibility="visible";
  }
   if (anker=="#text6")
  {
  text6.visibility="visible";
  }
  if (anker=="#lasttext")
  {
    text6b.visibility="visible";
    //Der letzte Text eines Raumes muss immer unter 6b stehen!
  }
}

/*Texte einblenden*/
function text1zeigen ()
{
text1.visibility="visible";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text1bzeigen ()
{
text1.visibility="hidden";
text1b.visibility="visible";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text1czeigen ()
{
text1visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="visible";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text1dzeigen ()
{
text1visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="visible";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text2zeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="visible";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text2bzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="visible";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text2czeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="visible";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text2dzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="visible";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text3zeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="visible";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text3bzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="visible";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text3czeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="visible";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text4zeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="visible";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text4bzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="visible";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text4czeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="visible";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text4dzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="visible";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text4ezeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="visible";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text5zeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text3.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="visible";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="hidden";
}

function text5bzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="visible";
text6.visibility="hidden";
text6b.visibility="hidden";
}


function text6zeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="visible";
text6b.visibility="hidden";
}

function text6bzeigen ()
{
text1.visibility="hidden";
text1b.visibility="hidden";
text1c.visibility="hidden";
text1d.visibility="hidden";
text2.visibility="hidden";
text2b.visibility="hidden";
text2c.visibility="hidden";
text2d.visibility="hidden";
text3.visibility="hidden";
text3b.visibility="hidden";
text3c.visibility="hidden";
text4.visibility="hidden";
text4b.visibility="hidden";
text4c.visibility="hidden";
text4d.visibility="hidden";
text4e.visibility="hidden";
text5.visibility="hidden";
text5b.visibility="hidden";
text6.visibility="hidden";
text6b.visibility="visible";
}
