 function csInclude(displayId, url) {
          var req = null;
          if (window.XMLHttpRequest) {//other than IE
             try {
               req = new XMLHttpRequest();
             } catch (e) {
               req = null;
             }
          } else if (window.ActiveXObject) {//IE
             try {
               req = new ActiveXObject("Msxml2.XMLHTTP");
             } catch (e) {
               try {
                 req = new ActiveXObject("Microsoft.XMLHTTP");
               } catch (e) {
                 req = null;
               }
             }
          }
          var display = document.getElementById(displayId);
          if (!display) {
             alert("give me a valid ID dude.");
             return;
          }
          if (req != null) {
             req.open('GET', 'autoczesci/ajax.php'+url, false);
             req.send(null);
             display.innerHTML = req.responseText;
          } else {
             display.innerHTML =
             "your browser does not support ajax";
          }
 }


 function delTag(del) {
   if (document.getElementById(del)) {
      var tag = document.getElementById(del);   
      tag.parentNode.removeChild(tag);
   }
 }

