var e="";


if (navigator.appCodeName == "Internet Explorer"){
function getRect (o,e){ 
    var r = { top:0, left:0, width:0, height:0 }; 
  
    if(!o) return r; 
    else if(typeof o == 'string' ) o = document.getElementById(o); 
  
    if( typeof o != 'object' ) return r; 
  
    if(typeof o.offsetTop != 'undefined')    { 
         r.height = o.offsetHeight; 
         r.width = o.offsetWidth; 
         r.left = r.top = 0; 
         while (o && o.tagName != 'BODY')         { 
              r.top  += parseInt( o.offsetTop ); 
              r.left += parseInt( o.offsetLeft ); 
              o = o.offsetParent; 
         } 
    } 

    var cobj=document.getElementById(e);
	cobj.style.visibility="visible";
	cobj.style.Top=r.top;
	cobj.style.left=r.left;	
}}

function changeBgColorOver(e){
	var obj=document.getElementById(e);
	obj.style.backgroundColor="#FF0000";
	obj.style.color="#FFFFFF";
	/*obj.style.borderColor="#FFFFFF";*/
/*	obj.style.height="56px";
	obj.style.position="absolute"; */

/*
	if (e == "item_unterhaltung"){
		var mobj=document.getElementById("subitem_unterhaltung");
		mobj.style.visibility="visible";
		mobj.style.color="#8B0000";
		mobj.style.borderColor="#8B0000";
		mobj.style.borderTop="";
			
		var middle=document.getElementById("middle");
		middle.style.filter="alpha(opacity=15)";
	}
	if (e == "subitem_unterhaltung_do"){
		var nobj=document.getElementById("subitem_unterhaltung_do");
		nobj.style.backgroundColor="#8B0000";
		nobj.style.color="#FFFFFF";
	}
	if (e == "subitem_unterhaltung_fr"){
		var nobj=document.getElementById("subitem_unterhaltung_fr");
		nobj.style.backgroundColor="#8B0000";
		nobj.style.color="#FFFFFF";
	}
	if (e == "subitem_unterhaltung_sa"){
		var nobj=document.getElementById("subitem_unterhaltung_sa");
		nobj.style.backgroundColor="#8B0000";
		nobj.style.color="#FFFFFF";
	}

		
	if (e == "item_weinkarte"){
		var mobj=document.getElementById("subitem_weinkarte");
		mobj.style.visibility="visible";
		mobj.style.color="#8B0000";
		mobj.style.borderColor="#8B0000";
		mobj.style.borderTop="";

		var middle=document.getElementById("middle");
		middle.style.filter="alpha(opacity=15)";
	}
	if (e == "subitem_weinkarte_rosswag"){
		var nobj=document.getElementById("subitem_weinkarte_rosswag");
		nobj.style.backgroundColor="#8B0000";
		nobj.style.color="#FFFFFF";
	}
	if (e == "subitem_weinkarte_aaa"){
		var nobj=document.getElementById("subitem_weinkarte_aaa");
		nobj.style.backgroundColor="#8B0000";
		nobj.style.color="#FFFFFF";
	}
*/		
}

function changeBgColorOut(e){
	var obj=document.getElementById(e);
	obj.style.backgroundColor="";
	obj.style.color="";
	obj.style.borderColor="";
/*
	if (e == "item_unterhaltung"){
		var mobj=document.getElementById("subitem_unterhaltung");
		mobj.style.visibility="hidden";
		
		var middle=document.getElementById("middle");
		middle.style.filter="";
	}
	if (e == "subitem_unterhaltung_do"){
		var nobj=document.getElementById("subitem_unterhaltung_do");
		nobj.style.backgroundColor="#F5F5F5";
		nobj.style.color="#8B0000";
	}
	if (e == "subitem_unterhaltung_fr"){
		var nobj=document.getElementById("subitem_unterhaltung_fr");
		nobj.style.backgroundColor="#F5F5F5";
		nobj.style.color="#8B0000";
	}
	if (e == "subitem_unterhaltung_sa"){
		var nobj=document.getElementById("subitem_unterhaltung_sa");
		nobj.style.backgroundColor="#F5F5F5";
		nobj.style.color="#8B0000";
	}

		
	if (e == "item_weinkarte"){
		var mobj=document.getElementById("subitem_weinkarte");
		mobj.style.visibility="hidden";

		var middle=document.getElementById("middle");
		middle.style.filter="";
	}
	if (e == "subitem_weinkarte_rosswag"){
		var nobj=document.getElementById("subitem_weinkarte_rosswag");
		nobj.style.backgroundColor="#F5F5F5";
		nobj.style.color="#8B0000";
	}
	if (e == "subitem_weinkarte_aaa"){
		var nobj=document.getElementById("subitem_weinkarte_aaa");
		nobj.style.backgroundColor="#F5F5F5";
		nobj.style.color="#8B0000";
	}
*/
}
