// Hojas con nombre y url
imron_1 = new Leaf("IMRON&reg; 5000","BT_IMRON_5000.pdf");
imron_2 = new Leaf("IMRON&reg; Base Coat 1K","BT_IMRON_Base_Coat_1K.pdf");
imron_3 = new Leaf("IMRON&reg; Base Coat 2K","BT_IMRON_Base_Coat_2K.pdf");
imron_4 = new Leaf("IMRON&reg; Base Coat MET PEROL","BT_IMRON_Base_Coat_MET_PEROL.pdf");
imron_5 = new Leaf("IMRON&reg; Base Lisa","BT_IMRON_Base_Lisa.pdf");
imron_6 = new Leaf("IMRON&reg; Elite","BT_IMRON_Elite.pdf");
imron_7 = new Leaf("IMRON&reg; Poliuretano","BT_IMRON_Poliuretano.pdf");
imron_8 = new Leaf("IMRON&reg; Poliuretano AER","BT_IMRON_Poliuretano_AER.pdf");
imron_9 = new Leaf("IMRON&reg; Poliuretano AER HS","BT_IMRON_Poliuretano_AER_HS.pdf");
imron_10 = new Leaf("IMRON&reg; Poliuretano AGR","BT_IMRON_Poliuretano_AGR.pdf");
imron_11 = new Leaf("IMRON&reg; Poliuretano CAT","BT_IMRON_Poliuretano_CAT.pdf");
imron_12 = new Leaf("IMRON&reg; Poliuretano FG","BT_IMRON_Poliuretano_FG.pdf");
imron_13 = new Leaf("IMRON&reg; Poliuretano FLEX","BT_IMRON_Poliuretano_FLEX.pdf");
imron_14 = new Leaf("IMRON&reg; Poliuretano HS","BT_IMRON_Poliuretano_HS.pdf");
imron_15 = new Leaf("IMRON&reg; Poliuretano KW","BT_IMRON_Poliuretano_KW.pdf");
imron_16 = new Leaf("IMRON&reg; Poliuretano Softfeel","BT_IMRON_Poliuretano_Softfeel.pdf");
imron_17 = new Leaf("IMRON&reg; Poliuretano TEX","BT_IMRON_Poliuretano_TEX.pdf");
imron_18 = new Leaf("IMRON&reg; 1342 APB","BT_IMRON_1342_APB.pdf");
imron_19 = new Leaf("IMRON&reg; 2677 APB","BT_IMRON_2677_APB.pdf");
imron_20 = new Leaf("IMRON&reg; Poliuretano CE","BT_IMRON_Poliuretano_CE.pdf");


ind_geral_1 = new Leaf("DuPont Laca Acr&iacute;lica","BT_DuPont_Laca_Acrilica.pdf");

ind_geral_2 = new Leaf("DuPont Acab ALQ ACR","BT_DuPont_Acab_ALQ_ACR.pdf");
ind_geral_3 = new Leaf("DuPont Acab ALQ LCP","BT_DuPont_Acab_ALQ_LCP.pdf");
ind_geral_4 = new Leaf("DuPont Acab ALQ LCS","BT_DuPont_Acab_ALQ_LCS.pdf");
ind_geral_5 = new Leaf("DuPont Acab Sint","BT_DuPont_Acab_Sint.pdf");
ind_geral_6 = new Leaf("DuPont Acab Sint ESP","BT_DuPont_Acab_Sint_ESP.pdf");
ind_geral_7 = new Leaf("DuPont Primer Acab ALQ ACR","BT_DuPont_Primer_Acab_ALQ_ACR.pdf");
ind_geral_8 = new Leaf("DuPont Primer Acab Sint AGR","BT_DuPont_Primer_Acab_Sint_AGR.pdf");
ind_geral_9 = new Leaf("DuPont Primer Acab Sint ROD","BT_DuPont_Primer_Acab_Sint_ROD.pdf");
ind_geral_10 = new Leaf("DuPont Primer ALQ","BT_DuPont_Primer_ALQ.pdf");
ind_geral_11 = new Leaf("DuPont Primer Estrutura","BT_DuPont_Primer_Estrutura.pdf");
ind_geral_12 = new Leaf("DuPont Primer Industrial","BT_DuPont_Primer_Industrial.pdf");
ind_geral_13 = new Leaf("DuPont Primer Sint","BT_DuPont_Primer_Sint.pdf");
ind_geral_14 = new Leaf("DuPont Primer Sint AGR","BT_DuPont_Primer_Sint_AGR.pdf");
ind_geral_15 = new Leaf("DuPont Primer Sint AGR HS","BT_DuPont_Primer_Sint_AGR_HS.pdf");

ind_geral_16 = new Leaf("DuPont Acab WB","BT_DuPont_Acab_WB.pdf");
ind_geral_17 = new Leaf("DuPont Emborrachamento","BT_DuPont_Emborrachamento.pdf");
ind_geral_18 = new Leaf("DuPont Emborrachamento WB","BT_DuPont_Emborrachamento_WB.pdf");
ind_geral_19 = new Leaf("DuPont Primer Acab WB","BT_DuPont_Primer_Acab_WB.pdf");
ind_geral_20 = new Leaf("DuPont Primer Acr&iacute;lico WB","BT_DuPont_Primer_Acrilico_WB.pdf");
ind_geral_74 = new Leaf("DuPont Primer Estufa WB","BT_DuPont_Primer_Estufa_WB.pdf");
								 
ind_geral_21 = new Leaf("CORLAR&reg; Primer Epoxi KW","BT_Corlar_Primer_Epoxi_KW.pdf");
ind_geral_22 = new Leaf("DuPont Ep&oacute;xi TAMB","BT_DuPont_Epoxi_TAMB.pdf");
ind_geral_23 = new Leaf("DuPont Fundo Ep&oacute;xi TAMB","BT_DuPont_Fundo_Epoxi_TAMB.pdf");
ind_geral_24 = new Leaf("DuPont Mastique","BT_DuPont_Mastique.pdf");
ind_geral_25 = new Leaf("DuPont Mastique Alcatr&atilde;o","BT_DuPont_Mastique_Alcatrao.pdf");
ind_geral_26 = new Leaf("DuPont Mastique Anticorrosivo","BT_DuPont_Mastique_Anticorrosivo.pdf");
ind_geral_27 = new Leaf("DuPont Mastique Ep&oacute;xi HB","BT_DuPont_Mastique_Epoxi_HB.pdf");
ind_geral_28 = new Leaf("DuPont Primer Ep&oacute;xi","BT_DuPont_Primer_Epoxi.pdf");
ind_geral_29 = new Leaf("DuPont Primer Ep&oacute;xi AER HS","BT_DuPont_Primer_Epoxi_AER_HS.pdf");
ind_geral_30 = new Leaf("DuPont Primer Ep&oacute;xi AP","BT_DuPont_Primer_Epoxi_AP.pdf");
ind_geral_75 = new Leaf("DuPont Primer Ep&oacute;xi Estrutural","BT_DuPont_Primer_Epoxi_Estrutural.pdf");
ind_geral_31 = new Leaf("DuPont Primer Ep&oacute;xi Misto","BT_DuPont_Primer_Epoxi_Misto.pdf");
ind_geral_32 = new Leaf("DuPont Primer Mastique","BT_DuPont_Primer_Mastique.pdf");
ind_geral_33 = new Leaf("DuPont Tanque Ep&oacute;xi","BT_DuPont_Tanque_Epoxi.pdf");
ind_geral_34 = new Leaf("DuPont Zarc&atilde;o Ep&oacute;xi","BT_DuPont_Zarcao_Epoxi.pdf");
ind_geral_35 = new Leaf("METALOK&reg;","BT_METALOK.pdf");
ind_geral_36 = new Leaf("METALOK&reg; CF","BT_METALOK_CF.pdf");
ind_geral_37 = new Leaf("METALOK&reg; FS","BT_METALOK_FS.pdf");
ind_geral_38 = new Leaf("METALOK&reg; HP","BT_METALOK_HP.pdf");

ind_geral_39 = new Leaf("DuPont Cumin Al","BT_DuPont_Cumin_Al.pdf");
ind_geral_40 = new Leaf("DuPont Esm Estufa","BT_DuPont_Esm_Estufa.pdf");
ind_geral_41 = new Leaf("DuPont Esm Estufa AGR","BT_DuPont_Esm_Estufa_AGR.pdf");
ind_geral_42 = new Leaf("DuPont Esm Estufa CE","BT_DuPont_Esm_Estufa_CE.pdf");
ind_geral_43 = new Leaf("DuPont Esm Estufa HS","BT_DuPont_Esm_Estufa_HS.pdf");
ind_geral_44 = new Leaf("DuPont Esm Estufa SK","BT_DuPont_Esm_Estufa_SK.pdf");
ind_geral_45 = new Leaf("DuPont Esm Estufa TB","BT_DuPont_Esm_Estufa_TB.pdf");
ind_geral_76 = new Leaf("DuPont Primer Acab Estufa","BT_DuPont_Primer_Acab_Estufa.pdf");
ind_geral_46 = new Leaf("DuPont Primer Ep&oacute;xi Estufa","BT_DuPont_Primer_Epoxi_Estufa.pdf");
ind_geral_47 = new Leaf("DuPont Primer Estufa PE","BT_DuPont_Primer_Estufa_PE.pdf");

ind_geral_48 = new Leaf("DuPont Acab Nitro AGR","BT_DuPont_Acab_Nitro_AGR.pdf");
ind_geral_49 = new Leaf("DuPont Laca Nitro","BT_DuPont_Laca_Nitro.pdf");
ind_geral_50 = new Leaf("DuPont Nitro Reativo","BT_DuPont_Nitro_Reativo.pdf");
ind_geral_51 = new Leaf("DuPont Primer Nitro","BT_DuPont_Primer_Nitro.pdf");
ind_geral_52 = new Leaf("DuPont Primer Universal","BT_DuPont_Primer_Universal.pdf");

ind_geral_53 = new Leaf("DuPont Acab BCL","BT_DuPont_Acab_BCL.pdf");
ind_geral_54 = new Leaf("DuPont Acab Silicone","BT_DuPont_Acab_Silicone.pdf");
ind_geral_55 = new Leaf("DuPont Acab Silicone RD","BT_DuPont_Acab_Silicone_RD.pdf");
ind_geral_56 = new Leaf("DuPont Emborrachamento SB","BT_DuPont_Emborrachamento_SB.pdf");
ind_geral_57 = new Leaf("DuPont Primer Rico em Zinco","BT_DuPont_Primer_Rico_em_Zinco.pdf");

ind_geral_58 = new Leaf("DuPont Primer Acab PU ALQ","BT_DuPont_Primer_Acab_PU_ALQ.pdf");
ind_geral_59 = new Leaf("DuPont Primer Acab PU HB","BT_DuPont_Primer_Acab_PU_HB.pdf");
ind_geral_60 = new Leaf("DuPont Primer BAT Pedra","BT_DuPont_Primer_BAT_Pedra.pdf");
ind_geral_61 = new Leaf("DuPont Primer PU HS","BT_DuPont_Primer_PU_HS.pdf");
ind_geral_62 = new Leaf("DuPont Surfacer","BT_DuPont_Surfacer.pdf");
ind_geral_63 = new Leaf("DuPont Surfacer VS","BT_DuPont_Surfacer_VS.pdf");
ind_geral_64 = new Leaf("DuPont Surfacer WOW","BT_DuPont_Surfacer_WOW.pdf");
ind_geral_65 = new Leaf("Farmthane&reg;","BT_Farmthane.pdf");
ind_geral_66 = new Leaf("Fleethane&reg;","BT_Fleethane.pdf");

ind_geral_67 = new Leaf("DuPont Acab Vin&iacute;lico","BT_DuPont_Acab_Vinilico.pdf");
ind_geral_68 = new Leaf("DuPont Fundo Vin&iacute;lico","BT_DuPont_Fundo_Vinilico.pdf");
ind_geral_69 = new Leaf("DuPont Primer Anti&oacute;xido","BT_DuPont_Primer_Antioxido.pdf");
ind_geral_70 = new Leaf("DuPont Primer Monocomponente","BT_DuPont_Primer_Monocomponente.pdf");
ind_geral_71 = new Leaf("DuPont Primer Monocomponente TEX","BT_DuPont_Primer_Monocomponente_TEX.pdf");
ind_geral_72 = new Leaf("DuPont Primer Vin&iacute;lico","BT_DuPont_Primer_Vinilico.pdf");
ind_geral_73 = new Leaf("DuPont Wash-Primer","BT_DuPont_Wash-Primer.pdf");


man_prot_1 = new Leaf("DuPont Acr&iacute;lico 1197 AAB","BT_DuPont_Acrilico_1197_AAB.pdf");

man_prot_2 = new Leaf("DuPont Sint 1228I PSF","BT_DuPont_Sint_1228I_PSF.pdf");
man_prot_3 = new Leaf("DuPont Sint 1232 ASS","BT_DuPont_Sint_1232_ASS.pdf");
man_prot_4 = new Leaf("DuPont Sint 1233 PSF","BT_DuPont_Sint_1233_PSF.pdf");
man_prot_5 = new Leaf("DuPont Sint 2492 ASB","BT_DuPont_Sint_2492_ASB.pdf");

man_prot_6 = new Leaf("Corlar&reg; 1198I AEB","BT_Corlar_1198I_AEB.pdf");
man_prot_7 = new Leaf("Corlar&reg; 1198II AEB","BT_Corlar_1198II_AEB.pdf");
man_prot_8 = new Leaf("Corlar&reg; 1265 MES","BT_Corlar_1265_MES.pdf");
man_prot_9 = new Leaf("Corlar&reg; 1277 PEF","BT_Corlar_1277_PEF.pdf");
man_prot_10 = new Leaf("Corlar&reg; 1349 PEF","BT_Corlar_1349_PEF.pdf");
man_prot_11 = new Leaf("Corlar&reg; 1761 MES","BT_Corlar_1761_MES.pdf");
man_prot_12 = new Leaf("Corlar&reg; 1850 PEF","BT_Corlar_1850_PEF.pdf");
man_prot_13 = new Leaf("Corlar&reg; 2198 PEF","BT_Corlar_2198_PEF.pdf");
man_prot_14 = new Leaf("Corlar&reg; 2288 MES","BT_Corlar_2288_MES.pdf");
man_prot_15 = new Leaf("Corlar&reg; 2628 AES","BT_Corlar_2628_AES.pdf");
man_prot_16 = new Leaf("Corlar&reg; 2629 AES","BT_Corlar_2629_AES.pdf");
man_prot_17 = new Leaf("Corlar&reg; 2630 PES","BT_Corlar_2630_PES.pdf");
man_prot_18 = new Leaf("Corlar&reg; 2678 MES","BT_Corlar_2678_MES.pdf");
man_prot_19 = new Leaf("Corlar&reg; 6080 MES","BT_Corlar_6080_MES.pdf");
man_prot_20 = new Leaf("Corlar&reg; 6090 AES","BT_Corlar_6090_AES.pdf");
man_prot_21 = new Leaf("Corlar&reg; 6198 I AEG","BT_Corlar_6198_I_AEG.pdf");
man_prot_22 = new Leaf("Corlar&reg; 6200 PEF","BT_Corlar_6200_PEF.pdf");
man_prot_23 = new Leaf("Corlar&reg; 6210 MES","BT_Corlar_6210_MES.pdf");
man_prot_24 = new Leaf("Corlar&reg; 6277 PEF","BT_Corlar_6277_PEF.pdf");
man_prot_25 = new Leaf("Corlar&reg; 6280 PEF","BT_Corlar_6280_PEF.pdf");
man_prot_26 = new Leaf("Corlar&reg; 6288 MES","BT_Corlar_6288_MES.pdf");
man_prot_27 = new Leaf("Corlar&reg; 6585 PEF","BT_Corlar_6585_PEF.pdf");
man_prot_28 = new Leaf("Corlar&reg; 6657 PEF","BT_Corlar_6657_PEF.pdf");
man_prot_29 = new Leaf("Corlar&reg; 6810 DES","BT_Corlar_6810_DES.pdf");
man_prot_30 = new Leaf("Corlar&reg;1202 PEF","BT_Corlar_1202_PEF.pdf");

man_prot_31 = new Leaf("DuPont Silicone 1514 AOS","BT_DuPont_Silicone_1514_AOS.pdf");
man_prot_32 = new Leaf("DuPont Sint 1259 ASB","BT_DuPont_Sint_1259_ASB.pdf");
man_prot_33 = new Leaf("Ganicin&reg;  2231 PZF","BT_Ganicin_2231_PZF.pdf");
man_prot_34 = new Leaf("Ganicin&reg; 1661 PZF","BT_Ganicin_1661_PZF.pdf");

man_prot_35 = new Leaf("DuPont Acab PU para Piso","BT_DuPont_Acab_PU_para_Piso.pdf");
man_prot_36 = new Leaf("DuPont Massa para Piso HB","BT_DuPont_Massa_para_Piso_HB.pdf");
man_prot_37 = new Leaf("DuPont Pintura para Piso HS","BT_DuPont_Pintura_para_Piso_HS.pdf");
man_prot_38 = new Leaf("DuPont Pintura para Piso SF","BT_DuPont_Pintura_para_Piso_SF.pdf");
man_prot_39 = new Leaf("DuPont Selador para Piso","BT_DuPont_Selador_para_Piso.pdf");


man_leve_1 = new Leaf("Protelight&reg; Primer Ep&oacute;xi","BT_Protelight_Primer_Epoxi.pdf");
man_leve_2 = new Leaf("Protelight&reg; Primer Zarc&atilde;o","BT_Protelight_Primer_Zarcao.pdf");
man_leve_3 = new Leaf("Protelight&reg; Wash-Primer","BT_Protelight_Wash-Primer.pdf");
man_leve_4 = new Leaf("Protelight&reg; Acabamento","BT_Protelight_Acabamento.pdf");


// Ramas con nombre y hojas
var linha_imron_1 = new Branch("Linha IMRON&reg;","",imron_1,imron_2,imron_3,imron_4,imron_5,imron_6,imron_7,imron_8,imron_9,imron_10,imron_11,imron_12,imron_13,imron_14,imron_15,imron_16,imron_17,imron_18,imron_19,imron_20);

var linha_ind_geral_1 = new Branch("Acr&iacute;lico","acrilico",ind_geral_1);
var linha_ind_geral_2 = new Branch("Alqu&iacute;dico","alquidico",ind_geral_2,ind_geral_3,ind_geral_4,ind_geral_5,ind_geral_6,ind_geral_7,ind_geral_8,ind_geral_9,ind_geral_10,ind_geral_11,ind_geral_12,ind_geral_13,ind_geral_14,ind_geral_15);
var linha_ind_geral_3 = new Branch("Base &Aacute;gua","base_agua",ind_geral_16,ind_geral_17,ind_geral_18,ind_geral_19,ind_geral_20,ind_geral_74);
var linha_ind_geral_4 = new Branch("Ep&oacute;xi","epoxi",ind_geral_21,ind_geral_22,ind_geral_23,ind_geral_24,ind_geral_25,ind_geral_26,ind_geral_27,ind_geral_28,ind_geral_29,ind_geral_30,ind_geral_75,ind_geral_31,ind_geral_32,ind_geral_33,ind_geral_34,ind_geral_35,ind_geral_36,ind_geral_37,ind_geral_38);
var linha_ind_geral_5 = new Branch("Estufa","estufa",ind_geral_39,ind_geral_40,ind_geral_41,ind_geral_42,ind_geral_43,ind_geral_44,ind_geral_45,ind_geral_76,ind_geral_46,ind_geral_47);
var linha_ind_geral_6 = new Branch("Nitro","nitro",ind_geral_48,ind_geral_49,ind_geral_50,ind_geral_51,ind_geral_52);
var linha_ind_geral_7 = new Branch("Outros","outros",ind_geral_53,ind_geral_54,ind_geral_55,ind_geral_56,ind_geral_57);
var linha_ind_geral_8 = new Branch("Poliuretano","poliuretano",ind_geral_58,ind_geral_59,ind_geral_60,ind_geral_61,ind_geral_62,ind_geral_63,ind_geral_64,ind_geral_65,ind_geral_66);
var linha_ind_geral_9 = new Branch("Vin&iacute;lico","vinilico",ind_geral_67,ind_geral_68,ind_geral_69,ind_geral_70,ind_geral_71,ind_geral_72,ind_geral_73);

var linha_man_prot_1 = new Branch("Acr&iacute;lico","acrilico",man_prot_1);
var linha_man_prot_2 = new Branch("Alqu&iacute;dico","alquidico",man_prot_2,man_prot_3,man_prot_4,man_prot_5);
var linha_man_prot_3 = new Branch("Ep&oacute;xi","epoxi",man_prot_6,man_prot_7,man_prot_8,man_prot_9,man_prot_10,man_prot_11,man_prot_12,man_prot_13,man_prot_14,man_prot_15,man_prot_16,man_prot_17,man_prot_18,man_prot_19,man_prot_20,man_prot_21,man_prot_22,man_prot_23,man_prot_24,man_prot_25,man_prot_26,man_prot_27,man_prot_28,man_prot_29,man_prot_30);
var linha_man_prot_4 = new Branch("Outros","outros",man_prot_31,man_prot_32,man_prot_33,man_prot_34);
var linha_man_prot_5 = new Branch("Sistema para Piso","sistema_piso",man_prot_35,man_prot_36,man_prot_37,man_prot_38,man_prot_39);

var linha_man_leve_1 = new Branch("Linha Manuten&ccedil;&atilde;o Leve","",man_leve_1,man_leve_2,man_leve_3,man_leve_4);


// Raices con nombre, hijos y ramas
var familia_1 = new Root("Linha IMRON&reg;","Imron",false,linha_imron_1);
var familia_2 = new Root("Linha Ind&uacute;stria Geral","ind_geral",true,linha_ind_geral_1,linha_ind_geral_2,linha_ind_geral_3,linha_ind_geral_4,linha_ind_geral_5,linha_ind_geral_6,linha_ind_geral_7,linha_ind_geral_8,linha_ind_geral_9);
var familia_3 = new Root("Linha Manuten&ccedil;&atilde;o e Prote&ccedil;&atilde;o Industrial","manu_prot_ind",true,linha_man_prot_1,linha_man_prot_2,linha_man_prot_3,linha_man_prot_4,linha_man_prot_5);
var familia_4 = new Root("Linha Manuten&ccedil;&atilde;o Leve","manu_leve",false,linha_man_leve_1);


// Arreglo inicial de raices
var rootArray = new Array(familia_1,familia_2,familia_3,familia_4);