var Template = base2.Base.extend({
	constructor: function(options){
		this.SetOptions(options),
		this.Load();
	},
	
	Defaults: {
		Path: null,
		Html: null
	},
	
	Path:null,
	Html:null,
	
	SetOptions:function(options){
		this.Options = jQuery.extend({}, this.Defaults, options);
	},
	
	Load: function(){
		if (this.Options.Path)
		{			
		    var template;

		    this.Html = jQuery.ajax({
		        url: this.Options.Path,
		        type: "GET",
		        async: false
		    }).responseText;
		}
		
		if (this.Options.Html) {
			this.Html = this.Options.Html;
		}
	}
		
});
