/* -----------------------------------------
		        CL MENU JS
		         Sep 2010
		    By: Ryan Stoddard
		   www.ryanstoddard.com
-----------------------------------------*/


//NAV SWING


//m1
$(document).ready(function(){
	$('#m1').mouseover(function(){
		$(this).animate({rotate: '-15deg', scale: '1.12',}, 175,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '10deg', scale: '1.05',}, 225,'jswing');
		$(this).animate({rotate: '-10deg', scale: '1',}, 175,'jswing');
		$(this).animate({rotate: '0deg',}, 200,'jswing');
	});;
}); 


//m2
$(document).ready(function(){
	$('#m2').mouseover(function(){
		$(this).animate({rotate: '12deg', scale: '1.12',}, 175,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '-10deg', scale: '1.05',}, 225,'jswing');
		$(this).animate({rotate: '10deg', scale: '1',}, 175,'jswing');
		$(this).animate({rotate: '0deg',}, 200,'jswing');
	});;
}); 


//m3
$(document).ready(function(){
	$('#m3').mouseover(function(){
		$(this).animate({rotate: '-12deg', scale: '1.12',}, 175,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '8deg', scale: '1.05',}, 225,'jswing');
		$(this).animate({rotate: '-7deg', scale: '1',}, 175,'jswing');
		$(this).animate({rotate: '0deg',}, 200,'jswing');
	});;
}); 


//m4
$(document).ready(function(){
	$('#m4').mouseover(function(){
		$(this).animate({rotate: '-13deg', scale: '1.12',}, 175,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '8deg', scale: '1.05',}, 225,'jswing');
		$(this).animate({rotate: '-8deg', scale: '1',}, 175,'jswing');
		$(this).animate({rotate: '0deg',}, 200,'jswing');
	});;
}); 


//m5
$(document).ready(function(){
	$('#m5').mouseover(function(){
		$(this).animate({rotate: '10deg', scale: '1.12',}, 175,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '-10deg', scale: '1.05',}, 225,'jswing');
		$(this).animate({rotate: '10deg', scale: '1',}, 175,'jswing');
		$(this).animate({rotate: '0deg',}, 200,'jswing');
	});;
}); 


//m6
$(document).ready(function(){
	$('#m6').mouseover(function(){
		$(this).animate({rotate: '-15deg', scale: '1.12',}, 175,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '10deg', scale: '1.05',}, 225,'jswing');
		$(this).animate({rotate: '-10deg', scale: '1',}, 175,'jswing');
		$(this).animate({rotate: '0deg',}, 200,'jswing');
	});;
}); 



//FEATURED MENU

//f1
$(document).ready(function(){
	$('#f1').mouseover(function(){
		$(this).animate({rotate: '-10deg', scale: '1.13',}, 275,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '0deg', scale: '1',}, 175,'jswing');
	});;
}); 

//f2
$(document).ready(function(){
	$('#f2').mouseover(function(){
		$(this).animate({rotate: '7deg', scale: '1.13',}, 275,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '0deg', scale: '1',}, 175,'jswing');
	});;
}); 

//f3
$(document).ready(function(){
	$('#f3').mouseover(function(){
		$(this).animate({rotate: '10deg', scale: '1.13',}, 275,'jswing');
			
	}).mouseout(function(){ 
	$(this).animate({rotate: '0deg', scale: '1',}, 175,'jswing');
	});;
}); 

//FEATURED MENU BUBBLES

/*$(document).ready(function(){
	$(".fPopup a").hover(function() {
		$(this).next("em").stop(true, true).animate({opacity: "show", top: "-3"}, 275);
		}, function() {
		$(this).next("em").animate({opacity: "hide", top: "5"}, 175);
	});
});*/


