//Lightbox Fix
$(function() {
	$('a[@rel*=lightbox]').lightBox();
});

//Fade Effects for content images
jQuery(document).ready(function(){
   jQuery(".default").fadeTo("1500", 0.3); // This sets the opacity of the thumbs to fade down to 30% when the page loads
   jQuery(".default").hover(function(){
	   jQuery(this).stop(true, true);
	   jQuery(this).fadeTo("1500", 1.0); // This should set the opacity to 100% on hover
	   },function(){
	   jQuery(this).fadeTo("1500", 0.3); // This should set the opacity back to 30% on mouseout
   });
});

//Animation for the Worktime /Öffnungszeiten/
$(function() {
	$("#worktime a").removeClass('hover');
	$("#worktime a").hover(
	  function () {
			$(this).children(".description").show(500);
	  }, 
	  function () {
			$(this).children(".description").hide(500);
	  }
	);
});

//Animation for the Navigation
$(function() {
	$("#navigation").removeClass('hover');
	$("#navigation").hover(
	  function () {
			$(this).children("ul").show(500);
	  }, 
	  function () {
			$(this).children("ul").hide(500);
	  }
	);
});

