Alinhe verticalmente qualquer elemento usando jQuery

 $(function() {
$
('element').each( function( index, item) {
var parent = $(item).parent();
var $this = $(item);
parent
.css('position', 'relative');
$this
.css('position', 'absolute').css('top', Math.round((parent.height() - $this.outerHeight()) / 2) + 'px');
});
});