$(document).ready(function() {
	$("#nav ul li.top-lvl").mouseover(function() {
		$(this).find("img").stop();
		var temp = $(this).find("img");
		temp.eq(0).animate(
			{
				opacity: 1,
				marginLeft: "14px"
			},
			200
		);
	});
	$("#nav ul li.top-lvl").mouseleave(function() {
		$(this).find("img").stop();
		var temp = $(this).find("img");
		temp.eq(0).animate(
			{
				opacity: 0,
				marginLeft: "0px"
			},
			200
		);
	});
	$("#nav ul li.top-lvl img").css("opacity", 0);
	$("#nav ul li.top-lvl img.no-hide").css("opacity", 1);
		
		$("#subnav > li").mouseover(function() {
			$(this).find("img").stop();
			var temp = $(this).find("img");
			temp.eq(0).animate(
				{
					opacity: 1,
					marginLeft: "14px"
				},
				200
			);
		});
		$("#subnav > li").mouseleave(function() {
			$(this).find("img").stop();
			var temp = $(this).find("img");
			temp.eq(0).animate(
				{
					opacity: 0,
					marginLeft: "0px"
				},
				200
			);
		});
		$("#subnav > li img").css("opacity", 0);
		$("#subnav > li img.no-hide").css("opacity", 1);
		
	$(".btn1").mouseover(function() {
		$(this).stop();
		$(this).animate(
			{
				backgroundColor: "#161616"
			},
			200
		);
	});
	$(".btn1").mouseleave(function() {
		$(this).stop();
		$(this).animate(
			{
				backgroundColor: "#292929"
			},
			200
		);
	});
	$(".btn2").mouseover(function() {
		$(this).find("img").stop();
		$(this).find("img").animate(
			{
				opacity: 1,
				left: "-12px"
			},
			200
		);
	});
	$(".btn2").mouseleave(function() {
		$(this).find("img").stop();
		$(this).find("img").animate(
			{
				opacity: 0,
				left: "-26px"
			},
			200
		);
	});
	$(".btn2 img").css({opacity:"0"});
});