$(function (){ 
	// Navigatie fixxen
	$("ul li:last-child").addClass("last");

	// email fix
	$(".medewerkers_email a").hover(function() {
		$(this).attr("_href", $(this).attr("href"));
		$(this).attr("href", $(this).attr("_href") + "@auxilium.nl");
	}, function() {
		$(this).attr("href", $(this).attr("_href"));
	});
});


function unique(a) {
	tmp = new Array(0);
	for(i=0;i<a.length;i++) {
		if(!contains(tmp, a[i])){
			if(a[i] != "last") {
				tmp.length+=1;
				tmp[tmp.length-1]=a[i];
			}
		}
	}
	return tmp;
}
function contains(a, e) {
	for(j=0;j<a.length;j++)if(a[j]==e)return true;
	return false;
}