jQuery(document).ready(function() {

	jQuery("body").css("display", "none").fadeIn(1000);

	jQuery("body").css("display", "static").fadeIn(1000);
  
  jQuery("a").click(function(event){
    event.preventDefault();
    linkLocation = this.href;
    jQuery("body").fadeOut(1000, redirectPage);
  });

  function redirectPage() {
    window.location = linkLocation;
  }
  
// OPACITY OF BUTTON SET TO 50%
$(".latest_img").css("opacity","0.5");
		
// ON MOUSE OVER
$(".latest_img").hover(function () {
										  
// SET OPACITY TO 100%
$(this).stop().animate({
opacity: 1.0
}, "slow");
},
		
// ON MOUSE OUT
function () {
			
// SET OPACITY BACK TO 50%
$(this).stop().animate({
opacity: 0.5
}, "slow");
});
});


jQuery(function() {
// OPACITY OF BUTTON SET TO 50%
$("#text p").css("opacity","0.5");
		
// ON MOUSE OVER
$("#text p").hover(function () {
										  
// SET OPACITY TO 1000%
$(this).stop().animate({
opacity: 1.0
}, "slow");
},
		
// ON MOUSE OUT
function () {
			
// SET OPACITY BACK TO 50%
$(this).stop().animate({
opacity: 0.5
}, "slow");
});
});


jQuery(function() {
// OPACITY OF BUTTON SET TO 50%
$("#div").css("opacity","0.5");
		
// ON MOUSE OVER
$("#div").hover(function () {
										  
// SET OPACITY TO 100%
$(this).stop().animate({
opacity: 1.0
}, "slow");
},
		
// ON MOUSE OUT
function () {
			
// SET OPACITY BACK TO 50%
$(this).stop().animate({
opacity: 0.5
}, "slow");
});
});
