$(document).ready(function() {
	  $('.close').click(function() {
	  	$('#teksten').slideToggle(400);
	  
	  	curr = $('.close').attr('src');
		
		if( curr == '/images/min-close.png' ) {
			$('.close').attr('src', '/images/plus-close.png');
		} else if( curr == '/images/plus-close.png' ) {
			$('.close').attr('src', '/images/min-close.png');
		}
	 	return true;
	  });
	 
	});
/*
$(document).ready(function () {
	
	$("#teksten").css('height', $(window).height() - 80 -120 - 40);
});
$(window).resize(function () {
	$("#teksten").css('height', $(window).height() - 80 -120 - 40);
});

$(document).ready(function () {
	$("#homepage").css('height', $(window).height() - 80 -120 - 40);
});
$(window).resize(function () {
	$("#homepage").css('height', $(window).height() - 80 -120 - 40);
});

$(document).ready(function () {
	var h = $(window).height();  
	if(h > 741){
		$("#galleria").css('height', $(window).height() - 80 -120 - 50);
	}else{
		$("#galleria").css('height', 475);
		
	}
});
*/
$("#bg").mousemove(function(e){
    $('img').css('top', e.clientY).css('left', e.clientX);
});
/*
$(document).ready(function () {
	$("#galleria2").css('height', $(window).height() - 80 -120);
});
$(window).resize(function () {
	$("#galleria2").css('height', $(window).height() - 80 -120);
});

$(document).ready(function () {
	$("galleria-stage").css('height', $(window).height() * 0.367);
});

/*
$(document).ready(function () {
	$(".coda-slider-wrapper").css('height', $(window).height()  -120 -20);
});
$(window).resize(function () {
	$(".coda-slider-wrapper").css('height', $(window).height()  -120 -20);
});

$(document).ready(function () {
	$("#wrapper").css('height', $(window).height() - 80 -120 - 40)
});
*/
