$(document).ready(function(){
	// Deactivated (HNHYB-1871)
	
	//	$("#laeden_box .first_link").add("#laeden_box .other_link").click(function(e) {
	//		if ($(this).hasClass("other_link")) {
	//			e.preventDefault();
	//
	//			var newFirst = $(this).parent();
	//			$("#laeden_box .first").animate({height: "21px"}, 400, function (){
	//				$(this).addClass("element").removeClass("first");
	//				$(this).children("a:first-child").addClass("other_link").removeClass("first_link");
	//				$(newFirst).children("a:first-child").addClass("first_link").removeClass("other_link");
	//				$(newFirst).animate({height: "200px"}, 400, function(){
	//					$(this).addClass("first").removeClass("element");
	//				});
	//			});
	//		}
	//	});

	$('#laeden_teaser .right .img_right_overlay').hover(function() {
		$(this).css("width","64px");
		$(this).css("height","47px");
		$(this).css("border","3px solid #016423");
	}, function() {
		$(this).css("width","70px");
		$(this).css("height","53px");
		$(this).css("border","none");
	});

	$('#laeden_teaser .right .img_right_overlay').click(function() {
		// Index of clicked thumbnail:
		var index = $(this).parent().parent().children(".img_right").index($(this).parent());

		$("#laeden_teaser > .left").children(".teaser").fadeOut("slow");
		$("#laeden_teaser > .left").children(".teaser").eq(index).fadeIn("slow");
	});
});

