function arsBlur(){
	this.blur();
}
function setContentHeights(){
	var lh,rh,oErr;
	var contL=d.getElementById('ContentLeftIn');
	var contR=d.getElementById('ContentRightIn');
	lh=contL.offsetHeight;
	rh=contR.offsetHeight;
	if(lh>rh){
		contR.style.height=lh+'px';
		oErr=contR.offsetHeight-lh;
		contR.style.height=lh-oErr+'px';
	}else if(rh>lh){
		contL.style.height=rh+'px';
		oErr=contL.offsetHeight-rh;
		contL.style.height=rh-oErr+'px';
	}
}
function appendFocusHandler(){
	var els=d.getElementsByTagName('a');
	var l=els.length;
	for(var i=0;i<l;i++){
		el=els[i];
		el.onfocus=arsBlur;
	}
}
function ii(){
	var ii=d.getElementById('ii');
	var gv=d.getElementById('GestaltetVon');
	ii.onmouseover=function(){
		gv.style.display='block';
	}
	ii.onmouseout=function(){
		gv.style.display='none';
	}
}
function setBackgroundImage(){
	var bgImage=d.getElementById('Hintergrundbild').innerHTML;
	var body=d.getElementsByTagName('body')[0];
	body.style.backgroundImage='url('+bgImage+')';
}
function init(){
	d=document;
	appendFocusHandler();
	setContentHeights();
	setBackgroundImage();
	ii();
}
window.onload=init;
