var url='lib/ajax/php/functions.php';

var mostraNuvolaTag=function(idRecordTag)
{
	var search = new Ajax.Request(
//        {success: 'textInfo'},
        url,
        {
               method: 'post',
               parameters: {
                     'function': 'mostraNuvolaTag'
               },
               onFailure: reportError,
	       onComplete: function(TAG)
	       {
	       		$('imgInfo').insert({
					after: TAG.responseText
				})
	       		//$('divTAG').show();
	       },
               evalScripts: true
         });
}

var reportError=function()
{
	alert('errore');
}

