/**
 * This class returns the HMTL for a HOTEL Overlay marker
 * 
 */

function resultGmapItem(){
	
	this._getItemInfoHtml = function (i){
		var link = '/hotel_detail.php?lang='+this.lang+'&token='+ this.token + '&hOpt='+$(i).attr('id')+ '|'+$(i).attr('provider');
		// Add Marker to map
		var imgStar 	= "icon_star_blue.gif";
		
		var html = '<b><a href="'+link+'">'+arTxt['Hotel']+' : ' + $(i).attr('title') + ' (' + $(i).attr('category') + ')</a></b>'+
					'<table width=225 border=0>'+
						'<tr>'+
							'<td>'+
								'<a href="'+link+'">'+
								'<img src="'+i['images'][0]+'" height=85 hspace=3 vspace=2 border=0  />'+
								'</a>'+
							'</td>'+
							'<td>'+
								'<br />'+
								'<strong>'+arTxt['from']+' :' +i['price']+'€</strong><br/>'+
								'<br /> >> <a href="'+link+'"><b>'+arTxt['More Info']+'</b></a>'+
							'</td>'+
						'</tr>'+
					'</table>';
		
		return html;
	};
	
}
