function v2js_HotOffersTemplate(b){var g=new StringCat();var a=0;if(b.velocityCount){a=b.velocityCount}g.push('<div id="hotOffers" class="hotOffesrBg">    <h2><span>Hot offers of the week</span></h2>    <ol>    ');for(var e=0;e<b.offerIndexes.length;e++){var d=b.offerIndexes[e];a=e;g.push('        <li>            <div class="offerText">                <a href="');g.push(d.navigateUrl);g.push('"><h3>');g.push(d.resortName);g.push("</h3>                <h4>");g.push(d.displayName);g.push('</h4></a>                <div class="offersStarRating" id="starRating">                    <ol>                        <li>');for(var c=0;c<d.starImages.length;c++){var f=d.starImages[c];a=c;g.push('                            <img src="');g.push(f);g.push('" alt="star" />                            ')}a=e;g.push(' </li>                    </ol>                </div>                <div class="offerNights">');g.push(d.numberOfNights);g.push('&nbsp;Nights from</div>                <div class="offerPrice">');g.push(b.offerIndexes.GetCurrency());g.push(d.cheapestPrice);g.push('</div>            </div>            <div class="hotOfferImage">                <a href="');g.push(d.navigateUrl);g.push('"><img src="');g.push(d.imageURL);g.push('" alt="');g.push(d.displayName);g.push('" class="hotOfferImage" /></a>            </div>        </li>    ')}a=0;g.push("      </ol></div>");return g.toString()};