window.addEvent('domready', function(){
	$$('#header .navigation li a').filter(function(el){
		return window.location.href.substring(window.location.href.lastIndexOf('/') + 1) == el.get('href');
	}).each(function(el){
		el.getParents('li').addClass('active');
	});
});
