
function arrange() {
  var h = $(window).height();
  var w = $(window).width();
  var content = $('#content');
  content.css('margin-top', 'inherit');
  content.css('position', 'absolute');
  content.css('top', ( h - content.height() - 20 ) / 2 );
  content.css('left', ( w - content.width() - 2 ) / 2 );
}

$(document).ready(function() {
  arrange();
});

$(window).resize(function() {
  arrange();
});

