var ImmHelp = new Class({
	initialize: function(){
		this.win  = new immWindow('Help');
		this.win.setSize(500,200);
		this.data = {};
	},
	display: function(data){
		this.win.createWindow();
		this.loadItem(data);
	},
	loadItem: function(i){
		this.win.showLoading();
		var request = new Json.Remote('/?immJax=help').send(i);
		request.addEvent('onComplete',function(r){
			this.win.setContent(r.html);
			if(r.footer) {
				this.win.setFooter(r.footer);
			};
		}.bind(this));
	}
});
var help = new ImmHelp();
