﻿

---

### Find your boat

 Boat type Any

 Price min (€)525€

 Price max (€)12100€

 Guest capacity

 Length min (m)6.5m

 Length max (m)24m

 Skipper Any

 Stabilizers  Only with stabilizers

 Start date

 End date

 [Reset](https://nautiza.com/index.phpItemid=148)

###### Find your boat

   Sort by:

 Length (m)

 Ascending ↑

Loading...

'; return; } target.innerHTML = boats.map(boat =&gt; { return template .replace(/\\{\\{id\\}\\}/g, boat.id || '') .replace(/\\{\\{shipyard\\}\\}/g, boat.shipyard || '') .replace(/\\{\\{model\\}\\}/g, boat.model || '') .replace(/\\{\\{name\\}\\}/g, boat.name || '') .replace(/\\{\\{length\\}\\}/g, boat.length || '0') .replace(/\\{\\{price\\}\\}/g, boat.price || '0') .replace(/\\{\\{guests\\}\\}/g, boat.guests || '0') .replace(/\\{\\{boat\_type\_name\\}\\}/g, boat.boat\_type\_name || '') .replace(/\\{\\{skipper\_text\\}\\}/g, boat.skipper\_text || '') .replace(/\\{\\{url\\}\\}/g, boat.url || '#'); }).join(''); } function updateCount(count) { const countEl = document.getElementById(config.countId); if (countEl) { const sortFieldNames = { 'length': 'Length (m)', 'price': 'Price (€)', 'guests': 'Passengers', 'pax': 'Passengers' }; const sortFieldText = sortFieldNames\[config.currentSortBy\] || config.currentSortBy; const sortOrderText = config.currentSortOrder === 'ASC' ? 'Ascending' : 'Descending'; countEl.textContent = 'Results: ' + count + ' - Sorted by: ' + sortFieldText + ' (' + sortOrderText + ')'; } } function showError(message) { const target = document.getElementById(config.targetId); target.innerHTML = '' + message + '

'; updateCount(0); } // Initialize when DOM is ready if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initialize); } else { initialize(); } })();
