$j=jQuery.noConflict();
$j(document).ready(function() {
	
	//Gallery Slider   
	//Gallery Slider top   
	$j('.gallery-content').hover(function(){
		$j(this).find('.tag, .date, .author').toggle();
	});
	$j('.gallery-content').hover(function(){
		$j(this).find('.exerpt').toggleClass('show');
	});
	
	// top menu animate
	$j('.menu-trigger').click(function() {
		$j('.hidden-nav-wrap').show();
		return false;
	});
	$j('.top-nav-wrap').click(function() {
		$j('.hidden-nav-wrap').hide();
		return false;
	});
    $j('.hidden-nav-wrap').mouseleave (function() {
        $j('.hidden-nav-wrap') .hide();
        return false;
	});
	
  	// fixed menu
//  	var top = $j('.menu-header').offset().top - parseFloat($j('.menu-header').css('marginTop').replace(/auto/, 0));
//	$j(window).scroll(function (event) {
//	var y = $j(this).scrollTop();
//	if (y >= top + 45) {
//		$j('.menu-header').addClass('fixed');
//	} else {
//	$j('.menu-header').removeClass('fixed');
//	}
//	});
		
});
