        ZONTIK.Class.create("ZONTIK.Controls.TIReplace", ZONTIK.Controls.Control, 
                function(config) {
                    var thisContext = this;
                    this.items = config.items;
                    $(document).ready(function(){
                      thisContext.initialize();
                    });
                }, 
                {
                    items : [],
                    
                    checkReplacement: function() {
                        this.replaceAllItems();
                    },
                    
                    initialize: function() {
                        this.replaceAllItems();
                        setTimeout(ZONTIK.Delegate.create(this, this.checkReplacement),1000)
                    },
                    
                    replaceAllItems: function() {
                        for (var i=0; i < this.items.length; i++) {
                            this.replaceItem(this.items[i].element, this.items[i].replacement);
                        }
                    },
                    
                    replaceItem: function(element, replacement) {
                        $(element).show();
                        $(element).html("<span class='TIReplaced'><img src='" + replacement + "'></span>");
                    }
                }
            );