// ***********************************************
// FUER ANFRAGEN UND INFORMATIONEN
// WENDEN SIE SICH BITTE DIREKT AN
// DEN WEBMASTER
// DIESES SCRIPT IST NICHT OEFFENTLICH!
// WIR BITTEN UM VERSTAENDNIS, DANKE.
// 


















































//==================================
//CrossBrowser Variablen Initialisierung
//===================================
		
function init(){
        this.ver=navigator.appVersion
        this.dom=document.getElementById?1:0
        this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
        this.ie4=(document.all && !this.dom)?1:0;
        this.ie4mac=this.ie4 && navigator.userAgent.indexOf("Mac")>-1
        this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
        this.ns4=(document.layers && !this.dom)?1:0;
        this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) && !this.ie4mac
        return this
}
bw=new init()


// -----------------------


function showLayer(layername) {
  if (document.all) {
    document.all[layername].style.visibility  = "visible";
    } else if (document.layers) {
         document.layers[layername].visibility = "show";
      } else if (document.getElementById) {
              document.getElementById(layername).style.visibility = "visible";
        }
}


function hideLayer(layername) {
  if (document.all) {
    document.all[layername].style.visibility  = "hidden";
    } else if (document.layers) {
         document.layers[layername].visibility = "hidden";
      } else if (document.getElementById) {
              document.getElementById(layername).style.visibility = "hidden";
        }
}

//rollover ON

function on(wert)
{
akt=document.images['f' + wert].src;
document.images['f' + wert].src= menu[wert].src;

}


//rollover OFF

function off(wert)
{
document.images['f' + wert].src= akt;
}



//Ende rollover






 function onnav(Bild,Dateiname)
 {
  if(document.images)
 {
 Bild.src=eval(Dateiname+".src");
 return true;
 }
 }//Ende der function bild onnav
 
 
 function An(Bild,Dateiname)
 {
  if(document.images)
 {
 if(Bild.src==eval(Dateiname+".src"))
 Bild.src=eval(Dateiname+"_a.src");
 return true;
 }
 }//Ende der function bild an
 
 
 
 //wechselt graues gif in gelbes um
 
  function Aus(Bild,Dateiname)
 {
 if(document.images)
 {
 if (Bild.src==eval(Dateiname+"_a.src"))
 Bild.src=eval(Dateiname+".src");
 }
 }//Ende der function bild an



//function PopUp
  function openWindow(myLink,windowName)

  {

  if(! window.focus)return;

  var myWin=window.open("",windowName,"height=500,width=550,dependent=yes,scrollbars=no");

  myWin.focus();
  myLink.target=windowName;

  }
//function PopUp ende

//function PopUp_KiTa-News
  function openNews(myLink,windowName)

  {

  if(! window.focus)return;

  var myWin=window.open("",windowName,"height=500,width=640,dependent=yes,scrollbars=auto");

  myWin.focus();
  myLink.target=windowName;

  }
//function PopUp_KiTa-News ende

//function PopUp_BIG
  function openBIG(myLink,windowName)

  {

  if(! window.focus)return;

  var myWin=window.open("",windowName,"height=700,width=600,dependent=yes,scrollbars=yes");

  myWin.focus();
  myLink.target=windowName;

  }
//function PopUp_BIG ende