$(document).ready(function() {
	
	// COMMON
	
	$('.image_reveal').mouseenter(function() {
		if ($(this).parent().attr('id') != 'image_reveal') {
			$(this).find(':first').stop();
			$(this).find(':first').animate({
				marginTop: -202
			}, 250, 'easeInOutExpo');
		}
	});
	$('.image_reveal').mouseleave(function() {
		if ($(this).parent().attr('id') != 'image_reveal') {
			$(this).find(':first').stop();
			$(this).find(':first').animate({
				marginTop: 0
			}, 250, 'easeInOutExpo');
		}
	});

// WORKS
	
		
	if ($('body').attr('id') == '') {
		$('.work_expand').css('height', 0);
		
		$('.work').mouseenter(function() {
			var expandable = $(this).find('.work_expand');
			expandable.stop();
			expandable.animate({
				height: 218
			}, 250, 'easeInOutExpo');
		});
		
		$('.work').mouseleave(function() {
			var expandable = $(this).find('.work_expand');
			expandable.stop();
			expandable.animate({
				height: 0
			}, 250, 'easeInOutExpo');
		});
		
	
	}
	
});
