

function aonmouseover(a)
{
a.style.cursor="pointer";
}
function aonclick(a){
/*   idglossaire = a.id; 
 
pos = idglossaire.indexOf('#'); */
pos = a.id;
	if (pos != '-1'){
		id= pos;

		var parametres = id;
			var url ="aja.php"; 
			var htmlDiv ="ajax_container";
			new Ajax.Updater(htmlDiv,url,
							{encoding:	'ISO-8859-1',
							 method: 'post',
							 postBody: 'param1='+parametres
							});
	}  	
}  
 


Event.onDOMReady(function() { 

 		$$('div#centre div.xboxcontent a').each(function(element) {
		Event.observe(element, 'mouseover', function(){aonmouseover(element) }, false);
		Event.observe(element, 'click', function(){aonclick(element) }, false);

	}); 
  
});