Ajax = new Class({

	Implements : Options,
	requestObj : null,
	
	options : {
		url: '',
		data: '',
		headers: {
			'X-Requested-With': 'XMLHttpRequest',
			'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
		},
		async: true,
		format: false,
		method: 'post',
		link: 'ignore',
		isSuccess: null,
		emulation: true,
		urlEncoded: true,
		encoding: 'utf-8',
		evalScripts: false,
		evalResponse: false,
		noCache: false
	
	},
	
	initialize : function(url, options){
		this.setOptions(options);
		this.options.url = url;
		this.requestObj = new Request.HTML(this.options);
	
	},
	
	request : function(){
		this.requestObj.send();
	}
	
});	


