}
 $pageObject->fillFieldToolTips("id");
 $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("id");
 $firstFieldParams = array();
 if (count($srchFields)) {
     $firstFieldParams = $srchFields[0];
 } else {
     $firstFieldParams['fName'] = "id";
     $firstFieldParams['eType'] = '';
     $firstFieldParams['value1'] = '';
     $firstFieldParams['opt'] = '';
     $firstFieldParams['value2'] = '';
     $firstFieldParams['not'] = false;
 }
 // create control
 $ctrlBlockArr = $searchControlBuilder->buildSearchCtrlBlockArr($id, $firstFieldParams['fName'], 0, $firstFieldParams['opt'], $firstFieldParams['not'], false, $firstFieldParams['value1'], $firstFieldParams['value2']);
 if (isEnableSection508()) {
     $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_SEARCH) . "\">", "</label>");
 } else {
     $xt->assign("id_label", true);
 }
 $xt->assign("id_fieldblock", true);
 $xt->assignbyref("id_editcontrol", $ctrlBlockArr['searchcontrol']);
 $xt->assign("id_notbox", $ctrlBlockArr['notbox']);
 // create second control, if need it
 $xt->assignbyref("id_editcontrol1", $ctrlBlockArr['searchcontrol1']);
 // create search type select
 $xt->assign("searchtype_id", $ctrlBlockArr['searchtype']);
 $isFieldNeedSecCtrl = $searchControlBuilder->isNeedSecondCtrl("id");
 $ctrlInd = 0;
 if ($isFieldNeedSecCtrl) {