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