var front = 1;
function raiseme (i) {
	if (front == i) { return (0); }
	// i should be an integer between 1 and 4 inclusive
	var db = 'dirbody' + i;
	var odb = 'dirbody' + front;
	front = i;
	var newdiv = document.getElementById(db);
	var olddiv = document.getElementById(odb);
	newdiv = newdiv.style;
	olddiv = olddiv.style;
	newdiv.zIndex = 2;
	olddiv.zIndex = 0;
}

