$(document).ready(function(){
	
	$(".lightbox").lightbox();
	
	var css = ['child-hover1', 'child-hover2'];
	$('#multi-ddm').dropDownMenu({timer: 500, levels: css});
	
	$('#topbild').cycle({ 
  	fx:     'fade', 
  	speed:   1500, 
  	timeout: 4000, 
  	/*pause:   1,*/
  	next:   '#next', 
  	prev:   '#prev'
  });
  
  $('.textslideshow').cycle({ 
  	fx:     'fade', 
  	speed:   1500, 
  	timeout: 3000, 
  	/*pause:   1,*/
  	next:   '#next', 
  	prev:   '#prev'
  });
  
  //screensize
  //$new_window_height = $(window).height() - 70; // -70 sind die padding-werte von #page in layout.css
	//$('#page').css({'min-height' : $new_window_height});
	//alert($new_window_height);
		
	//alt-BKG
	/*$('.ajsc_ver .items_content').hover(
		function () {
			$this_trBg = $(this).css('background-color');
			$(this).css("background-color", "#f7f7f7");
		}, 
		function () {
			$(this).css("background-color", $this_trBg);
		}
	);
	
	$('.newsentry_preview4').hover(
		function () {
			$this_trBg = $(this).css('background-color');
			$(this).css("background-color", "#f7f7f7");
		}, 
		function () {
			$(this).css("background-color", $this_trBg);
		}
	);
	
	$('.newsentry_preview5').hover(
		function () {
			$this_trBg = $(this).css('background-color');
			$(this).css("background-color", "#f7f7f7");
		}, 
		function () {
			$(this).css("background-color", $this_trBg);
		}
	);
	
	$('.downloadentry').hover(
		function () {
			$this_trBg = $(this).css('background-color');
			$(this).css("background-color", "#f7f7f7");
		}, 
		function () {
			$(this).css("background-color", $this_trBg);
		}
	);
	
	$('.produkt').hover(
		function () {
			$this_trBg = $(this).css('background-color');
			$(this).css("background-color", "#f7f7f7");
		}, 
		function () {
			$(this).css("background-color", $this_trBg);
		}
	);*/
			
});
