fixed styles
added tempalte advanced search
fixed template
added event on advancedSearchPoppup and added method advancedSearch