-Ajax = {
- xml_client: null,
- init: false,
-
- prepare_client: function()
- {
- if (!Ajax.init) {
- if (window.XMLHttpRequest) {
- Ajax.xml_client = new XMLHttpRequest();
- } else if (window.ActiveXObject) {
- try {
- Ajax.xml_client = new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- Ajax.xml_client = new ActiveXObject("Microsoft.XMLHTTP");
- }
- }
- if (Ajax.xml_client == null) {
- alert("Ton client ne supporte pas Ajax, nécessaire pour certaines fonctionalités de cette page");
- }
- }
- Ajax.init = true;
- },
-
- update_html: function(obj, src, func)