﻿/*!
 * Ext JS Library 3.0.0
 * Copyright(c) 2006-2009 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
var MX_TITLE = Ext.extend(Ext.util.Observable, {
    constructor: function(config){
        this.addEvents('finished'); // specify the events we're going to fire
        MX_TITLE.constructor.call(this, config);
    },
	
    create: function(pid, value){
		this.panel = new Ext.Panel({ 
			id: 'mt_detail_mx_title',
			hideLabel: true,
			layout:'form',
			width:'auto',
			html: '<div class="mt_detail_mx_title_field">'+value+"</div>",
			mobiClass: 'MX_TITLE'
		});
		
		this.fireEvent('finished', this.panel);
	}	
});
