// JavaScript Document
$(document).ready(function() {
						   // Fix the a/img problem
						   $("img").each(function() {
		var parentTag = $(this).parent().get(0).tagName;
		if (parentTag == 'A') {
			$(this).parent().addClass('linkedImage');
		};
	});
$startHoogte = 0;
$('#content #contentPane .agendaJaar, #content #contentPane .linksCategorie').each(function(index) {
	if ($(this).height() > $startHoogte)
	{
		$startHoogte = $(this).height();
	
	}
});

$('#content #contentPane .agendaJaar, #content #contentPane .linksCategorie').css('height', $startHoogte);

$('.archief').appendTo($('#contentPane'));


  
  /* VOOR FACEBOOK ICOONTJES */
 $("#contactMidden a").removeClass("linkedImage");
 
//footerverplaatsen();
});

footerverplaatsen = function ()
{	
	if ($('#wrapper').height() > $(window).height())
	{
		
	}
	if ($('#wrapper').height() < $(window).height())
	{
		$('#footer').css("position","absolute");
		$('#footer').css("top",$(window).height()-$("#footer").height()-25);	
	}
	if (($(window).height()-$('#wrapper').height()) < $("#footer").height())
	{
		$('#footer').css("top",$('#wrapper').height()+5);
	}
		$('#footer').css("display","block");

}

//footerverplaatsen();
