/*
 * File: TabNewsVisite.ui.js
 * Date: Thu Oct 28 2010 11:24:19 GMT+0200 (ora legale Europa occidentale)
 * 
 * This file was generated by Ext Designer version xds-1.0.2.14.
 * http://www.extjs.com/products/designer/
 *
 * This file will be auto-generated each and everytime you export.
 *
 * Do NOT hand edit this file.
 */

TabNewsVisiteUi = Ext.extend(Ext.TabPanel, {
    activeTab: 0,
    width: 300,
    height: 260,
    id: 'TabNewsVisite',
    initComponent: function() {
        this.items = [
            {
                xtype: 'tabGiorno'
            },
			{
                xtype: 'tabMese'
               
            }
        ];
        TabNewsVisiteUi.superclass.initComponent.call(this);
    }
});

//
var tabMeseUi = Ext.extend(Ext.Panel, {
    title: 'Mese',
    html: '',
    id: 'tabMese',
	padding: 5,
	autoScroll: false,
	autoLoad: {
	    url: '/getNewsAjax.php',
		params: {'visite': 'mese'},
		discardUrl: false,
		nocache: true,
		text: 'Caricamento...',
		//timeout: 5,
		scripts: false
	 },
    initComponent: function() {
        tabMeseUi.superclass.initComponent.call(this);
    }
});


var tabGiornoUi = Ext.extend(Ext.Panel, {
    title: 'Oggi',
    html: '',
    id: 'tabGiorno',
	autoScroll: false,
	padding: 5,
    autoLoad: {
	    url: '/getNewsAjax.php',
		params: {'visite': 'giorno'},
		discardUrl: false,
		nocache: true,
		text: 'Caricamento...',
		//timeout: 5,
		scripts: false
	 },
	initComponent: function() {
        tabGiornoUi.superclass.initComponent.call(this);
    }
});

