$(document).ready(function(){
						  	//set this to the height of the image
						   
						   $(".drops").each(function(){
												//alert($(this).find(".upmove"));
												if($(this).parents(".upmove").length>0){
													$(this).find(".specialshades").css("border-bottom","0px solid #0fb8f1");
													
													 $(this).css("top","0px");
												} else {
													$(this).find(".specialshades").css("border-top","0px solid #0fb8f1");
													 $(this).css("top","60px");
												}
													
													
													
													});
						   
						   passbg=$(".choices").css("background-color");
						   
						   $(".choices").css("opacity","0");
	
	$(".choices").each(function(){
								
								if($(this).parents(".upmove").length>0){
									//$(this).css("top",$(this).height()+"px");	
								}else{
								
				$(this).css("top","-"+$(this).height()+"px");		
								}
				
								
								});
						   
	$(".indibut").mouseover(function(){
									 
					if($(this).parents(".upmove").length>0){
						mymover=$(this);
					$(this).find(".title a").css("background-color",passbg);
					
					$(this).find(".drops").stop().animate({"height":$(this).find(".choices").height()+"px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					$(this).find(".drops").animate({"top":"-"+$(this).find(".choices").height()+"px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					
					//$(this).find(".choices").animate({"top":"-"+$(this).find(".choices").height()+"px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					//$(this).find(".choices").stop().animate({"top":"0px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					$(this).find(".choices").stop().animate({"opacity":"1"},{queue:false, duration:1000});
						
					} else {
									 
									 
									 
								
					//mymover=$(this).closest(".indibut");	
					mymover=$(this);
					$(this).find(".title a").css("background-color",passbg);
					//$(mymover).find(".drops").css("height",$(mymover).find(".choices").height()+"px");
					$(this).find(".drops").stop().animate({"height":$(this).find(".choices").height()+"px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					//alert($(mymover).find(".choices").height()+"px");
					$(this).find(".choices").stop().animate({"top":"0px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					$(this).find(".choices").animate({"opacity":"1"},{queue:false, duration:1000});
					//$(".drops").css("height","200px");
					
					
					}
								
								});
	
	
	$(".indibut").mouseout(function(){
									
									if($(this).parents(".upmove").length>0){
								
					//mymover=$(this).closest(".indibut");	
					mymover=$(this);
					$(this).find(".title a").css("background-color","");
					//$(mymover).find(".drops").css("height",$(mymover).find(".choices").height()+"px");
					$(this).find(".drops").stop().animate({"height":"0px"},{queue:false, duration:750, easing: 'easeOutExpo'});
					$(this).find(".drops").animate({"top":"0px"},{queue:false, duration:750, easing: 'easeOutExpo'});
					//alert($(mymover).find(".choices").height()+"px");
					//$(this).find(".choices").stop().animate({"top":$(this).find(".choices").height()+"px"},{queue:false, duration:750, easing: 'easeOutExpo'});
					$(this).find(".choices").stop().animate({"opacity":"0"},{queue:false, duration:900, easing: 'easeOutExpo'});
					
					} else {
					mymover=$(this);
					$(this).find(".title a").css("background-color","");
					//$(mymover).find(".drops").css("height",$(mymover).find(".choices").height()+"px");
					$(this).find(".drops").stop().animate({"height":"0px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					//alert($(mymover).find(".choices").height()+"px");
					$(this).find(".choices").stop().animate({"top":"-"+$(this).find(".choices").height()+"px"},{queue:false, duration:450, easing: 'easeOutExpo'});
					$(this).find(".choices").animate({"opacity":"0"},{queue:false, duration:900, easing: 'easeOutExpo'});
					
					}
								});
	
	
	
});
