/*

Main Javascript for jQuery Realistic Hover Effect
Created by Adrian Pelletier
http://www.adrianpelletier.com

This script, originally created by Adrian Pelletier as stated above,
has been modified by Matt Ferderer (http://www.mattferderer.com)
The original script can be found on Adrian's website.

*/

/* =Realistic Navigation
============================================================================== */
	$(document).ready(function() {
		$("#footer .menu li").append('<img class="shadow" src="/include/styles/standard/images/shadow.jpg"  width="87" height="39" alt="shadow effect" />');
		$("#footer .menu li").hover(function() {
			var e = this;
		    $(e).find("a").stop().animate({ marginTop: "-14px" }, 250, function() {
		    	$(e).find("a").animate({ marginTop: "-10px" }, 250);
		    });
		    $(e).find("img.shadow").stop().animate({opacity: .6 }, 250);
		},function(){
			var e = this;
		    $(e).find("a").stop().animate({ marginTop: "4px" }, 250, function() {
		    	$(e).find("a").animate({ marginTop: "0px" }, 250);
		    });
		    $(e).find("img.shadow").stop().animate({opacity: 1 }, 250);
		});
	});
