function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}
function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}
function HintBildScreenwide(hb,v) {
	myWidth = Fensterweite ();
	myHeight= Fensterhoehe ();
	if (myHeight == 0) {
		var myHeight=myWidth * 9 / 17;
	}
	if (v == 1) {
		document.write("<div style='position:fixed;top:0px;left:0px;z-index:-1'><img src='"+hb+"' width='" + myWidth + "'></div>");
	} else {
		document.write("<div style='position:fixed;top:0px;left:0px;z-index:-1'><img src='"+hb+"' width='" + myWidth + "' height='" + myHeight + "'></div>");
	}
}
function Zentriere (br) {
	var leftPoint = (Fensterweite() - br) / 2;
	return leftPoint;
}
