$(document).ready(function(){

	


	
	//Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/
	
	//Remove outline from links
	$("a").click(function(){
		$(this).blur();
	});
	
	
	
	
	
	//When mouse rolls over 250px / 
	$("li#JS_Ref_ClassicCollection").mouseover(function(){
		$("ul.ClassicCollection").stop().animate({height:'300px'},{queue:false, duration:400, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("li#JS_Ref_ClassicCollection").mouseout(function(){
		$("ul.ClassicCollection").stop().animate({height:'10px'},{queue:false, duration:50, easing: 'easeOutBounce'})
	});
	
	//When mouse rolls over 150px / 
	$("li#JS_Ref_CorporateCollection").mouseover(function(){
		$("ul.CorporateCollection").stop().animate({height:'150px'},{queue:false, duration:400, easing: 'easeOutBounce'})
		
	});
	
	//When mouse is removed
	$("li#JS_Ref_CorporateCollection").mouseout(function(){
		$("ul.CorporateCollection").stop().animate({height:'10px'},{queue:false, duration:50, easing: 'easeOutBounce'})
	});
	
	
	
	
	//When mouse rolls over
	$("li#JS_Ref_Bargear").mouseover(function(){
		$("ul.Bargear").stop().animate({height:'210px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("li#JS_Ref_Bargear").mouseout(function(){
		$("ul.Bargear").stop().animate({height:'10px'},{queue:false, duration:50, easing: 'easeOutBounce'})
	});
	
	
	
	//When mouse rolls over :  450px / 390px
	$("li#JS_Ref_Gamegear").mouseover(function(){
		$("ul.Gamegear").stop().animate({height:'450px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("li#JS_Ref_Gamegear").mouseout(function(){
		$("ul.Gamegear").stop().animate({height:'10px'},{queue:false, duration:50, easing: 'easeOutBounce'})
	});
	
	
	//When mouse rolls over 280px / 370px
	$("li#JS_Ref_Cooltex").mouseover(function(){
		$("ul.Cooltex").stop().animate({height:'370px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("li#JS_Ref_Cooltex").mouseout(function(){
		$("ul.Cooltex").stop().animate({height:'10px'},{queue:false, duration:50, easing: 'easeOutBounce'})
	});
	
	
	
	
	//When mouse rolls over 140px / 180px
	
	$("li#JS_Ref_FormulaRacing").mouseover(function(){
		$("ul.FormulaRacing").stop().animate({height:'180px'},{queue:false, duration:600, easing: 'easeOutBounce'})
	});
	
	//When mouse is removed
	$("li#JS_Ref_FormulaRacing").mouseout(function(){
		$("ul.FormulaRacing").stop().animate({height:'10px'},{queue:false, duration:50, easing: 'easeOutBounce'})
	});
	
	
	//When mouse rolls over
	//$("li").mouseover(function(){
//		$(this).stop().animate({height:'150px'},{queue:false, duration:600, easing: 'easeOutBounce'})
//	});
//	
//	//When mouse is removed
//	$("li.brochure").mouseout(function(){
//		$(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'})
//	});
	
});