$(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 loaded
	$("ul.logindd li").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutBack'})
	$("ul.logindd li input").stop().animate({"opacity": "0"}, "slow");
	
	//When mouse rolls over
	$("ul.logindd li").mouseover(function(){
		$(this).stop().animate({height:'175px'},{queue:false, duration:600, easing: 'easeOutBack'})
		$("ul.logindd li input").stop().animate({"opacity": "1"}, "fast");
	});
	
	//When mouse is removed
	$("ul.logindd li").mouseout(function(){
		$(this).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBack'})
		$("ul.logindd li input").stop().animate({"opacity": "0"}, "fast");
	});
	

	//When loaded
	$("ul.viewdd li").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutBack'})
	$("ul.viewdd li input").stop().animate({"opacity": "0"}, "slow");
	
	//When mouse rolls over
	$("ul.viewdd li").mouseover(function(){
		$(this).stop().animate({height:'106px'},{queue:false, duration:600, easing: 'easeOutBack'})
		$("ul.viewdd li input").stop().animate({"opacity": "1"}, "fast");
	});
	
	//When mouse is removed
	$("ul.viewdd li").mouseout(function(){
		$(this).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBack'})
		$("ul.viewdd li input").stop().animate({"opacity": "0"}, "fast");
	});
	
	
	
	//When loaded
	$("ul.sortdd li").stop().animate({height:'0px'},{queue:false, duration:0, easing: 'easeOutBack'})
	$("ul.sortdd li input").stop().animate({"opacity": "0"}, "slow");
	
	//When mouse rolls over
	$("ul.sortdd li").mouseover(function(){
		$(this).stop().animate({height:'106px'},{queue:false, duration:600, easing: 'easeOutBack'})
		$("ul.sortdd li input").stop().animate({"opacity": "1"}, "fast");
	});
	
	//When mouse is removed
	$("ul.sortdd li").mouseout(function(){
		$(this).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBack'})
		$("ul.sortdd li input").stop().animate({"opacity": "0"}, "fast");
	});
	
});
