/**
* functie om een rij in een table te hi-lighten al er een mouseoverevent overheen gaat
* de functie verwacht een <tr id='..' en een te submitten form met id='grpFrm_..' 
*/
$(document).ready(function(){
	$("#setPointer").find("tr[id]")
		.mouseover(function(){
			$(this).addClass("hilight");
	 	})
		.mouseout(function(){
			$(this).removeClass("hilight");
		})
		.css("cursor","pointer")
		.click(function(){
			var id = $(this).attr("id");
			$("#grpFrm_"+id).submit();
		});
});

// groepen pagina
$(document).ready(function(){
	$(".list").hide();
	$("#showArchive").toggle(
		function(){
			$(".list").show();
		},
		function(){
			$(".list").hide();
		}
	);
});

// Kalender pagina
$(document).ready(function(){
	$("#activiteitenlijst").find("tr:odd").addClass("hilight");
});

// invoer calendar voor MR documenten
$(document).ready(function(){
	$("#datummr").datepicker($.datepicker.regional['nl']);
});

$(document).ready(function() {
	$(".stripeable:even").addClass("stripe");
});
