$(document).ready(function(){
	$('#noflash ').fadeIn(2000);
	
	$(".flip").click(function(){
	    $(".panel").stop().slideUp(500, "easeOutQuart");
		$('.flip').stop().animate( {
								backgroundColor: '#493819',
								color: '#fff'
								}, 500, "easeOutQuart")
								
		$('.flip').hover(function() {
						$(this).stop().animate( {
												backgroundColor: '#493819',
												color: '#fff'
												}, 500, "easeOutQuart")
					}, function() {
						$(this).stop().animate( {
												backgroundColor: '#493819',
												color: '#fff'
												}, 500, "easeOutQuart")
					});
					
		$(this).unbind('mouseenter mouseleave')
		$(this).stop().animate( {
								backgroundColor: '#CE7A00',
								color: '#fff'
								}, 500, "easeOutQuart")
		$(this).next().stop().slideDown(500, "easeOutQuart");
		
	  });
	  
	$('.flip').hover(function() {
						$(this).stop().animate( {
												backgroundColor: '#8d6f38',
												color: '#fff'
												}, 500, "easeOutQuart")
					}, function() {
						$(this).stop().animate( {
												backgroundColor: '#493819',
												color: '#fff'
												}, 500, "easeOutQuart")
					}); 
					
	$('a').hover(function() {
						$(this).stop().animate( {
												color: '#493819'
												}, 500, "easeOutQuad")
					}, function() {
						$(this).stop().animate( {
												color: '#493819'
												}, 500, "easeOutQuad")
					});
					
	$('.getFlash').hover(function() {
						$(this).stop().animate( {
												backgroundColor: '#493819'
												}, 500, "easeOutQuad")
					}, function() {
						$(this).stop().animate( {
												backgroundColor: '#493819'
												}, 500, "easeOutQuad")
					});
					
	$("#Heading").click(function(){
	    $(".panel").stop().slideUp(500, "easeOutQuart");
		$('.flip').stop().animate( {
								backgroundColor: '#493819',
								color: '#fff'
								}, 500, "easeOutQuart")
								
		$('.flip').hover(function() {
						$(this).stop().animate( {
												backgroundColor: '#000000',
												color: '#fff'
												}, 500, "easeOutQuart")
					}, function() {
						$(this).stop().animate( {
												backgroundColor: '#CE7A00',
												color: '#fff'
												}, 500, "easeOutQuart")
					});
		
	  });
});
