
$(document).ready(function(){		
			$(".bookbox, .printbox, #hiddenlink").colorbox({fastIframe: false, title: false, top: "100px", transition: "elastic", data: true, initialWidth: "80%", initialHeight:"72%", width:"80%", height:"75%", iframe:true, opacity: "0.55"});
		});

function goToByScroll(id){
     	$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
}
  
  
 $(document).ready(function() {
 $("img.opacity, .newscolumns .newscol img, .threenewscolumns a img, .modelcolumns a img").mouseout(function(){
 $(this).animate({opacity: "1.0"}, 'fast');});
 $("img.opacity, .newscolumns .newscol img, .threenewscolumns a img, .modelcolumns a img").mouseover(function(){$(this).animate({opacity: "0.5"}, 'fast');});
 
  $(".threecolumns, .threenewscolumns, .modelcolumns").mouseover(function(){ $("h4", this).css({'color': '#54E0AD'}); });
  $(".threecolumns, .threenewscolumns, .modelcolumns").mouseout(function(){ $("h4", this).css({'color': '#000000'}); });
 
  });
  

//Animiertes Scrollen
$(document).ready(function() {
	$('a[href*=#]').bind("click", function(event) {
		event.preventDefault();
		var ziel = $(this).attr("href");

                if ($.browser.opera) {
                    var target = 'html';
                }else{
                    var target = 'html,body';
                }

		$(target).animate({
			scrollTop: $(ziel).offset().top
		}, 'slow' );
});
return false;
});


$(document).ready(function() {
$('#unset').click(function() {
$('#bookcode').fadeOut('slow');
$.post("/themes/mdmanagement/includes/bookinglist/session-delete.php");
});
});
