// Browserweiche
if (typeof Prototype != 'undefined')
{
	var Browser = {
		detect: function() {
			var UA = navigator.userAgent;
			this.isKHTML = /Konqueror|Safari|KHTML/.test(UA);
			this.isGecko = Prototype.Browser.Gecko;
			this.isOpera = Prototype.Browser.Opera;
			this.isMSIE  = Prototype.Browser.IE;
			this.isMSIE5 = this.isMSIE && !document.compatMode;
			this.isMSIE7 = this.isMSIE && window.XMLHttpRequest;
			this.isMSIE6 = this.isMSIE && !this.isMSIE5 && !this.isMSIE7;
		} // function detect
	}
	Browser.detect();

	$(document).observe('dom:loaded', function() {
		// Navigation
		if (Browser.isMSIE6 || Browser.isMSIE5)
		{
			$A($$('#horizontalnavigation > li')).each(
				function(oLI)
				{
					$(oLI).observe('mouseover', function() { oLI.className+= 'hover'; } );
					$(oLI).observe('mouseout',  function() { oLI.className = '' } );
				} // function
			);
		} // if
	});
}
