// JERICHO GEHÄUSE , jerichogehaeuse.de 2009 JavaScript Document Basic JS in combination with jQuery



$(document).ready(function() {
  
    /* sample function for animation; now in use*/
 $('#wrapper').css('display','none');					   
  var mainAnimation = function() {
	 // var $mainWrapperHeight = $('#wrapper').css('height'); //var not used jet	  
	  //alert($mainWrapperHeight);
	  $('#wrapper').fadeIn('slow'); 

		
  };	
  mainAnimation();

//$('.active').parent().get(0);

  $('#dropmenu').hover(function() {
	//$('#dropdown:eg(1)').hover(function() {  // doesn't work as expected
	$('#droplist').css('display','none');	
	//$('#dropdown ul').css('display','none');	
	$('#droplist').animate({height: 'show'}, 'fast');
   }, function() {
	$('#droplist').css('display','none');	
  }); 
  
});





