";
echo $prefix." ";
}
$lib_liste="";
if(is_array($value)){
foreach($value as $k=>$v){
$lib_liste = $k;
echo "
$v
";
}
} else $lib_liste=$value;
echo " <".($prefix?"span":"div")." id='l".$id."_".$i."'";
if ($autfield) echo " autid='".$index."'";
if ($thesid) echo " thesid='".$thesid."'";
echo " class='ajax_completion_normal".($grey?"_grey":"")." ".(!$prefix?"ajax_font_width_100":"")." ".$ajax_font_size."'";
echo " onMouseOver=\"this.className='ajax_completion_surbrillance ".(!$prefix?"ajax_font_width_100":"")." ".$ajax_font_size."'\"";
echo " onMouseOut=\"this.className='ajax_completion_normal".($grey?"_grey":"")." ".(!$prefix?"ajax_font_width_100":"")." ".$ajax_font_size."'\"";
echo " onClick='if(document.getElementById(\"c".$id."_".$i."\")) ajax_set_datas(\"c".$id."_".$i."\",\"$id\"); else ajax_set_datas(\"l".$id."_".$i."\",\"$id\");'>".$lib_liste."".($prefix?"span":"div").">";
if ($prefix) echo "
";
$i++;
}
} else {
echo "