(function() {
  jQuery(function() {
    var preload;
    preload = new Image();
    preload.src = "/images/bg.jpg";
    $(window).resize(function() {
      var $photo;
      $photo = $('.photo');
      $photo.css({
        left: ($(window).width() - $photo.outerWidth()) / 2,
        top: ($(window).height() - $photo.outerHeight()) / 2
      });
      return $('.footer').css({
        left: ($(window).width() - $('.footer').outerWidth()) / 2
      });
    });
    return $(window).resize();
  });
}).call(this);

