/**
  * class EditorWindow
  * 
  */

/**
 * ************ Constructor *******************************
 * 
 */
EditorWindow = function()
{
	this.defineElements();
	this.createLayout();
};
/**
 * ***************** Show function ****************************
 */

EditorWindow.prototype.show = function ()
{
	this.eWindow.show();
};


/**
 * ************** Define form elements, buttons, etc. ********************
 */
EditorWindow.prototype.defineElements = function ()
{
	var self = this;
	
	// Main Editor Window
	this.eWindow = new Ext.Window ({
		width: 970,
		height: 600,
		minimizable : true,
		
	});
	
	this.mainPanel = new Ext.Panel({
		height: 600,
		width:950,
		border: false,
		autoLoad: {url: 'ExtEditor/index.php', params: ''},
		autoScroll: true
	});
										
};

/**
 * ************** End Define form elements, buttons, etc. *************
 */


/**
 *  **** Add items to IntranetSearchWindow instance to create the actual window.
 */
EditorWindow.prototype.createLayout = function ()
{
	this.eWindow.add(this.mainPanel);
};
