@l_target = split(/,/,$text{'mon_target_value'}, -1);
$nItems=0;
foreach $item (@l_target) {
     if ( $item eq $monTarget ) {
        $targetext='mon_'.$item.'_sess';
        $t_monTarget=$text{$targetext};
        last;
     }
     $nItems++;
}

@l_conditions = split(/,/,$text{'mon_conditions_value'}, -1);
@l_conditions_tit = split(/,/,$text{'mon_conditions_desc'}, -1);
$nItems=0;
foreach $item (@l_conditions) {
     if ( $item eq $monCondition ) {
        $t_monCondition=$l_conditions_tit[$nItems];
        last;
     }
     $nItems++;
}

@l_actions = split(/,/,$text{'mon_actions_value'}, -1);
@l_actions_tit = split(/,/,$text{'mon_actions_desc'}, -1);
$nItems=0;
foreach $item (@l_actions) {
     if ( $item eq $monAction ) {
        $t_monAction=$l_actions_tit[$nItems];
        last;
     }
     $nItems++;
}

foreach $scr (&load_scriptlist()) { 
     if ( $scr->{'name'} eq $monScript ) {
        $t_monScript="<A href=\"mon_edscript.cgi?".$scr->{'name'}."\">".$scr->{'name'}."</A> (".$scr->{'desc'}.")";
        last;
     }
}
@l_how = split(/,/,$text{'mon_how_value'}, -1);
@l_how_tit = split(/,/,$text{'mon_how_desc'}, -1);
$nItems=0;
foreach $item (@l_how) {
     if ( $item eq $monHow ) {
          $t_monHow=$l_how_tit[$nItems];
          last;
     }
     $nItems++;
}
