jQuery(function($) {
	var path = location.pathname.substring(1);
	$('#template_leftnav a[@href$="' + path + '"]').addClass('active');
});