$(document).ready(function() {
	$("#some img").rotate({ 
	    bind: { 
	   		mouseover : function() { $(this).rotate({animateTo:-3, duration:400}) },
			mouseout : function() { $(this).rotate({animateTo:0})}
		}
	});
	$("#lang ul li a").hover(
			function() { $(this).animate({'opacity': 0.5 }, 100); },
			function () { $(this).animate({'opacity': 1 }, 100); }
	);
	if($("#front-buttons").length) { 
		$("#front-buttons ul li img").rotate({ 
			bind: { 
				mouseover : function() { $(this).rotate({animateTo:3, duration:400}) },
				mouseout : function() { $(this).rotate({animateTo:0})}
			}
		});
	}
	if($("#front-buttons-2").length) {
		$("#front-buttons-2 ul li a").hover(
			function() { $(this).animate({'opacity': 0.5 }, 100); },
			function () { $(this).animate({'opacity': 1 }, 100); }
		);
	}
	//Natural Sweet 
	
	if($("ul.ns-product-menu").length) { 
		$("ul.ns-product-menu img").rotate({ 
			bind: { 
				mouseover : function() { $(this).rotate({animateTo:16, duration:400}) },
				mouseout : function() { $(this).rotate({animateTo:0})}
			}
		});
	}
	
});
