//
// Advert
//
FVWebComponent.Advert = function(id, config) {
    this.init(id, config);
}

FVWebComponent.Advert.prototype = new FVWebComponent.ComponentBase;

FVWebComponent.Advert.prototype.init = function (id, config) {
    FVWebComponent.ComponentBase.prototype.init.call(this, id, config);    
    FVWebComponent.addEventHandler(this, this.handleFVWebComponentEvent);
}

FVWebComponent.Advert.prototype.handleFVWebComponentEvent = function (type, args, me) {
    //alert("Advert (" + me.id + ") is handling event: " + args[0].toString());
}

FVWebComponent.Advert.prototype.clear = function () {
    alert("Advert.clear() must be implemented for " + this.id);
}

FVWebComponent.Advert.prototype.refresh = function () {
    alert("Advert.refresh() must be implemented for " + this.id);
}