// JavaScript Document


$(document).ready(
	function() {

	$(".menufadeinout").hover(function () {
		// on
		if (!$(this).hasClass('current')) {
			$(this).addClass('hover');
			$(this).css({ opacity: 0 });
			$(this).show();
			$(this).stop().animate({ opacity:1 },200);
		}
		
	}, function () {
		// off
		if (!$(this).hasClass('current')) {
			$(this).stop().animate({ opacity:0 },200, function() { $(this).removeClass('hover'); } );
		}
	});
	
	
	$(".videolink").colorbox({iframe:true, innerWidth:725, innerHeight:544});
	
    if ( $('.slideshowcontainer').length>0 ) {
		
		$('.slideshowcontainer').cycle({
			fx: 'fade' // choose your transition type
		})
		
	}
	
	
});
