
Ext.ns('hom');

/*================================(Grid Object)=============================================*/

hom.PanelObject = Ext.extend(Ext.Panel, {
	initComponent	: function(){
		var config = {
			//general configuration
			border			:false,
			columnLines		:false,
			enableColumnMove:false,
			margins			:10
		};

		Ext.apply(this, Ext.apply(this.initialConfig, config));

		hom.PanelObject.superclass.initComponent.apply(this, arguments);
	}
});

//=========================================================================================
//-------------------------------(Main)----------------------------------------------------
//=========================================================================================
function load_home()
{

	//hom.Panel = new hom.PanelObject({});

	//get the center panel on the page from the component id.
	//store the object in a re usable variable.
	cntRef = Ext.getCmp('Center_Div');
	cntRef.removeAll(true);
	cntRef.add({
		xtype		:'panel',
		margins		:'10 10	10 10',
		layout		:'fit',
		border		:false,
		items		:[{
			xtype		:'panel',
			border		:false,
			layout		:'border',
			items		:[{
				region		:'center',
				border		:false,
				html		:"<div class='title_text'>About</div><div class='paragraph_text'><p>Founded in 1981, Anthony-Seaman is a multi-discipline consulting engineering company that specializes in Sawmills. A complete engineering package includes conceptual design, capital cost estimates, project management, civil, structural, mechanical, electrical and process control.</p><br/><p>Over the years, Anthony-Seaman has established a broad client base across North America that utilizes our services on an ongoing basis. Past projects include Sawmill/Planermill complexes, complete Sawmill upgrades, new or upgraded Log Infeed systems, Whole Log chipping facilities, Wood Room upgrades and Machine Centre replacement. With a strong expertise in developing material handling and mill flow design which exploit the advantages of high technology machinery & obtain the highest production rates and recovery.</p><br/><p>Anthony-Seaman's track record of successful projects which achieve or exceed production expectations is the direct result of combining very strong process expertise with an accurate and efficient design team.</p></div>"

			},{
				region		:'east',
				border		:false,
				width		:300,
				html		:"<div class='title_text'>Client History</div><div class='paragraph_text'><ul><li>West Fraser Mills Ltd.<li>Interfor Pacific<li>Interfor<li>Gulf States Paper Corp.<li>Weyerhaeuser Canada Ltd.<li>Weyerhaeuser Company<li>Tembec Industries Inc.<li>Canfor<li>Gorman Bros. Lumber Ltd.</ul></div>"
			}]
		}]
	});

	cntRef.doLayout();
};
