var lastPanelHeight = 0;
function getElementDimensions(el) {
	var dim = {width:0, height:0};
	dim.width = el.offsetWidth;
	dim.height = el.offsetHeight;
	return dim;
}
var lastElement = 'content1';
var secret = 'message';
function MM_effectBlind(targetElement, duration, from, to, toggle, func)
{
	var func = func ? func : null;
	var t = document.getElementById(targetElement);
	t.style.display = 'block';
	var targetHeight = getElementDimensions(t).height;
	t.style.display = 'none';
	Spry.Effect.DoBlind('contentGroup', {duration: duration, from:(lastPanelHeight) + 'px', to:targetHeight + 'px', toggle: false, useCSSBox:true, finish:func});
	lastElement = targetElement;
	return;
}
