
// Globale Javascript-Funktionen

   var myscreenheight = 580;
   if (screen.width<=800)  {         myscreenheight = 580;      }
    else if (screen.width<=1024)  {   myscreenheight = 760;     }
     else if (screen.width<=1280)  {   myscreenheight = 900;    }
        else if (screen.width<=1680)  {   myscreenheight = 1000;    }
          else {                            myscreenheight = 580;   }


  function divSetcolor(divid, farbe)
    {
      document.getElementById(divid).style.background=farbe;
    } // END FUNCTION


  function div_einblenden(divid)  { document.getElementById(divid).style.display='block';  }
  function div_ausblenden(divid)  {  document.getElementById(divid).style.display='none';  }




   function WechselnZuOrt(ort)
     {
        document.f_start.AKTORT.value=ort;
        document.f_start.action='start.php?thumbs';
        document.f_start.submit();
     } // END FUNCTION

   function WechselnZuOrtKategorie(ort, kategorie)
     {
        document.f_start.AKTORT.value=ort;
        document.f_start.action='../'+kategorie+'/start.php?thumbs';
        document.f_start.submit();
     } // END FUNCTION

   function Bildzeigen(bildid)
     {
        document.f_start.AKTBILD.value=bildid;
        document.f_start.action='start.php?bildzeigen';
        document.f_start.submit();
     } // END FUNCTION

   function BildzeigenKategorie(bildid, kategorie)
     {
        document.f_start.AKTBILD.value=bildid;
        document.f_start.action='../'+kategorie+'/start.php?bildzeigen';
        document.f_start.submit();
     } // END FUNCTION

   function FensterAuf(identif, ort)
     {
       F1 = window.open('bildzeigen.php?AKTBILD='+identif+'&kat=dbsa', 'bildz', 'width=900,height='+myscreenheight+',top=10,left=10,scrollbars=yes,resizable=yes');
       F1.focus();
       document.location.href = 'start.php?thumbs&AKTORT='+ort;
     } // END FUNCTION




 function Videoshow(kategorie, video)
   {
      verz='';
      if (kategorie != '')  verz = '?kategorie='+kategorie;
      if (video != '')      verz = '?video='+video;

      F111=window.open('http://www.radiosaw.de/videoshow.php'+verz,'_videoshow','width=960,height=750,resizable=yes,top=15,left=5,scrollbars=yes');
      F111.focus();
   } // END FUNCTION





<!--  Funktionen für die Slideshows  //-->
 function Slideshow(verz)
   {
      if (verz=='')
        { alert('Kein Verzeichnis angegeben!');  }
      else
        {
          F11=window.open('http://www.radiosaw.de/slide_index.php?'+verz,'_slideshow','width=1010,height=750,resizable=yes,top=15,left=3');
          F11.focus();
        }  // END IF
   } // END FUNCTION

 function Slideshowdirekt(verz, picnr)
   {
      if (verz=='')
        { alert('Kein Verzeichnis angegeben!');  }
      else
        {
          F11=window.open('http://www.radiosaw.de/slide_index.php?'+verz+'&picnr='+picnr,'_slideshow','width=1010,height=750,resizable=yes,top=15,left=3');
          F11.focus();
        }  // END IF
   } // END FUNCTION



  function sess_logout()
    {
          document.f_start.commgo.value='Logout';
//          document.f_start.action='start.php?login';
          document.f_start.target='_self';
          document.f_start.submit();
    } // END FUNCTION





