if ( $monTarget eq "user" ) {
    print "        ",&hlink("<b>$text{'f_username'}</b>","fusername"),"&nbsp;</td>";
    print "        <td valign=top>\n";
    $msgObj=$text{'selusr_win'};
    $formObj="mon_act.username";
    &htmlWinLdapUsers($msgObj,$formObj);
    print "        <input TYPE=\"text\" NAME=\"username\" VALUE=\"$username\" cols=\"22\" size=\"12\" ALIGN=left onFocus=\"CheckCookie(this);\" onChange=\"mon_act.userou.value=''\" >\n";
    print "        <input TYPE=\"text\" NAME=\"userou\" VALUE=\"$userou\" cols=\"22\" size=\"22\" ALIGN=left onFocus=\"testCookie(this,mon_act)\"></td></tr>\n";
} elsif  ( $monTarget eq "ou" ) {
    print "   ",&hlink("<b>$text{'f_userou'}</b>","fuserou"),"&nbsp;</td>\n";
    print "      <td valign=top><select NAME=\"user_ou\">\n";
    print "                <option VALUE=\"none\">",&hlink("<b>$text{'f_selecou'}</b>","fselecou"),"\n";
    $nItems=0;
    foreach $item (&list_ous()) {
         if ( $nItems == 0 ) {
              print " <option VALUE=\"".$item->{'alias'}."\" >". $item->{'name'}."\n";
        }
         else {
              print " <option VALUE=\"".$item->{'alias'}."\" >".$item->{'name'}."  ";
         }
         $nItems++;
    }
    print "        </select></td></tr>\n";
} elsif  ( $monTarget eq "host" ) {
    print "   ",&hlink("<b>$text{'f_hostname'}</b>","fhostname"),"&nbsp;</td>\n";
    print "   <td valign=top><select NAME=\"hostname\">\n";
    print "                <option VALUE=\"none\">",&hlink("<b>$text{'f_selechosts'}</b>","fselechosts"),"\n";
   $nItems=0;
   foreach $item (&list_hosts()) {
        if ( $nItems == 0 ) {
             print " <option VALUE=\"".$item->{'alias'}."\">". $item->{'name'}."\n";
         }
        else {
             print " <option VALUE=\"".$item->{'alias'}."\" >".$item->{'name'}."  ";
        }
        $nItems++;
    }
    print "   </select></td></tr>\n";
} elsif  ( $monTarget eq "grphosts" ) {
    print "   ",&hlink("<b>$text{'f_usergrphosts'}</b>","fusergrphosts"),"&nbsp;</td>\n";
    print "   <td valign=top><select NAME=\"usergrphosts\">\n";
    print "                <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrphosts'}</b>","fselecgrphosts"),"\n";
   $nItems=0;
   foreach $item (&list_grphosts()) {
        if ( $nItems == 0 ) {
             print " <option VALUE=\"".$item->{'alias'}."\">". $item->{'name'}."\n";
       }
        else {
             print " <option VALUE=\"".$item->{'alias'}."\" >".$item->{'name'}."  ";
        }
        $nItems++;
   }
   print "        </select></td></tr>\n";
} elsif  ( $monTarget eq "app" ) {
    print "   ",&hlink("<b>$text{'f_appobjname'}</b>","fappobjname"),"&nbsp;</td>\n";
    print "   <td valign=top><select NAME=\"appname\">\n";
    print "                <option VALUE=\"none\">",&hlink("<b>$text{'f_selecapp'}</b>","fselecapps"),"\n";
    $nItems=0;
    foreach $item (&list_apps()) {
         if ( $nItems == 0 ) {
              print " <option VALUE=\"".$item->{'alias'}."\">". $item->{'name'}."\n";
        }
         else {
              print " <option VALUE=\"".$item->{'alias'}."\" >".$item->{'name'}."  ";
         }
         $nItems++;
    }
     print "        </select></td></tr>\n";
} elsif  ( $monTarget eq "grpapps" ) {
     print "   ",&hlink("<b>$text{'f_grpappsobjname'}</b>","fgrpappsobjname"),"&nbsp;</td>\n";
      print "   <td valign=top><select NAME=\"grpappsname\">\n";
      print "                <option VALUE=\"none\">",&hlink("<b>$text{'f_selecgrpapps'}</b>","fselecgrpapps"),"\n";
     $nItems=0;
     foreach $item (&list_grpapps()) {
          if ( $nItems == 0 ) {
               print " <option VALUE=\"".$item->{'alias'}."\">". $item->{'name'}."\n";
          }
          else {
               print " <option VALUE=\"".$item->{'alias'}."\" >".$item->{'name'}."  ";
          }
          $nItems++;
     }
     print "        </select></td></tr>\n";
}
