$(document).ready(function() {
  $("#splash").hide();
  $("footer").hide();
  if ($("#splash").length > 0) {
    $("#splash").bind("load", function () {
      $("#splash").fadeIn(3000);
      $("footer").delay(1500).fadeIn(3000);
    });
    $("#splash").fadeIn(3000);
    $("footer").delay(1500).fadeIn(3000);
  } else {
    $("footer").delay(1500).fadeIn(3000);
  }
  $("a[class='tooltip-hover']").tooltip();
  $("a[class='tooltip-click']").tooltip({
    trigger: "click"
  });
  $("a[class^='tooltip-']").attr("href", "javascript:void(0)");
  $("a[href$='.jpg'],a[href$='.png']").fancybox({
    padding: 10,
    margin: 50,
    loop: false,
    helpers : {
      title : {
        type: "over"
      },
      overlay : {
        showEarly: false,
        css : {
          "background" : "rgba(25, 25, 25, 0.80)"
        }
      }
    }
  });
  $(".fancybox-media").fancybox({
    padding: 10,
    margin: 50,
    loop: false,
    helpers : {
      media : {},
      title : {
        type: "float"
      },
      overlay : {
        showEarly: false,
        css : {
          "background" : "rgba(25, 25, 25, 0.80)"
        }
      }
    }
  });
});
$(document).ready(function() {
  $("#splash").hide();
  $("footer").hide();
  if ($("#splash").length > 0) {
    $("#splash").bind("load", function () {
      $("#splash").fadeIn(3000);
      $("footer").delay(1500).fadeIn(3000);
    });
  } else {
    $("footer").delay(1500).fadeIn(3000);
  }
  $("a[class='tooltip-hover']").tooltip();
  $("a[class='tooltip-click']").tooltip({
    trigger: "click"
  });
  $("a[class^='tooltip-']").attr("href", "javascript:void(0)");
  $("a[href$='.jpg'],a[href$='.png']").fancybox({
    padding: 10,
    margin: 50,
    loop: false,
    helpers : {
      title : {
        type: "over"
      },
      overlay : {
        showEarly: false,
        css : {
          "background" : "rgba(25, 25, 25, 0.80)"
        }
      }
    }
  });
  $(".fancybox-media").fancybox({
    padding: 10,
    margin: 50,
    loop: false,
    helpers : {
      media : {},
      title : {
        type: "float"
      },
      overlay : {
        showEarly: false,
        css : {
          "background" : "rgba(25, 25, 25, 0.80)"
        }
      }
    }
  });
});
Revert "Attempt to fix fading of splash image"
Revert "Attempt to fix fading of splash image"

This reverts commit c7bf9d431e13746db551cd983420258f92d554a0.
