function initcontentboxes() {
	var container = MM_findObj('contentboxes');
	var boxes = container.getElementsByTagName('h3');
	var i;
	for (i=0; i<boxes.length; i++) {
		if (boxes[i].id.substr(0,9) == 'boxteaser') {
			boxes[i].onclick = function () { contentboxclick(this) };
			boxes[i].title = 'click to expand';
		}
	}
}

function contentboxclick(which, e) {
	var o = MM_findObj('boxcontent' + which.id.substr(9,1));
	if (which.className == 'contracted') {
		which.title = 'click to contract';
		which.className = 'expanded';
		o.style.visibility = 'visible';
		o.style.display = 'block';
	} else {
		which.title = 'click to expand';
		which.className = 'contracted';
		o.style.visibility = 'hidden';
		o.style.display = 'none';
	}
}

addLoadEvent(initcontentboxes);
