function showAgendaDay(index) {
	var o, img;
	o = document.getElementById("agenda_day_"+String(index));
	img = document.getElementById("im_agenda_"+String(index));
	if ((o.style.display=="" || o.style.display=="none")) {
		o.style.display =  "block";
		if (img) img.src = "images/minus.gif";
	} else {
		o.style.display = "none";
		if (img) img.src = "images/plus.gif";
	}
}
function showAgendaContent(index) {
	var o, img;
	o = document.getElementById("ag_content_"+String(index));
	img = document.getElementById("im_ag_con_"+String(index));
	if ((o.style.display=="" || o.style.display=="none")) {
		o.style.display =  "block";
		if (img) img.src = "images/closeview_icon.gif";
	} else {
		o.style.display = "none";
		if (img) img.src = "images/view_icon.gif";
	}
}
function showSessionContent(index) {
	var o, img;
	o = document.getElementById("se_content_"+String(index));
	img = document.getElementById("im_se_con_"+String(index));
	if ((o.style.display=="" || o.style.display=="none")) {
		o.style.display =  "block";
		if (img) img.src = "images/closeview_icon.gif";
	} else {
		o.style.display = "none";
		if (img) img.src = "images/view_icon.gif";
	}
}
function switchView(visible) {
	var i=1;
	var o;
	var img
	o = document.getElementById("agenda_day_"+String(i));
	img = document.getElementById("im_agenda_"+String(i));
	while (o!=null) {
		o.style.display =  visible? "block" : "none";
		img = document.getElementById("im_agenda_"+String(i));
		if (img) img.src = visible? "images/minus.gif" : "images/plus.gif";
		i++;
		o = document.getElementById("agenda_day_"+String(i));
	}
}
