Event.observe(window, 'load', function()
{
	$('static_overlay').childElements().each(function(button)
	{
		button.observe('click', function(){
			var action_item = $('content').down('.'+button.className);
			
			if(Prototype.Browser.IE)
				action_item.siblings().each(function(others){ others.hide(); });
			else
				action_item.siblings().each(function(others){ new Effect.Opacity(others, { to: 0, duration: 0.6 }); });
			
			action_item.setOpacity(0);
			action_item.show();
			
			if(Prototype.Browser.IE)
				action_item.setOpacity(1);
			else
				new Effect.Opacity(action_item, { to: 1, duration: 0.6, delay: 0.2 });
		});
	});
});
