(oiptickev}{bj if(oiptickthist=) {(t!=""obj voiptickthist=remov.(ti ev}oi p voiptick"#fil Chvasalt=) {(""oip selecxt/ = oiptick"#fil Chcitclt=) {(ti evif(selecxt/==""o{bj bj returni ev} evif(!(selecxt/ lds = eREA_TREE[selecxt/]i vasas (vasas"+}olue+""i }oi}eGse{v}oiptick"#fil Chvasalt=hin.("slow"oip } voiptick"#fil Chvasalt=uth.(vasasuth.ti evif(defaink_vasa !=""obj oiptick"#fil Chvasalt=) {(defaink_vasa}i ev//if(> lds.length>0}{bj ev//oiptick"#fil Chvasalt=pplw("slow"oip ev//loa(ickei<> lds.length;i++obj // oiptick"#fil Chvasalt=appept(" lds[i]+"'>"+> lds[i]+""}i ev//}eGseikevp ev// oiptick"#fil Chvasalt=hin.("slow"oip ev//} ev e} eoipticke uere ingeAasav}{bj e} eoipticke uere ingeBoardv}{bj (board_selecxt/ ,}oiptickeviptex,}olue){ ev uth.cities += ""+}olue+""i }oip oiptick"#fil Chcitclt=uth.(uth.citiesti ev e} eoipticke uere ingeC/trsev}{bj oiptick"#fil Chboardlt=fipt("o (oiptickev}{bj if(oiptickthist=) {(t!=""obj voiptickthist=remov.(ti ev}oi p voiptick"#fil Chboardlt=) {(""oip selecxt/ = oiptick"#fil Chc/trselt=) {(ti evif(selecxt/==""o{bj oiptick"#e/csdlt=) {("-1"oip evp evreturni ev} evif(!(selecxt/ lds = COURSE_TREE[selecxt/]i evif(> lds.length>0}{bj oiptick"#fil Chboardlt=pplw("slow"oip evloa(ickei<> lds.length;i++obj oiptick"#fil Chboardlt=appept(" lds[i]+"'>"+> lds[i]+""}i ev}eGse{v} oiptick"#fil Chboardlt=hin.("slow"oip evoiptick"#e/csdlt=) {(COURSE_ID_MAP[selecxt/]ti ev evvckevboard_selecxt/ = CITIES_MAP[COURSE_ID_MAP[selecxt/]]i ckevuth.cities = ""i uth.cities += "Selecx Citc"i oiptic.e/> (board_selecxt/ ,}oiptickeviptex,}olue){ ev uth.cities += ""+}olue+""i }oip oiptick"#fil Chcitclt=uth.(uth.citiesti ev} ev e}ev j criptickev}oiptickev}oip = "ckev}oiptickev}op=0;"c