function wipGalleryHttpAjaxSuccess (t, statusDiv) {

   }
   function wipGalleryHttpAjaxError (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }

   function wipGalleryHttpAjaxError404 (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }

   function wipGalleryLoad (queryString, htmlDiv) {
     var status = document.getElementById(htmlDiv + 'status');
     if (status) {
       status.style.display = 'inline';
     }

     new Effect.Fade(htmlDiv, { duration:0.5 });
     var myAction='wipGalleryUpdater("' + queryString + '", "' + htmlDiv + '");';
     id = setTimeout(myAction,500);
   }

   function wipGalleryUpdater (queryString, htmlDiv) {
     var url = '/tools/wip_v4/ajax/gallery4/show_gallery.epl';
     new Ajax.Updater(htmlDiv, url + '?' + queryString, {
                                                     onComplete:function(){
                                                                           new Effect.Appear(htmlDiv, {
                                                                                                       duration:0.8
                                                                                                      }
                                                                                             );
                                                                          },
                                                     asynchronous: true,
                                                     evalScripts: true,
                                                     method: 'get',
                                                     on404: wipGalleryHttpAjaxError404,
                                                     onSuccess: wipGalleryHttpAjaxSuccess,
                                                     onFailure: wipGalleryHttpAjaxError
                                                    });
   }


