function wipCalendarHttpAjaxSuccess (t, statusDiv) {

   }
   function wipCalendarHttpAjaxError (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }

   function wipCalendarHttpAjaxError404 (t) {
     alert('Error ' + t.status + ' -- ' + t.statusText);
     //alert('you can\'t user this pseudo (ndr : test version).');
     //$(imgPseudo).src = '/champNonValide.gif';
   }

   function wipCalendar (queryString, htmlDiv, page) {
     if (!page) {
       page = 'show';
     }
     var myUrls = new Array();
     myUrls['show']          = '/tools/wip_v4/ajax/calendar/show.epl';
     myUrls['show_extended'] = '/tools/wip_v4/ajax/calendar/show_extended.epl';

     var url = myUrls[page];
     var status = document.getElementById(htmlDiv + 'status');
     if (status) {
       status.style.display = 'inline';
     }
     new Ajax.Updater(htmlDiv, url + '?' + queryString, {
                                                     onComplete:function(){
							                   },
                                                     asynchronous: true,
                                                     evalScripts: true,
                                                     method: 'get',
                                                     on404: wipCalendarHttpAjaxError404,
                                                     onSuccess: wipCalendarHttpAjaxSuccess,
                                                     onFailure: wipCalendarHttpAjaxError
                                                    });
   }


