Type.registerNamespace("EFGStorage");

EFGStorage.Shelf=function()
{
    this.id='';
    this.width=0;
    this.height=0;
    this.depth=0;
    this.defaultConfigId=0;
    this.positionRule=0;
    this.toolimage=null;
    this.positioningKey='';
}

EFGStorage.Shelf.prototype = {

    dispose: function() {
        alert('bye ' + this.getName());
    }
    ,
    allowOnTop: function(shelf) {
        return (this.positionRule!=2);
    }
}

EFGStorage.Shelf.registerClass('EFGStorage.Shelf', null, Sys.IDisposable);


if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();
