  // Path to the blank image must point to a valid location on your server
  Ext.BLANK_IMAGE_URL = '../ejs/ext-3.2.1/resources/images/default/s.gif';

var sr;
 
  // Main application entry point
  Ext.onReady(function() {

sr = new Ext.Panel({
    renderTo: 'SearchResultPanels',
    width: 700,
    height: 500,
    title: 'Border Layout',
    layout: 'border',
    items: [{
        title: 'South Region is resizable',
        region: 'south',     // position for region
        height: 100,
        split: true,         // enable resizing
        minSize: 75,         // defaults to 50
        maxSize: 150,
        margins: '0 5 5 5'
    },{
        // xtype: 'panel' implied by default
        title: 'West Region is collapsible',
        region:'west',
        margins: '5 0 0 5',
        width: 200,
        collapsible: true,   // make collapsible
        cmargins: '5 5 0 5', // adjust top margin when collapsed
        id: 'west-region-container',
        layout: 'fit',
        unstyled: true
    },{
        title: 'Center Region',
        region: 'center',     // center region is required, no width/height specified
        xtype: 'container',
        layout: 'fit',
        margins: '5 5 0 0'
    }]
});
//sr = new Ext.Panel({
//renderTo:'SearchResultPanels',
//title:'Search',
//width:800,
//height:500,
//layout:'border',
//items: [{
//    region: 'west',
//    xtype: 'panel',
//    split: true,
//    width: 233,
//    html: 'West'
//  },{
//    region: 'center',
//    xtype: 'panel',
//    split: true,
//    html: 'Center'
//  },{
//    region: 'east',
//    xtype: 'panel',
//    width: 233,
//    split: true,
//    html: 'East'
//  },{
//    region: 'south',
//    xtype: 'panel',
//    height: 200,
//    split: true,
//    html: 'South'
//  }]
//}) 

//     collapsible: true,


//var srst = sr.findById('SearchTitle');
//srst.body.update('ggg fff');

console.info('resdy');
//          var menuRecent = Ext.get("MenuItem_RecentlyAdded");
 
//          menuRecent.on('click',function(){
//                menuChoose(this.id);
//		var divRecent = Ext.get('recentlyAdded');
//		divRecent.load({
//			url: 'bjax/handee.php',
//			params: 'task=ShowRecentlyAdded',
//			text: 'Updating...'
//		});
//		divRecent.show();
//
//          });

//          menuRecent.on('mouseover',function(){
//                // this.dom.src="/widgets/gen_51.1.gif";
//               console.info("over");
//          });
 
  });
