 })
 
 
-#FM.MessageList = React.createClass({
-#
-#    #renderSingle: ->
-#    #    message = this.state.message
-#    #    React.DOM.div(null,
-#    #        React.DOM.dl({className: "dl-horizontal"},
-#    #            React.DOM.dt(null, "Subject"),
-#    #            React.DOM.dd(null, message.message_subject),
-#    #            React.DOM.dt(null, "From"),
-#    #            React.DOM.dd(null, message.message_sender),
-#    #            React.DOM.dt(null, "Date"),
-#    #            React.DOM.dd(null, message.date)
-#    #        ),
-#    #        React.DOM.pre(null,
-#    #            this.state.message.contents[0]
-#    #        )
-#    #    )
-#
-#})
-
-
-FM.Message = React.createClass({
-    displayName: 'Message'
-    render: ->
-        React.DOM.tr(null,
-            React.DOM.td(null, React.DOM.a({
-                href: FM.makeUrl(@props.mailbox, @props.key)
-            }, @props.subject)),
-            React.DOM.td(null, @props.sender),
-            React.DOM.td(null, @props.date)
-        )
-});
-
-
 FM.PagerItem = React.createClass({
 
     displayName: 'PagerItem'

    displayName: 'Alert'
    render: ->
        if @props.code && @props.message
            return React.DOM.div({className: "alert alert-danger", role: "alert"},
                React.DOM.strong(null, @props.code), ": ", @props.message
            );
})

        })

        messageList = if @state.messages
            messageNodes = @state.messages.map((message) => @renderMessage(
                message.mUid
                message.mSubject
                message.mSender
                message.mDate
                message.mContents
            ))
            React.DOM.div(null
                React.DOM.table({className: 'table table-striped table-hover'}
                    React.DOM.thead(null
                        React.DOM.tr(null
                            React.DOM.th(null, 'Subject')
                            React.DOM.th(null, 'From')
                            React.DOM.th(null, 'Date')
                        )
                    )
                    React.DOM.tbody(null, messageNodes)
                )
            )
        else React.DOM.div({}, 'Loading...')

        return React.DOM.div({className: 'panel panel-default'}
            React.DOM.div({className: 'panel-heading'}
                React.DOM.h4({className: 'panel-title'}
                    React.DOM.a({
                        'data-toggle': 'collapse'
                        href: "##{@safeID}"
