Kontakte nou
Ou gen kesyon?
Nou la pou ede w
Kit w ap chèche yon kote oswa w ap eksplore posiblite pou w posede yon franchiz, ekip nou an pare.
Louvri chak jou soti 7è nan maten pou rive 10è nan aswè.
Plis pase 75 lokal atravè peyi a
Franchiz Lavelri #1
Kijan nou ka ede?
'' : '';
card.innerHTML = ''
Kontakte WaveMAX
Chwazi sa w ap chèche a epi n ap konekte w ak bon resous la.
N ap jwenn lokal WaveMAX ki pi pre ou a, oswa antre vil ou oswa kòd postal ou an anba a.
oswa
1
2
3
4
5
Lajan kach ki disponib pou envestisman
Egzijans likidite minimòm nou an se $500k.
Valè nèt aktyèl
Egzijans minimòm valè nèt nou an se $1M.
Nivo enterè
Tanpri di nou nan ki etap ou ye.
Kijan ou tande pale de nou?
Nou ta renmen konnen kijan ou te dekouvri WaveMAX!
📍
'
+''
+'
'
+'';
results.appendChild(card);
});
var all = document.createElement('div');
all.className = 'wmc-loc-all';
all.innerHTML = 'View all '+WMC_LOC.length+' WaveMAX locations →';
results.appendChild(all);
}
function wmcGeo() {
var btn = document.getElementById('wmc-geo-btn');
var lbl = btn.querySelector('.wmc-geo-btn__lbl');
var status = document.getElementById('wmc-loc-status');
if (!navigator.geolocation) {
status.textContent = 'Geolocation is not supported by your browser.';
status.style.display = 'block';
return;
}
btn.classList.add('loading');
btn.disabled = true;
lbl.textContent = 'Detecting location...';
status.textContent = 'Finding nearest WaveMAX locations...';
status.style.display = 'block';
document.getElementById('wmc-loc-results').innerHTML = '';
navigator.geolocation.getCurrentPosition(
function(pos) {
btn.classList.remove('loading');
btn.disabled = false;
lbl.textContent = 'Use My Current Location';
wmcShowLocs(pos.coords.latitude, pos.coords.longitude, 'your location');
},
function(err) {
btn.classList.remove('loading');
btn.disabled = false;
lbl.textContent = 'Use My Current Location';
status.textContent = err.code === 1
? 'Location access was denied. Enter your city or zip below.'
: 'Could not get your location. Enter your city or zip below.';
status.style.display = 'block';
},
{timeout:10000, maximumAge:300000}
);
}
function wmcZipSearch() {
var query = document.getElementById('wmc-zip').value.trim();
var status = document.getElementById('wmc-loc-status');
if (!query) return;
status.textContent = 'Searching for "'+query+'"...';
status.style.display = 'block';
document.getElementById('wmc-loc-results').innerHTML = '';
fetch('https://nominatim.openstreetmap.org/search?format=json&limit=1&countrycodes=us&q='+encodeURIComponent(query), {headers:{'Accept-Language':'en'}})
.then(function(r){ return r.json(); })
.then(function(data) {
if (data && data.length > 0) {
var lat = parseFloat(data[0].lat);
var lng = parseFloat(data[0].lon);
var name = data[0].display_name.split(',').slice(0,2).join(',').trim();
wmcShowLocs(lat, lng, name);
} else {
status.textContent = 'No results for "'+query+'". Try a different city or zip.';
status.style.display = 'block';
}
})
.catch(function() {
// Fallback: match in our own data
var q = query.toLowerCase();
var match = WMC_LOC.find(function(l){ return l.a.toLowerCase().indexOf(q) > -1; });
if (match) {
wmcShowLocs(match.lat, match.lng, query);
} else {
status.textContent = 'Search unavailable. Try the locations page.';
status.style.display = 'block';
document.getElementById('wmc-loc-results').innerHTML = '';
}
});
}
// ============================================================
// FORM: sync wizard data into hidden fields before submit
// ============================================================
var wfEl = document.getElementById('wmc-franchise-form');
if (wfEl) {
wfEl.addEventListener('submit', function() {
var notes = [];
if (WMC.liq) { notes.push('Cash: '+WMC.liq); document.getElementById('wmc-liq').value = WMC.liq; }
if (WMC.nw) { notes.push('Net Worth: '+WMC.nw); document.getElementById('wmc-nw').value = WMC.nw; }
if (WMC.int) { notes.push('Interest: '+WMC.int); document.getElementById('wmc-int').value = WMC.int; }
if (WMC.src) { notes.push('Source: '+WMC.src); document.getElementById('wmc-src').value = WMC.src; }
document.getElementById('wmc-desc').value = notes.join(' | ');
});
}
'+loc.n+''
'
+'''+loc.a+''
''
+phoneHtml
+''''+item.dist.toFixed(1)+' mil lwen
'
+'