SAMANAGE = {};

SAMANAGE.tabs = function() {

	function activate(prefix, index) {
	  jQuery(document).ready(function() {
			jQuery(prefix + " li:nth-child(" + index + ")").addClass("active");
		});
	}

	return {
		top: function(index) {
			activate("#menu", index);
		},
		left: function(index) {
			activate("div.aside ul", index);
		}
	};
}();