Ext.namespace('mm.bottompanel.rightbox.greetbox.base');
mm.bottompanel.rightbox.greetbox.base.construct = function(autoconstruct){
	this.el = $('.mm-bottompanel-rightbox-greetbox-base');
	this.constructor = function()
	{
		this.el.find('.box_register .button').bind('click', function(event){
			event.preventDefault();
			new mm.register.base.construct(true);
		});
		this.el.disableSelection();
	};

	if (typeof autoconstruct != 'undefined' && autoconstruct)
	{
		this.constructor();
	}
};
mm.bottompanel.rightbox.greetbox.base.construct.prototype.domname = 'mm-bottompanel-rightbox-greetbox-base';
mm.bottompanel.rightbox.greetbox.base.construct.prototype.namespace = mm.bottompanel.rightbox.greetbox.base;

mm.bottompanel.rightbox.greetbox.base.obj = new mm.bottompanel.rightbox.greetbox.base.construct(true);
