function initFruitCalendar() {
	try {
	  document.execCommand("BackgroundImageCache", false, true);
	} catch(err) {}

	var body = document.getElementsByTagName('BODY')[0];
	var calendarNode = getDeepSub(body, 'DIV', 'fruitCalendar');
	while (calendarNode) {
		var fruitNode = findFirstSub(calendarNode, 'DIV', 'fruit');
		while(fruitNode) {
			var clickNode = findFirstSub(fruitNode, 'DIV', 'clickBar');
			var contentNode = findFirstSub(fruitNode, 'DIV', 'fruitContent');
			if (clickNode && contentNode) {
				var buttonNode = findFirstSub(clickNode, 'H4', null);
				if (buttonNode) {
					addClass(contentNode, 'hidden');
					addClass(clickNode, 'clickable');
					addClass(buttonNode, 'open');
					clickNode.onclick = function() {
							var buttonNode = findFirstSub(this, 'H4', null);
							var contentNode = findFirstSub(this.parentNode, 'DIV', 'fruitContent');
							if (matchClassName('open', buttonNode.className)) {
								removeClass(buttonNode, 'open');
								addClass(buttonNode, 'close');
								removeClass(contentNode, 'hidden');
							} else {
								addClass(buttonNode, 'open');
								removeClass(buttonNode, 'close');
								addClass(contentNode, 'hidden');
							}
						}
				}
			}
			
			fruitNode = findNextSub(fruitNode, 'DIV', 'fruit');
		}
		calendarNode = findNextSub(calendarNode, 'DIV', 'fruitCalendar');
	}

}

addInitFunction(initFruitCalendar);