<!--
/*globale Variable zum Merken, ob Shop bereits geöffnet war;
 bezieht sich nur auf das aufrufende Dokument und nicht den Browser*/
 
if (! shop_offen) {var shop_offen = false};

/* Bildwechsel für Mouseover-Effekt */

function Bildwechsel (BildNr, NeuesBild) {
  window.document.images[BildNr].src=NeuesBild.src;
}

/* reloads the window if Nav4 resized 

function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) history.go(0);
}
MM_reloadPage(true);*/


/* Öfnnen des Online-Shops in separatem Fenster,  nach Abfrage, ob Fenster shon offen*/

function onlineshop(){

/*	var seite = "http://shop3.webmailer.de/cgi-bin/ePages.storefront/DE/Catalog/36083";*/
	var seite = "../seiten/shop.html";
	
	if(shop_offen == false){
	shop_offen = true;
	shop = window.open(seite, "shop" , "resizable,scrollbars,height=540,width=700");}
	else if(shop.closed == true){
		shop = window.open(seite, "shop" , "resizable,scrollbars,height=540,width=700");
	}
	
	shop.focus();
	
}

/* Öffnen des Lageplans*/

function openplan(){
	
	plan = window.open("../seiten/plan.html", "plan" , "height=400,width=400");
	plan.focus();
	
}

function opengalerie(bilder){
	
	style = '"titlebar=no,toolbar=no,status=no,resizable=no,scrollbars=no,menubar=no,height=550 ,width=650"';
	
	bild = window.open(bilder,"bild", style);
	bild.focus();
}

function openveranstaltung(){
	
	style = '"titlebar=no,toolbar=no,status=no,resizable=no,scrollbars,menubar=no,height=550 ,width=650"';
	
	plan=window.open("../seiten/veranstaltungen.html", "plan", style);
	plan.focus();
}

function openkritik(kritikseite){
	
	style='"titlebar=yes,toolbar=yes,status=yes,resizable=yes,scrollbars=yes,menubar=yes,height=450 ,width=760"';
	
	kritik=window.open(kritikseite, "kritik", style);
	kritik.focus();
}

function openbrowser(browserfenster){
	
	style='"locationbar,menubar,toolbar,resizable,scrollbars,titlebar,status,height=500,width=750"';
	
	win2=window.open(browserfenster, "win2", style);
	win2.focus();
}
//-->
