/* Ingenieurbuero für Fahrzeugtechnik - Dipl.-Ing. René Tiebel */
/* javascripte */

window.onclick = function(){
   var a = document.getElementsByTagName('a');
   for(i=0;i<a.length;i++){
      a[i].onfocus = this.blur();
   }
} 

function display(id, eigenschaft, ywert){
	document.getElementById(id).style.display = eigenschaft;
	if(ywert != ''){
		eltern_id = id.split('submenu_').join('');
		document.getElementById(eltern_id).style.backgroundPosition = 0 + 'px ' + ywert + 'px';
	}
}

function color(id, bg_color, border_color){
	document.getElementById(id).style.backgroundColor = bg_color;
	document.getElementById(id).style.borderColor = border_color;
}
