
var LP_Title = function (jHeader) {
	this.title = jHeader.find('td.LP_header_title').html();
	this.image = jHeader.find('td.LP_header_image img').attr('src');
};

LP_Title.prototype.getOutput = function () {
	var tpl = new Template(LP_Title_Template);
	
	var data = {
		title: 	this.title,
		image: 	this.image
	};
	
	return tpl.evaluate(data);
};

var LP_Title_Template = '<div class="LP_title" style="background-image:url({[image]});"><div>{[title]}</div></div>'+newline;
