if (!no_effects){
window.addEvent('domready', function (){
	$$('#headermenu a').each(function (el){
		el.addEvent('mouseover', function (e){
		if (Fx.Styles){
			new Fx.Styles(el.getFirst('hr')).start({'width': 100, 'background-color': '#ffffff', 'color': '#ffffff'});
		}
		else{
			el.getFirst('hr').morph({'width': 100, 'background-color': '#ffffff', 'color': '#ffffff'});
		}
		});
		el.addEvent('mouseout', function (e){
			if (Fx.Styles){
				new Fx.Styles(el.getFirst('hr')).start({'width': 0, 'background-color': '#CF270B', 'color': '#CF270B'});
			}
			else{
			el.getFirst('hr').morph({'width': 0, 'background-color': '#CF270B', 'color': '#CF270B'});
			
			}
		});
	});
	$$('#sidemenu ul a').each(function (el){
		if (el.getParent().className == 'selected') return;
		if (!el.getElement('img')) return;
		el.addEvent('mouseenter', function (e){
			if (Fx.Styles){
				new Fx.Styles(el.getElement('img')).start({'opacity': 1});
			}
			else{
				el.getElement('img').morph({'opacity': 1});
			}
		});
		el.addEvent('mouseleave', function (e){
			if (Fx.Styles){
				new Fx.Styles(el.getElement('img')).start({'opacity':0});
			}
			else{
				el.getElement('img').morph({'opacity': 0});
			}
		});
	});

});
}