indexes).', '."'".$key."'".')" onclick="filter_show_only_selection(this, '.json_encode($value->indexes).', '."'".$key."'".')" onfocus="filter_show_only_selection(this, '.json_encode($value->indexes).', '."'".$key."'".')" onclick="filter_show_only_selection(this, '.json_encode(array()).', '."'".$key."'".')" onchange="filter_show_only_selection(this, '.json_encode($value->indexes).', '."'".$key."'".')" onchange="filter_show_only_selection(this, '.json_encode(array()).', '."'".$key."'".')" onchange="filter_event(this, this.options[this.selectedIndex], \''.$key.'\')" */ $menu_name_class = 'filter_menu_'.str_replace(" ", "_", $key).''; $id = "filter_" . $key . "_" . $key ; $content = ' '; return $content; }; function mp_filter_buttons($key, &$filter) { /* onclick="filter_show_only_selection(this, '.json_encode($value->indexes).', '."'".$key."'".', true)" */ $menu_name_class = 'filter_menu_'.str_replace(" ", "_", $key).''; $content = ''; foreach ($filter as $key_filter => $value) { $id = "filter_" . $key . "_" . str_replace( " ", "_", $value->_name) ; $content .= ' '; } return $content; }; function mp_create_div(&$filters) { $mp_map_div = '