dojo.declare("com.mgh.LanguagesView", [com.mgh.CentersView], {
	constructor : function(){
		this.renderLayer = '#language div';		
		this.listLayout = '<ul>${0}</ul>';
		this.listElement = '<li>${0}</li>';
		this.model;
	},
	
	RenderView : function(model){
		this.model = model;
		var output = "";
		for (var i = 0; i < this.model.length; i++){
			output += dojo.string.substitute(this.listElement, [this.model[i].Format()]);
		}
		output = dojo.string.substitute(this.listLayout,[output]);
		jQuery(this.renderLayer).html(output);
	}
});