// JavaScript Document
    home0 = new Image(70,25);
    home0.src = "images/nav/btn_home_n.png";
    home1 = new Image(70,25);
    home1.src = "images/nav/btn_home_h.png";
    gruppen0 = new Image(70,25);
    gruppen0.src = "images/nav/btn_gruppen_n.png";
    gruppen1 = new Image(70,25);
    gruppen1.src = "images/nav/btn_gruppen_h.png";
    bilder0 = new Image(70,25);
    bilder0.src = "images/nav/btn_bilder_n.png";
    bilder1 = new Image(70,25);
    bilder1.src = "images/nav/btn_bilder_h.png";
    mas0 = new Image(70,25);
    mas0.src = "images/nav/btn_mas_n.png";
    mas1 = new Image(70,25);
    mas1.src = "images/nav/btn_mas_h.png";
    freizeiten0 = new Image(70,25);
    freizeiten0.src = "images/nav/btn_freizeiten_n.png";
    freizeiten1 = new Image(70,25);
    freizeiten1.src = "images/nav/btn_freizeiten_h.png";
	termine0 = new Image(70,25);
    termine0.src = "images/nav/btn_termine_n.png";
    termine1 = new Image(70,25);
    termine1.src = "images/nav/btn_termine_h.png";
	verleih0 = new Image(70,25);
    verleih0.src = "images/nav/btn_verleih_n.png";
    verleih1 = new Image(70,25);
    verleih1.src = "images/nav/btn_verleih_h.png";
	fverein0 = new Image(70,25);
    fverein0.src = "images/nav/btn_fverein_n.png";
    fverein1 = new Image(70,25);
    fverein1.src = "images/nav/btn_fverein_h.png";
	gb0 = new Image(70,25);
    gb0.src = "images/nav/btn_gb_n.png";
    gb1 = new Image(70,25);
    gb1.src = "images/nav/btn_gb_h.png";
	kontakt0 = new Image(70,25);
    kontakt0.src = "images/nav/btn_kontakt_n.png";
    kontakt1 = new Image(70,25);
    kontakt1.src = "images/nav/btn_kontakt_h.png";
	links0 = new Image(70,25);
    links0.src = "images/nav/btn_links_n.png";
    links1 = new Image(70,25);
    links1.src = "images/nav/btn_links_h.png";

    nt = new Image(40,25);
    nt.src = "images/nav/btn_t.png";
    htl = new Image(40,25);
    htl.src = "images/nav/btn_tl.png";
    htr = new Image(40,25);
    htr.src = "images/nav/btn_tr.png";


  function changeImage(inImage,inObject,io)  {
    if (document.images) {
      document.images['pict' + inImage].src = inObject.src;
	  if (io == 1 ) {
	  	  document.images['pict' + (inImage-1)].src = htl.src;
		  document.images['pict' + (inImage+1)].src = htr.src;
	  }
	  if (io==0) {
		  document.images['pict' + (inImage-1)].src = nt.src;
		  document.images['pict' + (inImage+1)].src = nt.src;
      }
    }
  }

  //iFrame anpassen (Cookie mit Auflösung)
  function setcookie(x,y)
  {
	document.cookie =  "Resolution=" + x + 'x' + y  ;
   //alert(x + 'x' + y);
  }


// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 375

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,resizable=yes,width=150,height=100,left='+PositionX+',top='+PositionY;


function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();
}}
