jQuery(document).ready(function($) {
	if (!$('li.portfolio ul').hasClass('active')) {
		$('a.drop').mouseenter(function () {
			$(this).next('ul').addClass('active');
		}).mouseleave(function () {
			$(this).next('ul').mouseenter(function () {
				
			}).mouseleave(function () {
				$(this).removeClass('active');
			});
			
		});
	}
});
