$(function() { $(window).on('resize', function resize() { $(window).off('resize', resize); setTimeout(function () { var main = $('#main'); var top = (window.innerHeight - main.height()) / 2; main.css('top', Math.max(0, top) + 'px'); $(window).on('resize', resize); }, 50); }).resize(); });

WISESPRAY

INQUIRIES: Wisespray North America
Tollfree: 1-866-541-1694
Tel: 702-718-1588
sales@wisespray.com