﻿$('a').hover(function() {
	$(this).stop(true, false).animate({
		opacity: .5
	}, {
		duration: 0
	})
}, function() {
	$(this).stop(true, false).animate({
		opacity: 1
	}, {
		duration: 500
	})
});


$(document).ready(function(){
	$('.boxgrid').hover(function(){
		$(".cover", this).stop().animate({top:'102px'},{queue:false,duration:200});
	}, function() {
		$(".cover", this).stop().animate({top:'128px'},{queue:false,duration:200});
	});
});

$(document).ready(function() {
	jQuery.fn.center = function () {
		this.css("min-height",($(window).height()) + "px");
		return this;
	}
	$(".all").center();
});

