Menchies: Obtenez un yaourt glacé (6oz) gratuitement!

menchies
Facebook
X
Imprimer

Pour les gens de Québec, Laval, Brossard et Dollard-des-Ormeaux, vous pouvez obtenir un yaourt glacé Menchies (6oz) gratuitement en présentant votre coupon imprimable au magasin le plus proche de chez vous.

Pour trouver un magasin Menchies, cliquez ici

Pour obtenir votre coupon de gratuité cliquez sur le bouton <Aller à l’offre>

Menchies: Obtenez un yaourt glacé (6oz) gratuitement!,

 

// <![CDATA[
// Begin Google Maps Store Locator Code
//<![CDATA[
var map;
var markers = [];
var infoWindow;
var sidebar;

function load() {
/* Define the map. */
map = new google.maps.Map(document.getElementById("map"), {
center: new google.maps.LatLng(40, -100),
zoom: 4,
mapTypeId: 'roadmap',
mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}
});

/* Set variables for reference. */
infoWindow = new google.maps.InfoWindow();
sidebar = document.getElementById("sidebar");
searchLocations();
}

function searchLocations() {
var address = 'QC';

var geocoder = new google.maps.Geocoder();
geocoder.geocode({address: address + ' USA'}, function(results, status) {
if(status == google.maps.GeocoderStatus.OK) {
searchLocationsNear(results[0].geometry.location);
}
else {
noResultsFound(results[0].geometry.location);
}
});
}

function clearLocations() {
infoWindow.close();

for(var i = 0; i < markers.length; i++) {
markers[i].setMap(null);
}

markers.length = 0;
sidebar.innerHTML = "";
}

function searchLocationsNear(center) {
clearLocations();
var searchUrl = 'locations-search.php?lat=' + center.lat() + '&lng=' + center.lng();
searchUrl = searchUrl + '&state=QC';

downloadUrl(searchUrl, function(data) {
var xml = parseXml(data);
var markers = xml.documentElement.getElementsByTagName("marker");
var bounds = new google.maps.LatLngBounds();

sidebar.innerHTML = '';
if (markers.length == 0) {
sidebar.innerHTML = 'Smiles coming soon!
Franchise opportunities still available!
Click Here to find out more.
‘;
return;
}

for (var i = 0; i < markers.length; i++) {
var name = markers[i].getAttribute('name');
var alias = markers[i].getAttribute('alias');
var address_details = markers[i].getAttribute('address_details');
var address1 = markers[i].getAttribute('address1');
var address2 = markers[i].getAttribute('address2');
var city = markers[i].getAttribute('city');
var state = markers[i].getAttribute('state');
var zip = markers[i].getAttribute('zip');
var phone = markers[i].getAttribute('phone');
var hours1 = markers[i].getAttribute('hours1');
var hours2 = markers[i].getAttribute('hours2');
var hours3 = markers[i].getAttribute('hours3');
var hours4 = markers[i].getAttribute('hours4');
var twitter = markers[i].getAttribute('twitter');
var facebook = markers[i].getAttribute('facebook');
var distance = parseFloat(markers[i].getAttribute('distance'));
var active = markers[i].getAttribute('active');
var point = new google.maps.LatLng(parseFloat(markers[i].getAttribute('lat')), parseFloat(markers[i].getAttribute('lng')));

var marker = createMarker(point, name, alias, address_details, address1, address2, city, state, zip, phone, hours1, hours2, hours3, hours4, twitter, facebook, active);
var sidebarEntry = createSidebarEntry(marker, name, alias, address_details, address1, address2, city, state, zip, phone, hours1, hours2, hours3, hours4, twitter, facebook, distance, active);
sidebar.appendChild(sidebarEntry);
bounds.extend(point);
}

map.fitBounds(bounds);

if(markers.length == 1) {
map.setZoom(16);
}

var sidebar_end = document.createElement('div');

sidebar_end.innerHTML = 'Still welcoming new franchisees!
Click Here to find out more.
‘;

sidebar.appendChild(sidebar_end);
});
}

function createMarker(point, name, alias, address_details, address1, address2, city, state, zip, phone, hours1, hours2, hours3, hours4, twitter, facebook, active) {
var icon_image = new google.maps.MarkerImage(“http://www.menchies.com/images/locations/marker.png”,
new google.maps.Size(26,33)
);

/* Marker shadow. */
var icon_shadow = new google.maps.MarkerImage(“http://www.menchies.com/images/locations/shadow.png”,
new google.maps.Size(46,33),
new google.maps.Point(13,0)
);

var html = ‘‘ + name;

if(active == 2) {
var html = html + ‘
COMING SOON’;
}

var html = html + ‘
‘;

if(address1 != ”) {
var html = html + address1 + ‘
‘;
}

if(address2 != ”) {
var html = html + address2 + ‘
‘;
}

if(address_details != ”) {
var html = html + ‘(‘ + address_details + ‘)
‘;
}

if(city != ”) {
var html = html + city;
}

if(city != ” && state != ”) {
var html = html + ‘, ‘;
}

if(state != ”) {
var html = html + state;
}

if(zip != ”) {
var html = html + ‘ ‘ + zip;
}

if(city != ” || state != ” || zip != ”){
var html = html + ‘
‘;
}

if(phone != ”) {
var html = html + phone + ‘
‘;
}

if(hours1 != ”) {
var html = html + ‘‘ + hours1 + ‘
‘;
}
if(hours2 != ”) {
var html = html + ‘‘ + hours2 + ‘
‘;
}
if(hours3 != ”) {
var html = html + ‘‘ + hours3 + ‘
‘;
}
if(hours4 != ”) {
var html = html + ‘‘ + hours4 + ‘
‘;
}

if(active != 2) {
var html = html + ‘Visit Website
‘;
}

if(twitter != ”) {
var html = html + ‘‘;
}
if(facebook != ”) {
var html = html + ‘‘;
}
if(twitter != ” || facebook != ”) {
var html = html + ‘
‘;
}
/* Create the marker. */
var marker = new google.maps.Marker({
map: map,
position: point,
icon: icon_image,
shadow: icon_shadow
});

google.maps.event.addListener(marker, ‘click’, function() {
infoWindow.setContent(html);
infoWindow.open(map, marker);
});

markers.push(marker);
}

function createSidebarEntry(marker, name, alias, address_details, address1, address2, city, state, zip, phone, hours1, hours2, hours3, hours4, twitter, facebook, distance, active) {
var div = document.createElement(‘div’);

var html = ‘‘ + name;

if(active == 2) {
var html = html + ‘
COMING SOON’;
}

var html = html + ‘
‘;

if(address1 != ”) {
var html = html + address1 + ‘
‘;
}

if(address2 != ”) {
var html = html + address2 + ‘
‘;
}

if(address_details != ”) {
var html = html + ‘(‘ + address_details + ‘)
‘;
}

if(city != ”) {
var html = html + city;
}

if(city != ” && state != ”) {
var html = html + ‘, ‘;
}

if(state != ”) {
var html = html + state;
}

if(zip != ”) {
var html = html + ‘ ‘ + zip;
}

if(city != ” || state != ” || zip != ”){
var html = html + ‘
‘;
}

if(phone != ”) {
var html = html + phone + ‘
‘;
}

if(hours1 != ”) {
var html = html + ‘‘ + hours1 + ‘
‘;
}
if(hours2 != ”) {
var html = html + ‘‘ + hours2 + ‘
‘;
}
if(hours3 != ”) {
var html = html + ‘‘ + hours3 + ‘
‘;
}
if(hours4 != ”) {
var html = html + ‘‘ + hours4 + ‘
‘;
}

if(active != 2) {
var html = html + ‘Visit Website
‘;
}

if(twitter != ”) {
var html = html + ‘‘;
}
if(facebook != ”) {
var html = html + ‘‘;
}
if(twitter != ” || facebook != ”) {
var html = html + ‘
‘;
}
div.innerHTML = html;
div.style.cursor = ‘pointer’;
div.setAttribute(‘onclick’, ‘showWindow(‘ + (markers.length – 1) + ‘);’);

if(active == 2) {
div.className = ‘coming-soon’;
}

return div;
}

function downloadUrl(url, callback) {
var request = window.ActiveXObject ?
new ActiveXObject(‘Microsoft.XMLHTTP’) :
new XMLHttpRequest;

request.onreadystatechange = function() {
if(request.readyState == 4) {
request.onreadystatechange = doNothing;
callback(request.responseText, request.status);
}
};

request.open(‘GET’, url, true);
request.send(null);
}

function parseXml(str) {
if(window.ActiveXObject) {
var doc = new ActiveXObject(‘Microsoft.XMLDOM’);
doc.loadXML(str);
return doc;
}
else if (window.DOMParser) {
return (new DOMParser).parseFromString(str, ‘text/xml’);
}
}

function showWindow(i) {
google.maps.event.trigger(markers[i], “click”);
}

function noResultsFound(center, search_term) {
map.setCenter(center);
map.setZoom(10);
sidebar.innerHTML = ‘No results found for QC. Please refine your search terms and try again.’;
}

function doNothing() {}
// ]]>

Facebook
X
WhatsApp
Pinterest
Imprimer
Rejoignez le Panel d'Opinion Léger (LEO) : Donnez Votre Avis et Gagnez des Récompenses!
P&G: Obtenez des récompenses exclusives (échantillons gratuits, coupons rabais, cartes-cadeaux, participations à des tirages...)
GRATUIT: Obtenez gratuitement un scanner portable pour lire les codes barres et gagnez des supers cadeaux!
Obtenez un T-shirt gratuit d'équipe Canada
Échantillon Gratuit: Découvrez la Simplicité Délicieuse des Bouchées de Fruits Bio à 100% de Sunrype
Obtenez un échantillon GRATUIT de la Base Concentrée Liquide aux Fruits de Mer de Knorr Professional
Obtenez une carte Tim numérique de 15 $ GRATUITE !
GRATUIT: SAC À COLLATION STASHER
Gagnez un magnifique foyer extérieur d'une valeur de 575 $
Obtenez un T-shirt gratuit d'équipe Canada
Maïs à éclater Orville à 2,50$ au lieu de 5,99$
Offre spéciale : Couronnes de brocoli à 0,84$ !
Fromage tranché Naturel Armstrong 200/240 g à 2,77$ au lieu de 5,99$