/*

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

*/

/* =Realistic Navigation
============================================================================== */

	// Begin jQuery
	
	$(document).ready(function() {

	/* =Reflection footlinks
	-------------------------------------------------------------------------- */	
		
		// Append span to each LI to add reflection
		
		$("#footlinks-re li").append("<span></span>");	
		
		// Animate buttons, move reflection and fade
		
		$("#footlinks-re a").hover(function() {
		    $(this).stop().animate({ marginTop: "-5px" }, 200);
		    $(this).parent().find("span").stop().animate({ marginTop: "16px", opacity: 0.50 }, 200);
		},function(){
		    $(this).stop().animate({ marginTop: "0px" }, 300);
		    $(this).parent().find("span").stop().animate({ marginTop: "0px", opacity: 1 }, 300);
		});
				
				
	/* =Reflection footlogos
	-------------------------------------------------------------------------- */		
			
		// Append span to each LI to add reflection
		$("#footlogos-re li").append("<span></span>");	
		
		// Animate buttons, move reflection and fade
		
		$("#footlogos-re a").hover(function() {
		    $(this).stop().animate({ marginTop: "-5px" }, 200);
		    $(this).parent().find("span").stop().animate({ marginTop: "16px", opacity: 0.50 }, 200);
		},function(){
		    $(this).stop().animate({ marginTop: "0px" }, 300);
		    $(this).parent().find("span").stop().animate({ marginTop: "0px", opacity: 1 }, 300);
		});
				});
