$(function(){


	// Bind hover event for IE6 :hover work-around
	$('#list > li').hover(function(){
		
	}, function(){
		$(this).removeClass('hover');
	});


// Slide down hidden part of list item on click
	$('#list > li').click(function(){
		if( $(this).hasClass('active') ) {
			
		} else {
			$('#list .active .btm').slideUp(300).parent().removeClass('active');
			$(this).addClass('active').children('.btm').slideDown(300);
		}
	});


	// Fancybox image popups
	$('#list .image a, #list .images a').fancybox();




// InnerFade: Header image rotator
	$('#menufoto .slider').innerfade({
		animationtype: 'fade', // fade or slide
		speed: 1600, // animation speed in milliseconds
		timeout: 5000, // time between animations in milliseconds
		type: 'random', // sequence, random, or random_start
		containerheight: '191px' // height of the containing element
	});



});