     func determineBackButton(){
         self.navigationItem.leftBarButtonItem = preferredLeftBarButtonItem()
     }
-    
+
     func determineRightButton(){
         self.navigationItem.rightBarButtonItem = preferredRightButtonItem()
     }

        let action =  count > 1 ? "goback:" : "openmenu:"
        return UIBarButtonItem(image: preferredBackButton(), landscapeImagePhone: .None, style: .Plain, target: self, action: Selector(action))
    }
    
    public func preferredRightButton() -> UIImage {
        return UIImage()
    }
    
    public func preferredRightButtonItem() -> UIBarButtonItem {
        let image = preferredBackButton()
        return UIBarButtonItem(image: image, landscapeImagePhone: .None, style: .Plain, target: self, action: Selector("preferredRightButtonTarget:"))
    }
    
    public func preferredRightButtonTarget(sender: AnyObject){
        
    }

}

    public func pushViewController(viewController: UIViewController){
        self.navigationController?.pushViewController(viewController, animated: true)
    }

    func determineNavBarButtons(){
        determineBackButton()
        determineRightButton()
