                 name = background.replace '-', '_'
                 val = "url('/img/backgrounds/#{name}.jpg')"
             else
-                val = "url('/api/backgrounds/#{background}/picture.jpg')"
+                val = "url('/api/backgrounds/#{background}>A/picture.jpg')"
 
             @content.css 'background-image', val
 


        frame = @$("##{slug}-frame")
        onLoad = =>
            @frames.show()
            @content.hide()
            @backButton.show()


            app?.routers.main.navigate "/apps/#{slug}/#{newhash}", false

            # Ugly trick required because some app state changes requires
            # to redraw the iframe.
            @resetLayoutSizes()

    ### Configuration ###

    # Small trick to size properly iframe.
    resetLayoutSizes: =>
        # Ugly trick to for redrawing of iframes.
        @frames.find('iframe').height "99%"
        setTimeout =>
