// JavaScript Document

$(document).ready(function(){
	hatches.init();
})
var hatches = {
	
	init : function() {

		$('.window a').hover(function(){
			//console.log($(this).parent().find('.hatch'));
			hatches.open( $(this).parent().find('.hatch') );
		}/*,function(){
			hatches.close( $(this).parent().find('.hatch') );
		}*/)

	},

	open  : function( hatch ) {
		hatch.stop().animate({
			height: '125px'
		},1500);
	},

	/*close : function( hatch ) {
		hatch.stop().animate({
			height: '382px'
		},1500);
	}*/
	
}

