/*
 * Ext JS Library 2.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

Ext.ux.Portlet = Ext.extend(Ext.Panel, {
    anchor: '100%',
    frame:true,
    collapsible:true,
    draggable:true,
    cls:'x-portlet',
	expandDefaults:{duration:0.98},
	collapseDefaults:{duration:0.98}
});
Ext.reg('portlet', Ext.ux.Portlet);

Ext.ux.ColorPicker = Ext.extend(Ext.ColorPalette, {
  initComponent: function(){
        Ext.ux.ColorPicker.superclass.initComponent.call(this);
        this.addEvents({
            'select' : true
        });         
    }
});
Ext.reg('colorPicker', Ext.ux.ColorPicker);

