window.addEvent('domready',function(){
	
	// IE6 Navigation-Top-Hover FIX:
	if($defined($('nav-top')) && window.ie6) {
		$$('#nav-top li.submenu').each(function(el,cnt){
			el.addEvent('mouseenter',function(){
				el.getElement("ul").setStyle("left","auto");
			});
			
			el.addEvent('mouseleave',function(){
				el.getElement("ul").setStyle("left","-999em");
			});
		});
	}
	
});

var zeit, message="Rechtsklick ist deaktiviert! Sorry!";
  function click0() {
    if (event.button != 1) {
      //popup();
      return false;
    }
  }
  function nsc(e) {
    if (e.which != 1) keinkontext();
  }
  function popup() {
    //alert(unescape(message));
    return false;
  }
  function nichts(e) {
    if (e.which != 1) return false;
  }
  function keinkontext() {
    clearTimeout(zeit);
    zeit = setTimeout("kontext()",1);
  }
  function kontext() {
    clearTimeout(zeit);
    //popup();
  }
  if (document.all)
    if (document.getElementById) document.oncontextmenu=popup;
    else document.onmousedown=click0;
  if (!(document.all) && document.getElementById)
    document.oncontextmenu=popup;
  if (document.layers) {
    document.captureEvents(Event.MOUSEUP | Event.MOUSEDOWN);
    document.onmousedown=nichts;
    document.onmouseup=nsc;
  }
