 // Banner-Hintergrund bei Seitenwechsel tauschen

 function banner(classname)
  {
  var a="start";
  var c="";
//var b="<object classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\'  codebase=\'http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0\' id=\'weinwander1\' width=\'1019\' height=\'85\'><param name=\'movie\' value=\'weinwander1.swf\'> <param name=\'quality\' value=\'high\'>  <param name=\'bgcolor\' value=\'#CCFFFF\'>  <embed name=\'weinwander1\' src=\'weinwander1.swf\' quality=\'high\' bgcolor=\'#CCFFFF\' width=\'1019\' height=\'85\' type=\'application/x-shockwave-flash\' pluginspage=\'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\'>  <\/embed><\/object>";
var b="<object classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\'  codebase=\'http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0\' id=\'weinwander2\' width=\'1019\' height=\'85\'><param name=\'movie\' value=\'weinwander2.swf\'> <param name=\'quality\' value=\'high\'>  <param name=\'bgcolor\' value=\'#CCFFFF\'>  <embed name=\'weinwander2\' src=\'weinwander2.swf\' quality=\'high\' bgcolor=\'#CCFFFF\' width=\'1019\' height=\'85\' type=\'application/x-shockwave-flash\' pluginspage=\'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\'>  <\/embed><\/object>";

if (classname != a)
{parent.Banner.document.getElementById("hinterbild").className= classname;
parent.Banner.document.getElementById("hinterbild").innerHTML =c;
}


else  
parent.Banner.document.getElementById("hinterbild").innerHTML =b;

}

// Kartentausch auf Startseite bei onMouseklick

 function zoomkarte(kartclass,zoomclass)
  {
  
window.document.getElementById("zoomkarte").className= zoomclass;
 window.document.getElementById("karte").className= kartclass;
}


// Frameset-Kontrolle im Frameset

function checkFramecall ()
  {
  var Adressanhang=location.search;
  if (Adressanhang)
  frames.Hauptframe.location.href=Adressanhang.substring(1,Adressanhang.length);
  }
  
// Frameset-Kontrolle in Einzelseite von Unterordnern
  
  function checkFrameset ()
  {
var Hoehe, Breite;
Hoehe=screen.height;
Breite=screen.width;
if (Breite>1024)
{
{if (!parent.Inhalt)
  location.href="../index_over1024.htm?"+location.pathname;
  }

}
else
{
{if (!parent.Inhalt)
  location.href="../index.htm?"+location.pathname;
  }
}

}

  
 
    

// Frameset-Kontrolle in Einzelseite im Stamm
  
  function checkFrameset1 ()
  {
var Hoehe, Breite;
Hoehe=screen.height;
Breite=screen.width;
if (Breite>1024)
{
{if (!parent.Inhalt)
  location.href="index_over1024.htm?"+location.pathname;
  }

}
else
{
{if (!parent.Inhalt)
  location.href="index.htm?"+location.pathname;
  }
}

}


/*---------------------------------------------------------------------

// Infobox Möglichkeit - z. Zt. nicht genutzt

function show(id) 
{
if (document.getElementById)
document.getElementById(id).style.visibility="visible";
}

function hide(id) 
{
if (document.getElementById)
document.getElementById(id).style.visibility="hidden";
}



//---------------------------------------------------------------------

// Textebene
// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this header

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
isHot=false;

function ddInit(e){
  topDog=isIE ? "BODY" : "HTML";
  whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer");
  hotDog=isIE ? event.srcElement : e.target;
  while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){
    hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
  }
  if (hotDog.id=="titleBar"){
    offsetx=isIE ? event.clientX : e.clientX;
    offsety=isIE ? event.clientY : e.clientY;
    nowX=parseInt(whichDog.style.left);
    nowY=parseInt(whichDog.style.top);
    ddEnabled=true;
    document.onmousemove=dd;
  }
}

function dd(e){
  if (!ddEnabled) return;
  whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx;
  whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
  return false;
}

function ddN4(whatDog){
  if (!isN4) return;
  N4=eval(whatDog);
  N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
  N4.onmousedown=function(e){
    N4.captureEvents(Event.MOUSEMOVE);
    N4x=e.x;
    N4y=e.y;
  }
  N4.onmousemove=function(e){
    if (isHot){
      N4.moveBy(e.x-N4x,e.y-N4y);
      return false;
    }
  }
  N4.onmouseup=function(){
    N4.releaseEvents(Event.MOUSEMOVE);
  }
}

function hideMe(){
  if (isIE||isNN) whichDog.style.visibility="hidden";
  else if (isN4) document.theLayer.visibility="hide";
}

function showMe(){
  if (isIE||isNN) whichDog.style.visibility="visible";
  else if (isN4) document.theLayer.visibility="show";
}

document.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");

*/





