// PAGE FADE SCRIPT
      $(document).ready(function() {
      $("body").css("display", "none");
      $("body").fadeIn(200);
     	$("a.infoLink").click(function(event){
  		event.preventDefault();
  		linkLocation = this.href;
  		$("body").fadeOut(200, redirectPage);
  		});
     	function redirectPage() {
  		window.location = linkLocation;
  	}
  });


// ICON ROTATE SCRIPT
  		$(document).ready(function() {
      $('#rb li div.front').hide().css('left', 0);
      function mySideChange(back) {
          if (back) {
              $(this).parent().find('div.back').show();
              $(this).parent().find('div.front').hide();
          } else {
              $(this).parent().find('div.back').hide();
              $(this).parent().find('div.front').show();
          }
      }
      $('#rb li').hover(
          function () {
              $(this).find('div').stop().rotate3Di('flip', 400, {direction: 'clockwise', sideChange: mySideChange});
          },
          function () {
              $(this).find('div').stop().rotate3Di('unflip', 500, {sideChange: mySideChange});
          }
      	);
  		});
			

//NEWS PANEL SCRIPT
<!--
var sipPos = 0;
$(document).ready(function() {
	$("#panel").click(function(e) {
		e.preventDefault();
		$("#panel").animate({ top: sipPos }, 800, 'linear', function() {
			if(sipPos == 0) { sipPos = -400; }
			else { sipPos = 0; }
		});
	});
});
-->
	
// LIGHTBOX SCRIPT
		$(function() {
		$("iframe").contents().find("a[rel^='prettyPhoto']").click(function() { $(this).prettyPhoto(); return false; } );
		});


