	  // Ajax-Request-Klasse  
	  ajaxRequest = function(url, state, method, body, headers, sync, abort) 
	  {
	    this.url      = url;
		this.state    = state || function() {  };
		this.method   = method || "GET";
		this.body     = body || null;
		this.headers  = headers || false;
		this.sync     = sync || true;
		this.abortReq = abort || false;    
		
		if(window.XMLHttpRequest) {
		  this.req = new XMLHttpRequest();
		} else if(window.ActiveXObject) {
		  this.req = new ActiveXObject("Microsoft.XMLHTTP");
		} else {
		  this.req = false;
		}
		
		
		this.doRequest = function() {
		  this.req.open(this.method, this.url, this.sync);
		  if(this.headers) {
		    for(var i = 0; i < this.headers.length; i+=2) {
			  this.req.setRequestHeader(this.headers[i], this.headers[i+1]);
			}
		  }
		  this.req.onreadystatechange = this.state;
		  if(!this.abortReq) {
		    this.req.send(this.body);  
		  } else {
		    this.req.abort();
		  }
		}		    
	  }
