added activ_li handler
switched search on mainpage
added ajax action for dropdown, select from database on work