		<div style='padding:10px;'>
		<input type="text" value="" id="valeur_recherchee" name="valeur_recherchee"/><input type="button" value="Rechercher" id="rechercher"/>
		<div id="res_recherche"></div>
			<script type="text/javascript">
				$(document).ready(function(){
					$('#rechercher').click(function(){
						$('#res_recherche').html('<img src="/api/img/loading.gif">');
						$('#res_recherche').load('/download/ajax.php?option=recherche_logiciel&id_fiche=13152&id_genre=16&ajax=true', {val: $('#valeur_recherchee').val()});
					});
					$('.right').live('click', function(){
						var auto = $(this).attr('id');
						arr = auto.split('_');
						$.get('/download/ajax.php', { option: 'add_connexe_logiciel', id_fiche: '13152', ajax: 'true', id_connexe: arr[2]}, 
							function(){
								return true;
							}
						);
    					$(this).parent().remove();
					});
					$('#valeur_recherchee').live('keypress', function(event){
						if(event.keyCode == '13'){
							event.preventDefault();
							$('#rechercher').click();
						}
					});
				});
			</script>
		</div>
