function initNavigation() {
	$$('ul#navigation li').collect(function(el) {
		if (el.down('ul') != 'undefined') {
			Event.observe(el, 'mouseout', function() {
				try{ el.down('ul').removeClassName('aktiv'); }
				catch(err) { /* void */ }
			});
			Event.observe(el, 'mouseover', function() {
				try{ el.down('ul').addClassName('aktiv'); }
				catch(err) { /* void */ }
			});
		}
	});
}
Event.observe(window, 'load', initNavigation);
Event.observe(window, 'load', function() {
	try {
	var myRotation = new ImageRotation('rotated', {
		delay: 5,
		images: [
			'/wp-content/themes/hoeher/images/header-03.jpg',
			'/wp-content/themes/hoeher/images/header-02.jpg',
			'/wp-content/themes/hoeher/images/header-04.jpg',
			'/wp-content/themes/hoeher/images/header-05.jpg',
			'/wp-content/themes/hoeher/images/header-06.jpg',
			'/wp-content/themes/hoeher/images/header-07.jpg',
			'/wp-content/themes/hoeher/images/header-08.jpg',
			'/wp-content/themes/hoeher/images/header-09.jpg',				
			'/wp-content/themes/hoeher/images/header-01.jpg'
		]
	});
	myRotation.init();
	} catch(e) {}
});