   click: (callback) ->
     @window.addEventListener("click", callback)
     
-    
-  # events for orientation changes
   onPortrait: ->
     
   onLandscape: ->

       #@settings.backgroundRepeat = true #NOTE: GJ: waiting for titanium retina bug to be fixed

  focus: (e) =>
    Ti.API.info 'BaseView.focus'
    @onInit() if !@uiInitialised
    @onFocus()
    @uiInitialised = true

      @onLandscape()
      
  onFocus: ->
    Ti.API.debug 'BaseView.onFocus'
    
  show: (options = {}) =>
    if @settings.navGroup?
