function Service() {
	
	this.service;
	
	this.options = null;
	
	this.from = function(service){
		this.service = service;
		return this;
	}
	
	this.withOptions = function(options){
		this.options = options;
		return this;
	}
	
	this.get = function(domain, callback){
		var url = URL_PROXY+"service="+this.service+"&"+"domain="+domain+"&"+"options="+this.options;
		if(this.service != "availability"){
			$.getJSON(url, callback);
		}else{
			$("#iframe_availability").attr("src", url);
		}
	}
}
