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 Bildwechsel(Bildnr,Bildobjekt) {
    window.document.images[Bildnr].src = Bildobjekt.src;
}

function HintBildScreenwide(hb) {
	myWidth = Fensterweite ();
	myHeight= Fensterhoehe ();
	if (myHeight == 0) {
		var myHeight=myWidth * 9 / 17;
	}
	myHeight = myHeight - 170;
	myLeft = (myWidth-450) / 2;
	myLeft_p = (myWidth-320) / 2;
	myLeft_h = (myWidth-380) / 2;

	document.write("<div style='position:fixed;top:170px;left:0px;z-index:-2'><img src='"+hb+"' width='" + myWidth + "' height='" + myHeight + "'></div>");
	document.write("<div style='position:fixed;top:30px;left:"+myLeft+"px;z-index:-1'><img src='images/symbol.png' width='450' height='195'></div>");
	document.write("<div style='position:fixed;top:380px;left:"+myLeft_p+"px;z-index:3'><img src='images/portrait.png' width='150' height='150'></div>");
	document.write("<div style='position:fixed;top:250px;left:"+myLeft_h+"px;z-index:2'><img src='images/intro_neu/leer.png' width='400' height='300'></div>");

I_homepage = new Image();
I_homepage.src = "images/intro_neu/mmlayouthg.png";
A_homepage = new Image();
A_homepage.src = "images/intro_neu/leer.png";
I_verlag = new Image();
I_verlag.src = "images/intro_neu/verlaghintergr.png";
A_verlag = new Image();
A_verlag.src = "images/intro_neu/leer.png";
I_portrait = new Image();
I_portrait.src = "images/intro_neu/portraithintergr.png";
A_portrait = new Image();
A_portrait.src = "images/intro_neu/leer.png";
I_xocai = new Image();
I_xocai.src = "images/intro_neu/xocaihintergr.png";
A_xocai = new Image();
A_xocai.src = "images/intro_neu/leer.png";
I_yl = new Image();
I_yl.src = "images/intro_neu/ylhintergr.png";
A_yl = new Image();
A_yl.src = "images/intro_neu/leer.png";
I_aikido = new Image();
I_aikido.src = "images/intro_neu/aikidohintergr.png";
A_aikido = new Image();
A_aikido.src = "images/intro_neu/leer.png";
I_lyoness = new Image();
I_lyoness.src = "images/intro_neu/lyoness_slogan.png";
A_lyoness = new Image();
A_lyoness.src = "images/intro_neu/leer.png";


}
