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