$(document).ready(function(){
	//set the minheight of the sidebar column(s)
	$('.container .sidebar').minmax();
	$('.container #main').minmax();
	$('.container #subsites-content').minmax();
	$('#events_list li:even').addClass("oddrow");
	$('#event_detail p img').css('display','none');
	$("#kalenderYearAndMonth").change(function(){
		//the selected value has a structure of yyyy-mm
		//explode the string around -
		var arrParameters = $(this).val().split("-");
		
		//build the get request
		//don't use the get parameter year because wordpress will try to show you posts
		var url = 'http://www.hangar29.be/kalender?endyear='+arrParameters[0]+'&month='+arrParameters[1];
		 window.location = url;			
	
	
	})
})
