Mys.InfoForm = function(form, btnEl, dataEl, data)
{
	this.form = Ext.get(form);
	this.btnEl = Ext.get(btnEl);
	this.dataEl = Ext.get(dataEl);
	this.data = data;
	
	this.show();
};

Mys.InfoForm.prototype =
{
	showStatus : function(el, str, isAlert)
	{
		if(isAlert === true)
		{
			alert(str);
			(el.dom || el).focus();
		}
		else
		{
			var statusEl = Ext.get(document.createElement("div")).appendTo(document.body);
			statusEl.addClass("statusEl");
			
			str = [
				'<table border="0" cellspacing="0" cellpadding="0">',
					'<tr>',
						'<td width="8" rowspan="2" background="/images/common/bg_copyl.gif"></td>',
						'<td height="5" background="/images/common/bg_copyt.gif"><img src="/images/common/bg_copy.gif" width="7" height="5" /></td>',
						'<td width="8" rowspan="2" background="/images/common/bg_copyr.gif"></td>',
					'</tr>',
					'<tr>',
						'<td height="19" background="/images/common/bg_copym.gif" class="status-string">',
							str.replace("\n", "<br/>"),
						'</td>',
					'</tr>',
				'</table>'
			].join("");
			
			statusEl.alignTo(el, "b");
			var st = Ext.DomHelper.append(statusEl, {html:str}, true);
			st.slideIn('t').pause(1).ghost("t", {remove:true});
		}
	},
	
	beforeShow : function()
	{
	},
	
	show : function()
	{
		this.beforeShow();
	},
	
	beforeHide : function()
	{
	},
	
	hide : function()
	{
		this.beforeHide();
	},
	
	modify : function()
	{
		this.data.register.register();
	},
	
	getModify : function()
	{
		//±¸Çö
	}
};