/* Using jQuery For The Animation */
$(function() {
	// set opacity to nill on page load
	$("ul#navigation span").css("opacity","0");
	// on mouse over
	$("ul#navigation span").hover(function () {
		// animate opacity to full
		$(this).stop().animate({
			opacity: 1
		}, 'fast');
	},
	// on mouse out
	function () {
		// animate opacity to nill
		$(this).stop().animate({
			opacity: 0
		}, 'fast');
	});
});

$(function() {
	// set opacity to nill on page load
	$("ul#navigation span").css("opacity","0");
	// on mouse over
	$("ul#navigation span").hover(function () {
		// animate opacity to full
		$(this).stop().animate({
			opacity: 1
		}, 'fast');
	},
	// on mouse out
	function () {
		// animate opacity to nill
		$(this).stop().animate({
			opacity: 0
		}, 'fast');
	});
});


/* opacity-rollover */
$(function() {
  $('#footer li').opOver();
  $('#side li').opOver();
  $('#side dd').opOver();
  $('.inbox img.pp').opOver();
  $('.inbox a img.right').opOver();
});


/* prettyPhoto */
$(document).ready(function(){
	$("a[rel^='prettyPhoto']").prettyPhoto({animation_speed: 'slow'});
});

