/* to Show/Hide divs identified by class name
REQUIRES prototype.js
by Raffaele Turra (C) 2007

USAGE
NOTE: Element.show cannot display elements hidden via CSS stylesheets. Note that this is not a Prototype limitation but a consequence of how the CSS display property works.

1. on load complete, run hideAll(className, parentDiv)  -> to comply the note above
2. each item used to show/hide has onClick = showMe(targetElement, theClass,containerId)

*/

function hideAll(theClass, inTheDiv) {
	arrSchede = $(inTheDiv).getElementsByClassName(theClass);
	arrSchede.each(Element.hide);
}
function showMe(thatOne,theClass, inTheDiv) {
	hideAll(theClass,inTheDiv);
	$(thatOne).show();
}
