/*!
 * Ext JS Library 3.0.0
 * Copyright(c) 2006-2009 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
Ext.onReady(function(){
    // basic tabs 1, built from existing content
    var tabs = new Ext.TabPanel({
        renderTo: 'tabs1',
        //width:450,
        activeTab: 0,
        frame:true,
        defaults:{autoHeight: true},
        items:[
            {contentEl:'depan', title: 'Dépannage'},
            {contentEl:'inst_web', title: 'Installation web'},
            {contentEl:'dev_web', title: 'Création de site web'},
            {contentEl:'formation', title: 'Formation'}
			]
    });

    function handleActivate(tab){
        alert(tab.title + ' was activated.');
    }
});