// #require MooTools.js
// #for IE8 only (other browsers works with CSS)
if (window.addEvent && Browser.Engine.trident && document.documentMode && document.documentMode >= 8) {
	window.addEvent('domready', function () {
		$$('.brightover').each(function (item) {
			var descendant = (function (item) {
				if (!item.getChildren().length)	return new Elements();
				var _getChildren = function (item) {
					return ([item]).combine(item.getChildren().map(arguments.callee));
				};
				return $$(item.getChildren().map(_getChildren).flatten());
			})(item);
			item.addEvent('mouseenter', function () {
				item.setOpacity(0.7);
				descendant.setOpacity(0.7);
			}).addEvent('mouseleave', function () {
				item.setOpacity(1.0);
				descendant.setOpacity(1.0);
			});
		});
	});
}
