function initSubmenu() {
	$('.menu-top li, .menu-left li').hover(function() {
		$(this).children('.sub').show();
		if($(this).children('.sub').length > 0) {
			$(this).find('span a').addClass('active');
		}
	}, function() {
		$(this).children('.sub').hide();
		$(this).find('span a').removeClass('active');
	});
}
