     function checkframeset() {
              if(!parent.Content)
                              location.href="index.html";
              status='MFG Sambucca';
              return true;
              }

     function checkframesett() {
              if(!parent.Content)
                              location.href="../../index.html";
              status='MFG Sambucca';
              return true;
              }

     function footer() {
              var t = new Date(document.lastModified);
                if (navigator.appName == "Netscape") document.write((t.getMonth()+1)+"/"+(t.getYear()-100+2000));
                if (navigator.appName == "Microsoft Internet Explorer") document.write((t.getMonth()+1)+"/"+t.getYear());
              }

     function impressum() {
              var t = new Date(document.lastModified);
              var M = (t.getMonth()+1);
                if (M=="1") Monat="Januar";
                if (M=="2") Monat="Februar";
                if (M=="3") Monat="März";
                if (M=="4") Monat="April";
                if (M=="5") Monat="Mai";
                if (M=="6") Monat="Juni";
                if (M=="7") Monat="Juli";
                if (M=="8") Monat="August";
                if (M=="9") Monat="September";
                if (M=="10") Monat="Oktober";
                if (M=="11") Monat="November";
                if (M=="12") Monat="Dezember";
                if (navigator.appName == "Netscape") document.write(Monat+" "+(t.getYear()-100+2000));
                if (navigator.appName == "Microsoft Internet Explorer") document.write(Monat+" "+t.getYear());
              }

     var version = 0;
     function preloadimages()
     	     {
	     if (document.images)
	     	{
		menu_termin_h = new Image(); menu_termin_h.src = "images/menu_termin_h.jpg";
		menu_tour_h = new Image(); menu_tour_h.src = "images/menu_tour_h.jpg";
		menu_foto_h = new Image(); menu_foto_h.src = "images/menu_foto_h.jpg";
		menu_link_h = new Image(); menu_link_h.src = "images/menu_link_h.jpg";
		menu_gaeste_h = new Image(); menu_gaeste_h.src = "images/menu_gaeste_h.jpg";
 		menu_tipp_h = new Image(); menu_tipp_h.src = "images/menu_tipp_h.jpg";
		menu_wir_h = new Image(); menu_wir_h.src = "images/menu_wir_h.jpg";
		menu_planung_h = new Image(); menu_planung_h.src = "images/menu_planung_h.jpg";
		menu_fun_h = new Image(); menu_fun_h.src = "images/menu_fun_h.jpg";
		menu_unterkuenfte_h = new Image(); menu_unterkuenfte_h.src = "images/menu_unterkuenfte_h.jpg";
	     	version = true;
	     	}
	     }

     function grafikhigh(imgname)
     	     {
	     if (version)
	     	{
	     	document[imgname].src = eval(imgname + "_h.src");
		}
	     }

     function grafiklow(imgname)
     	     {
	     if (version)
		{
		document[imgname].src = "images/"+imgname+".jpg";
		}
	     }

     function dogalery(imgName)
     	    {
	    imgOn = (imgName);
	    document.maingalery.src = imgOn;
	    }


     function Wechsel()
	     {
              Foto.src = list.options[list.selectedIndex].value;
              }

     function VorherigesFoto()
     	     {
              if(list.selectedIndex == 0){
              	list.selectedIndex = list1.options.length-1;}
              else {
              	list.selectedIndex--;}
              Wechsel();
              }

	function NaechstesFoto()
              {
              if(list.selectedIndex == list.options.length-1){
              	list.selectedIndex = 0;}
              else {
               	list.selectedIndex++;}
              Wechsel();}