/**
  * get category select html 
  */
 protected function getCategoryTabsHtml_select($galleryHtmlID, $objCategories)
 {
     $output = "";
     $categories = $this->getParam("categorytabs_ids");
     if (empty($categories)) {
         return "";
     }
     $wrapperID = $galleryHtmlID . "_tabs_wrapper";
     $selectID = $galleryHtmlID . "_tabs_select";
     //set styling - to the wrapper
     //style position
     $arrStyleWrapper = array();
     $arrStyleSelect = array();
     $setPosition = $this->getParam("tab_selectbox_set_position", self::FORCE_BOOLEAN);
     $position = $this->getParam("tabs_selectbox_position");
     if ($position == "left" || $position == "right") {
         $arrStyleWrapper = $this->addParamToStyleArray($arrStyleWrapper, "tabs_selectbox_position", "text-align");
         $arrStyleWrapper = $this->addParamToStyleArray($arrStyleWrapper, "tabs_selectbox_offset", "padding-{$position}", "px", self::FORCE_NUMERIC);
     }
     $arrStyleWrapper = $this->addParamToStyleArray($arrStyleWrapper, "tabs_selectbox_margin_top", "margin-top", "px", self::FORCE_NUMERIC);
     $arrStyleWrapper = $this->addParamToStyleArray($arrStyleWrapper, "tabs_selectbox_margin_bottom", "margin-bottom", "px", self::FORCE_NUMERIC);
     //style border
     $styleBorder = $this->getParam("tab_style_selectbox_border", self::FORCE_BOOLEAN);
     if ($styleBorder == true) {
         $borderColor = $this->getParam("tab_selectbox_border_color");
         if (!empty($borderColor)) {
             $arrStyleSelect["border"] = "1px solid {$borderColor}";
         }
         //tab_selectbox_border_radius
         $arrStyleSelect = $this->addParamToStyleArray($arrStyleSelect, "tab_selectbox_border_radius", "border-radius", "px", self::FORCE_NUMERIC);
         $showOutline = $this->getParam("tab_selectbox_show_outline", self::FORCE_BOOLEAN);
         if ($showOutline == false) {
             $arrStyleSelect["outline"] = "none";
         }
     }
     //style text
     $styleText = $this->getParam("tab_style_selectbox_text", self::FORCE_BOOLEAN);
     if ($styleText == true) {
         $textColor = $this->getParam("tab_selectbox_color");
         $arrStyleSelect = $this->addParamToStyleArrayForce($arrStyleSelect, "tab_selectbox_color", "color");
         $arrStyleSelect = $this->addParamToStyleArrayForce($arrStyleSelect, "tab_selectbox_font_size", "font-size", "px");
         $arrStyleSelect = $this->addParamToStyleArrayForce($arrStyleSelect, "tab_selectbox_font_weight", "font-weight");
     }
     //change size
     $changeSize = $this->getParam("tab_style_selectbox_size", self::FORCE_BOOLEAN);
     if ($changeSize == true) {
         $arrStyleSelect = $this->addParamToStyleArrayForce($arrStyleSelect, "tab_selectbox_width", "width", "px");
         $arrStyleSelect = $this->addParamToStyleArrayForce($arrStyleSelect, "tab_selectbox_height", "height", "px");
     }
     //concat styles
     $strStyleWrapper = "";
     if (!empty($arrStyleWrapper)) {
         $strStyleWrapper = UniteFunctionsUG::arrStyleToStrStyle($arrStyleWrapper, "#" . $wrapperID . ".ug-tabs-wrapper");
     }
     $addCSSSelect = $this->getParam("tab_selectbox_additional_css");
     $strStyleSelect = UniteFunctionsUG::arrStyleToStrStyle($arrStyleSelect, "#" . $selectID . ".ug-tabs-select", $addCSSSelect);
     $addCssOption = $this->getParam("tab_selectbox_option_additional_css");
     $addCssOption = trim($addCssOption);
     $strStyleOption = "";
     if (!empty($addCssOption)) {
         $strStyleOption .= "#" . $selectID . ".ug-tabs-select option{ {$addCssOption} }";
     }
     $style = $strStyleWrapper . $strStyleSelect . $strStyleOption;
     //put html select
     $output = $this->putInlineStyle($style, $output);
     $this->arrParams["tabs_container"] = "#" . $selectID;
     $arrCats = $objCategories->getListByIds($categories);
     $output .= "<div id=\"{$wrapperID}\" class=\"ug-tabs-wrapper\">";
     $output .= "<select id=\"{$selectID}\" class=\"ug-tabs-select\">";
     $isFirstSelected = false;
     $selectedCat = $this->getParam("tabs_init_catid");
     if ($selectedCat == "first") {
         $isFirstSelected = true;
     }
     foreach ($arrCats as $category) {
         $title = UniteFunctionsUG::getVal($category, "title");
         $id = UniteFunctionsUG::getVal($category, "id");
         $selected = "";
         if ($isFirstSelected == true) {
             $isFirstSelected = false;
             $selected = " selected='selected'";
         } else {
             if ($id == $selectedCat) {
                 $selected = " selected='selected'";
             }
         }
         $output .= "<option{$selected} class=\"ug-option\" value=\"{$id}\">{$title}</option>";
     }
     $output .= "</select>";
     $output .= "</div>";
     return $output;
 }