<!--
onerror = unterdruecken;
function unterdruecken()
{
return true;
}

function preloadImg(strImagenames)
{
  var strPfad = "../bilder/";
  var arrImagenames = strImagenames.split(",");
  var arrImgObj = new Array();
  for(var i=0; i < arrImagenames.length; i++)
  {
    arrImgObj[i] = new Image();
    arrImgObj[i].src = strPfad + arrImagenames[i] + ".jpg";
    arrImgObj[i + arrImagenames.length] = new Image();
    arrImgObj[i + arrImagenames.length].src = strPfad + arrImagenames[i] + "1.jpg";
    //alert("Lade momentan\n\n"+arrImgObj[i].src +"\n"+arrImgObj[i + arrImagenames.length].src); /*zum Testen Kommentar entfernen*/
  }
}
preloadImg("home,wir,news,info,angebot,arten,berichte,fotos,links,kontakt");

var PopupFenster='null'

function OpenFensterNeu(url,breite,hoehe)
{
	PopupFenster=window.focus();
	PopupFenster=window.open("","Foto","height="+hoehe+",width="+breite+",toolbar=no,scrollbars=no,menubar=no,resizable=yes,status=no,top=30,left=30");
	PopupFenster.document.open("text/html");
	PopupFenster.document.write ("<html><head><title>Fotos von www.bodden-angeln.de");
	PopupFenster.document.write ("</title></head>");
    PopupFenster.document.write ("<body bgcolor='#333399' leftmargin='0' topmargin='0' marginheight='0' marginwidth='0' onload='self.focus()'");
	PopupFenster.document.write ("<table border='0' cellpadding='0' cellspacing='0' align='center'><tr>");
	PopupFenster.document.write ("<td align='center' valign='top'>");
	PopupFenster.document.write ("<table border='0' bgcolor='#000000' cellpadding='0' cellspacing='0'><tr><td align='center'>");
	PopupFenster.document.write ("<img src=");
	PopupFenster.document.write (url);
	PopupFenster.document.write (">");
	PopupFenster.document.write ("</tr></table>");
	PopupFenster.document.write ("</td></tr><tr></table>");
	PopupFenster.document.write ("</body></html>");
	PopupFenster.document.close();
    PopupFenster.resizeTo(breite,hoehe);
}

function bildertausch(IMGname, dateiname)
{
  window.document.images[IMGname].src= dateiname;
}

	var Fenster = 0

	function OpenFenster(url,name,info)
	{
	  if (Fenster)
	  {
	    window.Fenster.close()
		Fenster = window.open(url,name,info);
	  }
	  else
	  {
        Fenster = window.open(url,name,info);
	  }
	}

	function popupfenster(url,name,info)
	{
	  if (Fenster)
	  {
	    window.Fenster.close()
		Fenster = window.open(url,name,info);
	  }
	  else
	  {
        Fenster = window.open(url,name,info);
	  }
	}

	function CloseFenster()
	{
	  if (Fenster)
	  {
	  window.Fenster.close()
	  }
	}

//-->