 
     # renderPersonal
     @renderPersonal()
-
-    # set focus to search box
-    if @searchFocus
-      @searchFocusSet = true
-      App.ClipBoard.setPosition( 'global-search', search.length )
-
-    else
-      @searchFocusSet = false
 
     searchFunction = =>
       App.Ajax.request(

    # bell on / bell off
    @bind 'bell', (data) =>
      if data is 'on'
        @el.find('.bell').addClass('show')
        App.Audio.play( 'https://www.sounddogs.com/previews/2193/mp3/219024_SOUNDDOGS__be.mp3' )
        @delay(
          -> App.Event.trigger('bell', 'off' )
          3000
        )
      else
        @el.find('.bell').removeClass('show')

  renderMenu: =>
    items = @getItems( navbar: @Config.get( 'NavBar' ) )

    # get open tabs to repopen on rerender
    open_tab = {}
    @el.find('.open').children('a').each( (i,d) =>
      href = $(d).attr('href')
      open_tab[href] = true
    )

    # get active tabs to reactivate on rerender
    active_tab = {}
    @el.find('.active').children('a').each( (i,d) =>
      href = $(d).attr('href')
      active_tab[href] = true
    )
    @el.find('.main-navigation').html App.view('navigation/menu')(
      items:      items
      open_tab:   open_tab
      active_tab: active_tab

      )

    # observer search box
    @$('#global-search').bind( 'focusin', (e) =>

      @$('.search').addClass('focused')

      # check if search is needed
      term = @$('#global-search').val().trim()
      return if !term
      @term = term
      @delay( searchFunction, 220, 'search' )
    )

    # remove search result
    @$('#global-search').bind( 'focusout', (e) =>
      @$('.search').removeClass('focused')

      @delay(
        =>
          @renderResult()
        320
      )
    )

    # prevent submit of search box
    @$('form.search').bind( 'submit', (e) =>
      e.preventDefault()
    )

    # start search
    @$('#global-search').bind( 'keyup', (e) =>
      term = @$('#global-search').val().trim()
      return if !term
      return if term is @term
      @term = term
      @$('.search').toggleClass('filled', !!@term)
      @delay( searchFunction, 220, 'search' )
    )

    # bind to empty search
    @$('.empty-search').on(
      'click'
      =>
        @$('#global-search').val('')
        @$('.search').removeClass('filled')
    )

    new App.OnlineNotificationWidget(
      el: @el
    )

    @taskbar = new App.TaskbarWidget( el: @$('.tasks') )

  getItems: (data) ->
    navbar =  _.values(data.navbar)
