-(IBAction)translucentViewDown:(id)sender
{
CGContextRef context=UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.2];
CGRect rect=self.translucentView.frame;
rect.origin.y=450.0;
self.btn_down.alpha=0.0;
self.translucentView.alpha=0.0;
self.translucentView.frame=rect;
self.btn_up.alpha=1.0;
[UIView commitAnimations];
self.btn_up.userInteractionEnabled=YES ;
self.btn_down.userInteractionEnabled=NO ;
}
-(IBAction)translucentViewUp:(id)sender
{
CGContextRef context=UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
CGRect rect=self.translucentView.frame;
rect.origin.y=164.0;
self.btn_down.alpha=1.0;
self.translucentView.alpha=1.0;
self.translucentView.frame=rect;
self.btn_up.alpha=0.0;
[UIView commitAnimations];
self.btn_up.userInteractionEnabled=NO ;
self.btn_down.userInteractionEnabled=YES;
}