function formPanelOpenOrClose(panelID,toHeight) {
 	var container = document.getElementById(panelID);

 	if (container.isClosed==null) container.isClosed = true;
 	if (container.isClosed) {endHeight = toHeight; startHeight = 20;}
 	else {startHeight = toHeight; endHeight = 20;} 
	var styleTransformString = "height:"+startHeight+"px; height:"+endHeight+"px;";
	new Effect.Morph(container, {
		style: styleTransformString, // CSS Properties
		duration: 0.5 // Core Effect properties
	}); if (container.isClosed) container.isClosed = false;
	else container.isClosed = true;
}