function show_navpoint(id){
	document.getElementById('nav_'+id).innerHTML='<img src="images/navpoint.gif" alt="" height="13" width="10" border="0">';
}

function show_navpoint_lang(id){
	document.getElementById('nav_'+id).innerHTML='<img src="../images/navpoint.gif" alt="" height="13" width="10" border="0">';
}

function show_blankpoint(id){
	document.getElementById('nav_'+id).innerHTML='<img src="images/blank.gif" alt="" height="13" width="10" border="0">';
}

function show_blankpoint_lang(id){
	document.getElementById('nav_'+id).innerHTML='<img src="../images/blank.gif" alt="" height="13" width="10" border="0">';
}

function hide_navpoint(id){
	document.getElementById('nav_'+id).innerHTML='';
}

function set_position(max_height){
	var x,y;
	var dy;
	if (self.innerHeight) // all except Explorer
	{
		x = self.innerWidth;
		y = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		x = document.documentElement.clientWidth;
		y = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		x = document.body.clientWidth;
		y = document.body.clientHeight;
	}
	if(window.pageYOffset){
		dy=window.pageYOffset;
	}
	else if(document.body.scrollTop){
		dy=document.body.scrollTop;
	}
	else dy=0;
	y_soll=eval((y/2)-167+dy);
	y_ist=document.getElementById("navigation").style.top;
	y_ist=y_ist.replace("px","");
	y_ist=Number(y_ist);
	y_abweichung=y_soll-y_ist;
	y_abweichung1=Math.round(y_abweichung/8);
	if(y_soll<270) document.getElementById("navigation").style.top=270;
	else if(y_soll>max_height) document.getElementById("navigation").style.top=max_height;
	else document.getElementById("navigation").style.top=y_ist+y_abweichung1;
	if(x>875){
		document.getElementById("navigation").style.left=eval((x/2)-383);
	}
	else{
		document.getElementById("navigation").style.left=eval(57);
	}
	document.getElementById("navigation").style.visibility='visible';
}
