function activateMenus() {
	$(".newsentry").click(function() {
		var ref = $(this).find("a:first").attr("href");
		location.href=ref;
	});
}
function pictureShow() {
	cimg = null;
	nimg = null;
	cur = 1;
	len = $(".pictures .picture").length;
	cimg = $(".pictures .picture:nth-child(1)");
	if(len > 1) iv = setTimeout(nextPicture,2500);
}
function nextPicture() {
	cur++;
	if(cur > len) cur=1;
	nimg = $(".pictures .picture:nth-child("+cur+")");
	var l = cimg;
	cimg.fadeOut(1700);
	nimg.fadeIn(1700,function() {
		window.iv = setTimeout(nextPicture,4000);
	});
	cimg = nimg;
}
function trace(s) {
	if(window.console) console.log(s);
}