$(document).ready(function(){
	
	// var height_content = parseInt($('#content').height());
	// var height_content_left = parseInt($('#content_left').height());
	// if(height_content > height_content_left) {
	// 	$('#content_left').css({height: height_content});
	// 	alert('set hight');
	// }
	
	$('#multi-ddm .hauptebene').click(function(){
		location= $(this).find('a').attr('href');
	});
	
	// news startseite (bei div-klick)
	$('.news-startseite').click(function(){
		location = $(this).find('a').attr('href');
	});
	
	$(".lightbox").lightbox();
	
	var css = ['child-hover1', 'child-hover2', 'child-hover3', 'child-hover4'];
	$('#multi-ddm').dropDownMenu({timer: 500, parentMO: 'parent-hover', levels: css});
	
	// $('.cycle_pics').cycle({
	// 	fx:     'fade', 
	// 	speed:   2000, 
	// 	timeout: 4000
	// });
	
	$('#multi-ddm .hauptebene').last().css('marginRight', '0px');
	$('#multi-dmm .hauptebene').css('opacity', 0.5);
	// $('#multi-dmm .hauptebene').hover(function(){
	// 	alert('bla');
	// });
	
	// style switcher
	$('#header_options').switcher();
	
	$('#header_pic').cycle({ 
		fx:     'fade', 
		speed:   3000, 
		timeout: 2000
	});
});
