                         
                         next()
                     
-                    done: ()=>
-                
+                    done: (err)=>
+                        return done?(err) if err
+                        
                         href[linkdepth] = if curr < last then curr + 1 else 0 
-                        @__root.append $('<a>').attr('href', href.join '/')
-                            .attr('class', 'link next')
-                            .append($('<img class="icon" alt="&gt;">').attr 'src', '/img/arrow-'+@data.color+'-right.png')
-                         
+                        @__root.append @_createLink href.join('/'), 'right', @data.text.right, 'next', @data.imageLinks
+                        
                         href[linkdepth] = last 
-                        @__root.append $('<a>').attr('href', href.join '/')
-                            .attr('class', 'link last')
-                            .append($('<img class="icon" alt="&gt;|">').attr 'src', '/img/arrow-'+@data.color+'-last.png')
+                        @__root.append @_createLink href.join('/'), 'last', @data.text.last, 'last', @data.imageLinks
                         
-                        @_wireLinks data, done
+                        if floyd.system.platform is 'remote'
+                            @_wireLinks data, done
                                          
                         
                         

        ##
        ##
        _wireLinks: (data, done)->
            _emit = (i)=>
                @_emit 'browse',
                    offset: i*data.limit
                    limit: data.limit
                return false
                        
            @find('a').each (i, link)=>
                link = $(link).click ()=>
                
                    _emit parseInt link.attr('href').match(/([0-9]+)\/$/)[1]        
            
            done?()
            
        ##
        ##
        ##

                if rest is 0
                    last -= 1
                
                linkdepth = @data.linkdepth || 1
                href = location.pathname.split('/')
                href[linkdepth + 1] = ''
                
                href[linkdepth] = 0
                @__root.append @_createLink href.join('/'), 'first', @data.text.first, 'first', @data.imageLinks
                
                href[linkdepth] = if curr > 0 then curr - 1 else last 
                @__root.append @_createLink href.join('/'), 'left', @data.text.left, 'prev', @data.imageLinks
                
                @_process [0..last],
    
                    each: (i, next)=>
                        href[linkdepth] = i
                        
                        link = @_createLink href.join('/'), 'page', i + 1, 'page'
                    
                        if i is curr
                            link.addClass 'actual'
