content: sub HeaderInfo()
      m.rowList = m.top.findNode("rowList")
      m.titleMovie = m.top.findNode("titleMovie")
      m.descriptionMovie = m.top.findNode("descriptionMovie")
      m.rowList.ObserveField("rowItemFocused", "OnItemFocused")
  end sub
  
  sub OnItemFocused ()
      focusedIndex = m.rowList.rowItemFocused
      row = m.rowList.content.getChild(focusedIndex[0])
      item = row.getChild(focusedIndex[1])
      m.titleMovie.text = item.title
      m.descriptionMovie.text = item.description
  
      if item.length <> invalid
          m.titleMovie.text += " | " + GetTime(item.length)
      end if
  end sub
  
  function GetTime(length as Integer) as String
      minutes = (length \ 60).ToStr()
      seconds = length MOD 60
      if seconds < 10
         seconds = "0" + seconds.ToStr()
      else
         seconds = seconds.ToStr()
      end if
      return minutes + ":" + seconds
  end function