/*

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

*/

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

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

	/* =Reflection Nav
	-------------------------------------------------------------------------- */	
		
		// Append span to each LI to add reflection
		
		jQuery(".topNav ul li").append("<div></div>");	
		
		// Animate buttons, move reflection and fade
		
		jQuery(".topNav a").hover(function() {
		    jQuery(this).stop().animate({ marginTop: "-5px" }, 200);
		    jQuery(this).parent().find("div").stop().animate({ marginTop: "10px", opacity: 1 }, 200);
		},function(){
		    jQuery(this).stop().animate({ marginTop: "0px" }, 300);
		    jQuery(this).parent().find("div").stop().animate({ marginTop: "1px", opacity: 1 }, 300);
		});
	
		
	// End jQuery
	
	});
