//var hide_empty_list=true; //uncomment this line to hide empty selection lists
var disable_empty_list=true; //uncomment this line to disable empty selection lists

var onclickaction="goto" //set to "alert" or "goto". Former is for debugging purposes, to tell you the value of the final selected list that will be used as the destination URL. Set to "goto" when below configuration is all set up as desired. 

var newwindow=0 //Open links in new window or not? 1=yes, 0=no.

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////

addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Selecione", "str_status0", 1); //HEADER OPTION
addList("First-Select", "Locação", "Locação", "str_status_loca");
addList("First-Select", "Venda", "Venda", "str_status_venda");

addOption("str_status_loca", "Tipo do Imóvel", "str_tipo", 1); //HEADER OPTION
addList("str_status_loca", "Casas em Condomínio","Casas em Condomínio", "str_status0_local");
addList("str_status_loca", "Apartamentos", "Apartamentos", "str_status0_local");
addList("str_status_loca", "Lançamentos Exclusivos", "Lançamentos Exclusivos", "str_status0_local");
addList("str_status_loca", "Imóveis em Construção", "Imóveis em Construção", "str_status0_local");
addList("str_status_loca", "Galpões", "Galpões", "str_status0_local");
addList("str_status_loca", "Imóveis Comerciais", "Imóveis Comerciais", "str_status0_local");
addList("str_status_loca", "Casas e Sobrados", "Casas e Sobrados", "str_status0_local");
addList("str_status_loca", "Chácaras", "Chácaras", "str_status0_local");
addList("str_status_loca", "Terrenos", "Terrenos", "str_status0_local");
addList("str_status_loca", "Kitnet USP", "Kitnet USP", "str_status0_local"); //END OF THIS NODE

addOption("str_status0_local", "Selecione o Valor", "str_status2", 1); //HEADER OPTION
addList("str_status0_local", "R$ 0,00 até R$ 600,00", "1");
addList("str_status0_local", "R$ 601,00 até R$ 1.000,00", "2");
addList("str_status0_local", "R$ 1.000,00 até R$ 2.000,00","3");
addList("str_status0_local", "Acima de R$ 2.000,00", "4");

addOption("str_status_venda", "Tipo do Imóvel", "str_tipo", 1); //HEADER OPTION
addList("str_status_venda", "Casas em Condomínio", "Casas em Condomínio", "str_status2_venda");
addList("str_status_venda", "Apartamentos","Apartamentos", "str_status2_venda");
addList("str_status_venda", "Lançamentos Exclusivos", "Lançamentos Exclusivos", "str_status2_venda");
addList("str_status_venda", "Imóveis em Construção", "Imóveis em Construção", "str_status2_venda");
addList("str_status_venda", "Imóveis Meu Lar", "MeuLar", "str_status2_venda");
addList("str_status_venda", "Imóveis Comerciais","Imóveis Comerciais","str_status2_venda");
addList("str_status_venda", "Galpões","Galpões","str_status2_venda");
addList("str_status_venda", "Casas e Sobrados", "Casas e Sobrados","str_status2_venda");
addList("str_status_venda", "Chácaras", "Chácaras", "str_status2_venda");
addList("str_status_venda", "Terrenos", "Terrenos", "str_status2_venda"); //END OF THIS NODE

addOption("str_status2_venda", "Selecione o Valor", "str_status2", 1); //HEADER OPTION
addList("str_status2_venda", "R$ 0,00 até R$ 130.000,00","1");
addList("str_status2_venda", "R$ 131.000,00 até R$ 250.000,00","2");
addList("str_status2_venda", "R$ 251.000,00 até R$ 450.000,00",  "3");
addList("str_status2_venda", "Acima de R$ 451.000,00", "4");