$(document).ready(function() {
	 
          // $("#wrapper").height('#wrapper'-'85');
		   $("#wrapper").height($(document).height());
		    //$("#page").height($(document).height());
		   //$("#page").height($(document).height()-'275');
		    
		    $('#slider').cycle({ 
			fx:     'scrollHorz', 
			prev:   '#prev1', 
			next:   '#next1', 
			pager: 	'#naf',
			timeout: 0 
			});
			
			$('.slideshow').cycle({
			fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
			});
     });



(function ($) {
// VERTICALLY ALIGN FUNCTION
$.fn.vAlign = function() {
	return this.each(function(i){
	var ah = $(this).height();
	var ph = $(this).parent().height();
	var mh = Math.ceil((ph-ah) / 2);
	$(this).css('margin-top', mh);
	});
};
})(jQuery);
	// Plugin code goes here
	$(document).ready(function(){
	$(".kruisimg").vAlign();
	$(".opdimg").vAlign();
	});

