/*
 * Ext JS Library 2.0.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */
Ext.SSL_SECURE_URL="includes/images/default/s.gif";
Ext.BLANK_IMAGE_URL="includes/images/default/s.gif";
var tela = "";
Ext.onReady(function(){
   
    var   heightGrid = 390;
    var   widthGrid = 625;
   

Ext.QuickTips.init();

     // turn on validation errors beside the field globally
    Ext.form.Field.prototype.msgTarget = 'side'; 
    
     
	    
    
    // second tabs built from JS
   var tabPesquisaDadosOpcao = new Ext.TabPanel({
        renderTo: 'containerDados',
        activeTab: 0,
        enableTabScroll:true,
		width:widthGrid,
        height:heightGrid,
        plain:true,
        defaults:{autoScroll: true},
        items:[{
                title: 'Pesquise por Profissional ',
                iconCls: 'prof',
                id:'idProfissional',
                autoLoad: {url: 'homeBusca.do', params: 'method=loadBuscaProfissional&chamada=P',scripts :true}
            },{
                title: 'Pesquise por Empresa',
                iconCls: 'empresa',
                id:'idEmpresa',
                autoLoad: {url: 'homeBusca.do', params: 'method=loadBuscaEmpresaExterna&chamada=P',scripts :true}
            }]
    });
    
    
    
    
});