function na()
{ 
window.name = "haupt";
}



function pano(URL)
		{  
		var infowin =window.open(URL,"pano","width=460,height=420,toolbar=no,resizable=no,scrollbars=no,menubar=no,status=no");
		infowin.focus();
		}
		
function sprache(URL)
		{  
		var infowin =window.open(URL,"sprache","width=420,height=300,toolbar=no,resizable=no,scrollbars=yes,menubar=no,status=no");
		infowin.focus();
		}
		
function druck(URL)
		{  
		var infowin =window.open(URL,"druck","width=600,height=400,toolbar=no,resizable=no,scrollbars=yes,menubar=no,status=no");
		infowin.focus();
		}
		
function preise(URL)
		{  
		var infowin =window.open(URL,"preise","width=300,height=292,toolbar=no,resizable=no,scrollbars=yes,menubar=no,status=no");
		infowin.focus();
		}

function impressum(URL)
		{  
		var infowin =window.open(URL,"impressum","width=200,height=200,toolbar=no,resizable=no,scrollbars=no,menubar=no,status=no");
		infowin.focus();
		}
			
function anfahrt(URL)
		{  
		var infowin =window.open(URL,"anfahrt","width=540,height=550,toolbar=no,resizable=no,scrollbars=yes,menubar=no,status=no");
		infowin.focus();
		}
									
Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
neues_Fenster = null;

function errorTrap() {return true;}
window.onerror = errorTrap;

function Zeigen(Bild0,Titel0,Breite0,Hoehe0)
{
   Bild = Bild0;
   Titel = Titel0;
   Breite = Breite0;
   Hoehe = Hoehe0;
   zu();
   setTimeout("sichtbar()",1000);
}

function sichtbar()
{  
   Fenster_Hoehe = Hoehe + 30;
   Fenster_Breite = Breite + 40;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open('','',Optionen)
   with (neues_Fenster) 
   {
      document.writeln('<HTML><HEAD><TITLE>' + Titel + '</TITLE></HEAD>');
      document.writeln('<BODY BGCOLOR="#A9D799" TEXT="#FFFFFF"><DIV ALIGN=CENTER><TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 VALIGN="MIDDLE"><TR><TD>');
      document.writeln('<IMG SRC="'+Bild+'" WIDTH='+Breite+' HEIGHT='+Hoehe+' BORDER=0 ALT="'+Titel+'"></TD>');
      document.writeln('</TR></TABLE></DIV></BODY></HTML>');
   }
}

function zu()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
        if (neues_Fenster.close)
           neues_Fenster.close(); 
}