// JavaScript Document
var GadgetFeedService = Class.create();
		
		Object.extend(Object.extend(GadgetFeedService.prototype, Ajax.Service.Base.prototype),
						{
							method : "GET",
							
							initialize : function(url){
								
								this.url = url;
								this.createListener();
							
							},
							createListener : function(){
								
								this.receiveFeedHandle = this.receiveFeed.bind(this);
							
							},
							retrieveFeed : function(params){								
									
								_IG_FetchXmlContent(this.url + ((params) ? "?" + params : ""), this.receiveFeedHandle);
							
							},
							receiveFeed : function(xml){
								
								this.dispatchEvent("receiveFeed", xml);
							
							}					
						}
					);