QuebecMap.setupMarkers = function() {
    var group, i;

    // ----
    group = "hotels";
    if (this.markers[group] == null) {
        this.markers[group] = [];
    }
    coord = new GLatLng(46.80689, -71.21318); this.markers[group].push(this.createNumberedMarker('dark_blue', 1, { position: coord, size: [32, 32], shadow: false }, 'coordOTQ'));
    coord = new GLatLng(46.75716, -71.29391); this.markers[group].push(this.createNumberedMarker('dark_blue', 2, { position: coord, size: [32, 32], shadow: false }, 'coordStFoy'));
    coord = new GLatLng(46.87430, -71.09863); this.markers[group].push(this.createNumberedMarker('dark_blue', 3, { position: coord, size: [32, 32], shadow: false }, 'coordIleOrleans'));
    coord = new GLatLng(46.63969, -71.99588); this.markers[group].push(this.createNumberedMarker('dark_blue', 4, { position: coord, size: [32, 32], shadow: false }, 'coordPortneuf'));
    coord = new GLatLng(46.74226, -71.54203); this.markers[group].push(this.createNumberedMarker('dark_blue', 5, { position: coord, size: [32, 32], shadow: false }, 'coordStAug'));
    coord = new GLatLng(46.91656, -71.31947); this.markers[group].push(this.createNumberedMarker('dark_blue', 6, { position: coord, size: [32, 32], shadow: false }, 'coordLacBeauport'));
    coord = new GLatLng(46.85628, -71.35083); this.markers[group].push(this.createNumberedMarker('dark_blue', 7, { position: coord, size: [32, 32], shadow: false }, 'coordWendake'));
    // ----
    group = "restaurants";
    if (this.markers[group] == null) {
        this.markers[group] = [];
    }
    coord = new GLatLng(46.86253, -71.26703); this.markers[group].push(this.createNumberedMarker('light_blue', 1, { position: coord, size: [32, 32], shadow: false }, 'coordCharlesbourg'));
    coord = new GLatLng(46.89821, -71.12187); this.markers[group].push(this.createNumberedMarker('light_blue', 2, { position: coord, size: [32, 32], shadow: false }, 'coordCoteBeaupre'));
    coord = new GLatLng(46.61231, -72.00879); this.markers[group].push(this.createNumberedMarker('light_blue', 3, { position: coord, size: [32, 32], shadow: false }, 'coordDeschambault'));
    coord = new GLatLng(46.84658, -71.61990); this.markers[group].push(this.createNumberedMarker('light_blue', 4, { position: coord, size: [32, 32], shadow: false }, 'coordSteCath'));
    coord = new GLatLng(46.99896, -71.36292); this.markers[group].push(this.createNumberedMarker('light_blue', 5, { position: coord, size: [32, 32], shadow: false }, 'coordStoneham'));
    coord = new GLatLng(46.89066, -71.83759); this.markers[group].push(this.createNumberedMarker('light_blue', 6, { position: coord, size: [32, 32], shadow: false }, 'coordStRaymond'));

    this.setupAllMapPointsNow();
};

QuebecMap.setupAllMapPointsNow = function() {

    var theString = document.getElementById('ctl00_MainPlaceHolder_hfMapPoints').value;
    var theValues = new Array();
    var parameters = new Array();

    if (theString == null || theString == '') {
        return;
    }

    theString = theString.substr(0, theString.length - 1);
    theValues = theString.split("|");

    for (var i = 0; i < theValues.length; i++) {

        parameters = theValues[i].split("#");

        var latitude = parseFloat(parameters[0]);
        var longitude = parseFloat(parameters[1]);
        var number = parseInt(parameters[2]);
        var type = parameters[3];
        var ClientIDSnippet = parameters[4];

        this.setMapPinNumber(latitude, longitude, number, type, ClientIDSnippet);

    }

    ////QuebecMap.map.setCenter(12);

};

QuebecMap.setMapPinNumber = function(Latitude, Longitude, Number, type, ClientIDSnippet) {
    var group;
    var coord = new GLatLng(46.80875, -71.21415);

    if (Latitude != 0) {
        coord = new GLatLng(Latitude, Longitude);
    }

    if (type == 'favoris') {

        group = "mes_favoris";
        if (this.markers[group] == null) {
            this.markers[group] = [];
        }

        this.markers[group].push(this.createNumberedMarker('favoris', null, { position: coord, size: [32, 32], shadow: false }, ClientIDSnippet));

    }
};

