function catalogAjaxHttpAjaxSuccess (t, statusDiv) {

   }
   function catalogAjaxHttpAjaxError (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }

   function catalogAjaxHttpAjaxError404 (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }


  function catalogAjax (htmlDiv, queryString) {
     var myAction='catalogAjaxUpdate("' + htmlDiv + '", "' + queryString + '");';
     id = setTimeout(myAction,500);
   }


   function catalogAjaxUpdate (htmlDiv, queryString) {
     var status = document.getElementById(htmlDiv + 'status');
     if (status) {
       status.style.display = 'inline';
     }

     new Ajax.Updater(htmlDiv, '/wip4/inc/middle/test.epl?rnd=3211wdwqdf' + queryString, {
							       onComplete:function(){
                                                                           new Effect.Appear(htmlDiv, {
												     duration:0.5
                                                                                                      }
                                                                                             );
									 },
                                                     asynchronous: true,
                                                     evalScripts: true,
                                                     method: 'get',
                                                     on404: catalogAjaxHttpAjaxError404,
                                                     onSuccess: catalogAjaxHttpAjaxSuccess,
                                                     onFailure: catalogAjaxHttpAjaxError
                                                    });
   }



   function spmAjaxHttpAjaxSuccess (t, statusDiv) {

   }
   function spmAjaxHttpAjaxError (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }

   function spmAjaxHttpAjaxError404 (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }


  function spmAjax (htmlDiv, queryString) {
     var myAction='spmAjaxUpdate("' + htmlDiv + '", "' + queryString + '");';
     id = setTimeout(myAction,500);
   }

   function spmAjaxUpdate (htmlDiv, queryString) {
     var status = document.getElementById(htmlDiv + 'status');
     if (status) {
       status.style.display = 'inline';
     }

     new Ajax.Updater(htmlDiv, '/wip4/add_spm.epl?' + queryString, {
							       onComplete:function(){
                                                                           new Effect.Appear(htmlDiv, {
												     duration:0.5
                                                                                                      }
                                                                                             );
									 },
                                                     asynchronous: true,
                                                     evalScripts: true,
                                                     method: 'get',
                                                     on404: spmAjaxHttpAjaxError404,
                                                     onSuccess: spmAjaxHttpAjaxSuccess,
                                                     onFailure: spmAjaxHttpAjaxError
                                                    });
   }




