function submenuShow(id) {
	document.getElementById(id).style.visibility = 'visible';
}//end function

function submenuHide(id) {
	document.getElementById(id).style.visibility = 'hidden';
}//end function


var tooltip = null;
//###################################################################################
function tooltip_on(id) {

	//Scrollversatz vertikal ermitteln
	if (window.opera || (navigator.appName == 'Konqueror')) {//Konqueror und Opera
		e = window.event;
                 x = e.x + document.body.scrollLeft;
		y = e.y + document.body.scrollTop;
                 }//end if

         else if (document.all) {//INTERNET EXPLORER
	        document_body = (document.compatMode && document.compatMode != 'BackCompat')? document.documentElement : document.body? document.body : null;
		e = window.event;
		x = e.clientX + document_body.scrollLeft;
		y = e.clientY + document_body.scrollTop;
		}//end else if

         else {//FIREFOX
		e = window.event;
		x = e.pageX + window.pageXOffset;
		y = e.pageY + window.pageYOffset;
		}//end else

	tooltip = document.getElementById(id);

	//Standardabweichung von Mausposition zu Tooltip-Ecke
         x += 15; //horizontal
         y += -15; //vertical

         if (tooltip) {
		tooltip.style.left = x + "px";
		tooltip.style.top = y + "px";
		tooltip.style.display = 'block';
                 }
}//end function

//###################################################################################
function tooltip_off(id) {
	if (tooltip) {//nur wenn tooltip existiert
         	tooltip.style.display = 'none';
		tooltip = null;
                 }//end if
}//end function