- (BOOL) shouldAutorotateToInterfaceOrientation:UIInterfaceOrientation) interfaceOrientation {
if (interfaceOrientation == UIInterfaceOrientationPortrait)
return NO;
if (interfaceOrientation == UIInterfaceOrientationLandscapeRight || interfaceOrientation == UIInterfaceOrientationLandscapeLeft )
return YES;
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}