Event.observe(window,'load',function() {
	var togglers = $$('*[toggleDiv]');
	togglers.each(function(toggler) {
		toggler.setStyle({'cursor':'pointer'});
		$(toggler.getAttribute('toggleDiv')).hide();
		toggler.mBox = new Element('img',{'src':'/images/maximize.gif','style':'margin-right:3px;'});
		toggler.mBox.on = true;
		toggler.insert({top:toggler.mBox});
		toggler.observe('click',function(){
			if (this.mBox.on) {
				this.mBox.src = '/images/minimize.gif';
				this.mBox.on = false;
			} else {
				this.mBox.src = '/images/maximize.gif';
				this.mBox.on = true;
			}
			$(this.getAttribute('toggleDiv')).toggle();
		});
	});
});