
// Frontpage cell entry
function cell_enter(self, color) {
        if (color) {
                self.bgColor = color;
                self.style.color = '#ffffff';
                self.style.fontWeight = 'bold';
                //self.links["about"].style.fontWeight = 'bold';
        } else {
                self.bgColor = 'blue';
        }
}

// Frontpage cell exit
function cell_exit(self, color) {
        if (color) {
                self.bgColor = color;
        } else {
                self.bgColor = '';
                self.style.color = '#69aa30';
                self.style.fontWeight = 'normal';
                //self.links["about"].style.fontWeight = '';
        }
}

// Jumpto for use in standard html documents
function jumpto(link) {
	self.location.href = link;
}

function openwindow(propid, title, width, height) {
	var w = screen.width;
	var h = screen.height;
	if (width == 0) {
		width = 345;
	}
	if (height == 0) {
		height = 550;
	}

	tp = (h - height) / 2;
	lt = (w - width) / 2;
	lt = 0;

	window = window.open(propid, 
			     title, 
			     "width=" + width + "," +
			     "height=" + height + "," +
			     "top=" + tp + "," +
			     "left=" + lt + "," +
			     "menubar=no,toolbar=no,location=no," +
			     "directories=no,status=no," +
			     "scrollbars=yes,resizeable=no");
}
