<!--

function bild(img_url, img_title, img_width, img_height)
{
  wnd = open("",
             "Bildanzeige",
             "width=" + (img_width + 32) + ",height=" + (img_height + 64) +
             ",innerWidth=" + (img_width + 32) + ",innerHeight=" + (img_height + 64) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0" +
             ",scrollbars=0,resizable,dependent")

  var baseadr = location.href
  var lastsl  = location.href.lastIndexOf("\\")
  if(lastsl >= 0)
    baseadr = baseadr.substring(0, lastsl + 1)
  else
  {
    lastsl = location.href.lastIndexOf("/")
    if(lastsl >= 0)
      baseadr = baseadr.substring(0, lastsl + 1)
  }
  with(wnd.document)
  {
    open("text/html")
    writeln("<HTML>")
    writeln("<HEAD><TITLE>" + img_title + "</TITLE>")
    writeln("<link rel=\"stylesheet\" href=\"styles/style_alkote.css\" type=\"text/css\"></HEAD>")
    writeln("<BASE HREF=\"" + baseadr + "\"></HEAD>")
    writeln("<BODY BGCOLOR=#000000>")
    writeln("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=4 WIDTH=\"100%\" HEIGHT=\"100%\">")
    writeln("<TR><TD ALIGN=CENTER VALIGN=MIDDLE CLASS=\"CONTENT\">")
    writeln("<A HREF=\"javascript:self.close()\"><IMG SRC=\"" + img_url +
            "\" WIDTH=" + img_width +
            " HEIGHT=" + img_height +
            " HSPACE=0 VSPACE=0 BORDER=0 ALT=\"" + img_title + "\"></a></TD></TR>")
    write("<TR><TD ALIGN=right VALIGN=BOTTOM CLASS=boldyellow>")
    write("<A HREF=\"javascript:self.close()\">X</A>")
    writeln("</STRONG></BIG></TD></TR>")
    writeln("</TABLE>")
    writeln("</BODY></HTML>")
    close()
  }
  wnd.focus()
}



function ermittelnhoehe() {
	var hoehe=0;
	if (typeof(window.innerHeight)=='number') {
	hoehe=window.innerHeight;
	}
	else {
	if (document.documentElement&&
	document.documentElement.clientHeight) {
	hoehe=document.documentElement.clientHeight;
	}
	else {
	if (document.body&&document.body.clientHeight) {
	hoehe=document.body.clientHeight;
	}
	}
	}
		document.getElementById("pagefoot").style.top = hoehe-50+"px";
		}

function change(url1,url2,url3) {
    self.location.href = url1;   
    parent.content.location.href = url2;
    parent.footer.location.href = url3;
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		navi_komponenten_over = newImage("images/navi/kompo_over.gif");
		navi_philosophie_over = newImage("images/navi/phil_over.gif");
		navi_produkte_over = newImage("images/navi/produkte_over.gif");
		navi_fuetterung_over = newImage("images/navi/fuetterung_over.gif");
		navi_news_over = newImage("images/navi/news_over.gif");
		navi_kontakt_over = newImage("images/navi/kontakt_over.gif");
		navi_agb_over = newImage("images/navi/agb_over.gif");
		preloadFlag = true;
	}
}

// -->