function highlight(element) {
	id = document.getElementById(element);
	id.style.opacity = '0.7';
	id.style.filter = 'alpha(opacity=70)';
}
function dehighlight(element) {
	id = document.getElementById(element);
	id.style.opacity = '0.5';
	id.style.filter = 'alpha(opacity=50)';
}
function sel(element) {
	id = document.getElementById(element);
	was = id.style.background;
	id.style.background = '#FFFFFF';
	id.style.cursor = 'hand';
	window.status = "Menu selection";
}
function desel(element) {
	id = document.getElementById(element);
	id.style.background = was;
	window.status=' ';
}
function goto(url) {
	location.href = url;
}

function rview(content) {

	document.getElementById('files').style.visibility = 'hidden';
	document.getElementById('files').style.position = 'absolute';
	document.getElementById('files').style.height = '0px';
	
	document.getElementById('notes').style.visibility = 'hidden';
	document.getElementById('notes').style.position = 'absolute';
	document.getElementById('notes').style.height = '0px';
	
	document.getElementById('gallery').style.visibility = 'hidden';
	document.getElementById('gallery').style.position = 'absolute';
	document.getElementById('gallery').style.height = '0px';
	
	document.getElementById(content).style.visibility = 'visible';
	document.getElementById(content).style.position = 'relative';
	document.getElementById(content).style.height = '500px';
}
s1 = 'elmor';
s2 = '.se';
s3 = '@';
s4 = 'mai';
s5 = 'lto:';
mail = s1+s3+s1+s2;
mailto = s4+s5+mail;
