  function initialize() {
	var center = new google.maps.LatLng(45.55,-73.609879);
	var ctna = new google.maps.LatLng(45.433584,-73.458389);
    var boucherville = new google.maps.LatLng(45.572267,-73.414674);
	var estrie = new google.maps.LatLng(45.360303,-71.927705);
	var gaspesie = new google.maps.LatLng(48.160972,-65.856764);
	var hauteyamaska = new google.maps.LatLng(45.307644,-72.671707);
	var laval = new google.maps.LatLng(45.636041,-73.641593);
	var montreal = new google.maps.LatLng(45.45852,-73.609879);
	var ileperrot = new google.maps.LatLng(45.382518,-74.012693);
	var outaouais = new google.maps.LatLng(45.437182,-75.729796);
	var rivesud = new google.maps.LatLng(45.46439,-73.345585);
	var mauricie = new google.maps.LatLng(46.579527,-72.736273);
    var myOptions = {
      zoom: 9,
      center: center,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    }

    var map = new google.maps.Map(document.getElementById("contact-details-google-map"), myOptions);
    
	
	
	
	if ($('body').attr("id") == 'langue_fr'){
    var infowindowBoucherville = new google.maps.InfoWindow(
	{ content: 'Siège social de Construction DJL <br/>'+
	'1550, rue Ampère<br/>'+
	'Bureau 200<br/>'+
	'Boucherville<br/>'+
	'Québec, Canada<br/>'+
	'J4B 7L4<br/>'+
	'Tél. : 450-641-8000<br/>'+
	'Fax : 450-655-1201<br/>',
	 position: boucherville
	 });
	 var infowindowEstrie = new google.maps.InfoWindow(
	 { content: 'Estrie<br/>'+
	 '2300, chemin Bel Horizon<br/>'+
	 'Canton de Hatley<br/>'+
	 'Québec, Canada<br/>'+
	 'J0B 2C0<br/>'+
	 'Tél. : 819-569-5923<br/>'+
	 'Fax : 819-564-0468<br/>',
	  position: estrie
	  });
	 var infowindowGaspesie = new google.maps.InfoWindow(
	 { content: 'Gaspésie<br/>'+
	 '136, boul. Perron ouest<br/>'+
	 'New Richmond<br/>'+
	 'Québec, Canada<br/>'+
	 'G0C 2B0<br/>'+
	 'Tél. : 418-392-5055<br/>'+
	 'Fax : 418-392-6639<br/>',
	  position: gaspesie
	  });
	 var infowindowHauteYamaska = new google.maps.InfoWindow(
	 { content: 'Haute-Yamaska<br/>'+
	 '2, rue des Carrières<br/>'+
	 'Bromont<br />'+
	 'Québec, Canada<br/>'+
	 'J2L 1S3<br/>'+
	 'Tél. : 450-534-2224<br/>'+
	 'Fax : 450-534-3020<br/>',
	  position: hauteyamaska
	  });
	 var infowindowLaval = new google.maps.InfoWindow(
	 { content: 'Laval<br/>'+
	 '1290A, Montée Masson<br/>'+
	 'Laval<br/>'+
	 'Québec, Canada<br/>'+
	 'H7E 4P2<br/>'+
	 'Tél. : 450-661-0442<br/>'+
	 'Fax : 450-661-3649<br/>',
	  position: laval
	  });
	 var infowindowMontreal = new google.maps.InfoWindow(
	 { content: 'Montréal<br/>'+
	 '6200, rue St-Patrick<br/>'+
	 'Montréal<br/>'+
	 'Québec, Canada<br/>'+
	 'H4E 1B3<br/>'+
	 'Tél. : 514-766-8256<br/>'+
	 'Fax : 514-769-2784<br/>',
	  position: montreal
	  });
	 var infowindowIlePerrot = new google.maps.InfoWindow(
	 { content: 'Île-Perrot-Vaudreuil<br/>'+
	 '200, Autoroute du Souvenir<br/>'+
	 'Île Perrot<br/>'+
	 'Québec, Canada<br/>'+
	 'J7V 5L8<br/>'+
	 'Tél. : 514-453-5897<br/>'+
	 'Fax : 514-453-0571<br/>',
	  position: ileperrot
	  });
	 var infowindowOutaouais = new google.maps.InfoWindow(
	 { content: 'Outaouais<br/>'+
	 '20, Emile-Bond<br/>'+
	 'Gatineau<br/>'+
	 'Québec, Canada<br/>'+
	 'J8Y 3M7<br/>'+
	 'Tél. : 819-770-2300<br/>'+
	 'Fax : 819-770-4600<br/>',
	  position: outaouais
	  });
	 var infowindowRiveSud = new google.maps.InfoWindow(
	 { content: 'Rive-Sud<br/>'+
	 '1463, chemin Chambly<br/>'+
	 'Carignan<br/>'+
	 'Québec, Canada<br/>'+
	 'J3L 0J6<br/>'+
	 'Tél. : 450-658-7527<br/>'+
	 'Fax : 450-447-3434<br/>',
	  position: rivesud
	  });
	 var infowindowMauricie = new google.maps.InfoWindow(
	 { content: 'Mauricie<br/>'+
	 '3200, boul. Hubert-Biermans<br/>'+
	 'Shawinigan<br/>'+
	 'Québec, Canada<br/>'+
	 'G9N 0A4<br/>'+
	 'Tél. : 819-539-2271<br/>'+
	 'Fax : 819-539-7611<br/>',
	  position: mauricie
	  });
	 var infowindowCtna = new google.maps.InfoWindow(
	 { content: 'CTNA (Centre Technique Nord Amérique)<br/>'+
	 '3705, Place de Java<br/>'+
	 'Brossard<br/>'+
	 'Québec, Canada<br/>'+
	 'J4Y 0E4<br/>'+
	 'Tél. : 450-444-1574<br/>'+
	 'Fax : 450-619-2598<br/>',
	  position: ctna
	  });
	 
	 }else {
	 var infowindowBoucherville = new google.maps.InfoWindow(
	{ content: 'DJL Construction Head Office<br/>'+
	'1550 Ampere Street<br/>'+
	'Suite 200<br/>'+
	'Boucherville<br/>'+
	'Quebec, Canada<br/>'+
	'J4B 7L4<br/>'+
	'Phone: 450-641-8000<br/>'+
	'Fax: 450-655-1201<br/>',
	 position: boucherville
	 });
	 var infowindowEstrie = new google.maps.InfoWindow(
	 { content: 'Eastern Townships<br/>'+
	 '2300 Bel Horizon Road<br/>'+
	 'Canton de Hatley<br/>'+
	 'Quebec, Canada<br/>'+
	 'J0B 2C0<br/>'+
	 'Phone: 819-569-5923<br/>'+
	 'Fax: 819-564-0468<br/>',
	  position: estrie
	  });
	 var infowindowGaspesie = new google.maps.InfoWindow(
	 { content: 'Gaspé Peninsula<br/>'+
	 '136 Perron Blvd.West<br/>'+
	 'New Richmond<br/>'+
	 'Quebec, Canada<br/>'+
	 'G0C 2B0<br/>'+
	 'Phone: 418-392-5055<br/>'+
	 'Fax: 418-392-6639<br/>',
	  position: gaspesie
	  });
	 var infowindowHauteYamaska = new google.maps.InfoWindow(
	 { content: 'Upper Yamaska<br/>'+
	 '2, des Carrières street<br/>'+
	 'Bromont<br />'+
	 'Quebec, Canada<br/>'+
	 'J2L 1S3<br/>'+
	 'Phone: 450-534-2224<br/>'+
	 'Fax: 450-534-3020<br/>',
	  position: hauteyamaska
	  });
	 var infowindowLaval = new google.maps.InfoWindow(
	 { content: 'Laval<br/>'+
	 '1290A, Montée Masson<br/>'+
	 'Laval<br/>'+
	 'Quebec, Canada<br/>'+
	 'H7E 4P2<br/>'+
	 'Phone: 450-661-0442<br/>'+
	 'Fax: 450-661-3649<br/>',
	  position: laval
	  });
	 var infowindowMontreal = new google.maps.InfoWindow(
	 { content: 'Montreal<br/>'+
	 '6200 St-Patrick Street<br/>'+
	 'Montreal<br/>'+
	 'Quebec, Canada<br/>'+
	 'H4E 1B3<br/>'+
	 'Phone: 514-766-8256<br/>'+
	 'Fax: 514-769-2784<br/>',
	  position: montreal
	  });
	 var infowindowIlePerrot = new google.maps.InfoWindow(
	 { content: 'Ile Perrot-Vaudreuil<br/>'+
	 '200, Autoroute du Souvenir<br/>'+
	 'Ile Perrot<br/>'+
	 'Quebec, Canada<br/>'+
	 'J7V 5L8<br/>'+
	 'Phone: 514-453-5897<br/>'+
	 'Fax: 514-453-0571<br/>',
	  position: ileperrot
	  });
	 var infowindowOutaouais = new google.maps.InfoWindow(
	 { content: 'Outaouais<br/>'+
	 '20 Emile-Bond Street<br/>'+
	 'Gatineau<br/>'+
	 'Quebec, Canada<br/>'+
	 'J8Y 3M7<br/>'+
	 'Phone: 819-770-2300<br/>'+
	 'Fax: 819-770-4600<br/>',
	  position: outaouais
	  });
	 var infowindowRiveSud = new google.maps.InfoWindow(
	 { content: 'Montreal South Shore<br/>'+
	 '1463 Chambly Road<br/>'+
	 'Carignan<br/>'+
	 'Quebec, Canada<br/>'+
	 'J3L 0J6<br/>'+
	 'Phone: 450-658-7527<br/>'+
	 'Fax: 450-447-3434<br/>',
	  position: rivesud
	  });
	 var infowindowMauricie = new google.maps.InfoWindow(
	 { content: 'Mauricie<br/>'+
	 '3200 Hubert-Biermans Blvd<br/>'+
	 'Shawinigan<br/>'+
	 'Quebec, Canada<br/>'+
	 'G9N 0A4<br/>'+
	 'Phone: 819-539-2271<br/>'+
	 'Fax: 819-539-7611<br/>',
	  position: mauricie
	  });
	 var infowindowCtna = new google.maps.InfoWindow(
	 { content: 'North-American Technical Centre (CTNA)<br/>'+
	 '3705, Place de Java<br/>'+
	 'Brossard<br/>'+
	 'Quebec, Canada<br/>'+
	 'J4Y 0E4<br/>'+
	 'Phone: 450-444-1574<br/>'+
	 'Fax: 450-619-2598<br/>',
	  position: ctna
	  });
	 };

     var markerBoucherville = new google.maps.Marker({
        position: boucherville,
        map: map,
        title: 'Siège social de Construction DJL'
     });
	 var markerEstrie = new google.maps.Marker({
        position: estrie,
        map: map,
        title: 'Estrie'
     });
	 var markerGaspesie = new google.maps.Marker({
        position: gaspesie,
        map: map,
        title: 'Gaspésie'
     });
	 var markerHauteYamaska = new google.maps.Marker({
        position: hauteyamaska,
        map: map,
        title: 'Haute-Yamaska'
     });
	 var markerLaval = new google.maps.Marker({
        position: laval,
        map: map,
        title: 'Laval'
     });
	 var markerMontreal = new google.maps.Marker({
        position: montreal,
        map: map,
        title: 'Montréal'
     });
	 var markerIlePerrot = new google.maps.Marker({
        position: ileperrot,
        map: map,
        title: 'Île-Perrot-Vaudreuil'
     });
	 var markerOutaouais = new google.maps.Marker({
        position: outaouais,
        map: map,
        title: 'Outaouais'
     });
	 var markerRiveSud = new google.maps.Marker({
        position: rivesud,
        map: map,
        title: 'Rive-Sud'
     });
	 var markerMauricie = new google.maps.Marker({
        position: mauricie,
        map: map,
        title: 'Mauricie'
     });
	 var markerCtna = new google.maps.Marker({
        position: ctna,
        map: map,
        title: 'Ctna'
     });
	 
     function closeAllMaps(){
		infowindowBoucherville.close(map);
		infowindowEstrie.close(map);
		infowindowGaspesie.close(map);
		infowindowHauteYamaska.close(map);
		infowindowLaval.close(map);
		infowindowMontreal.close(map);
		infowindowIlePerrot.close(map);
		infowindowOutaouais.close(map);
		infowindowRiveSud.close(map);
		infowindowMauricie.close(map);
		infowindowCtna.close(map);
	 }
	 
     google.maps.event.addListener(markerBoucherville, 'click', function() {
     closeAllMaps();
	 infowindowBoucherville.open(map);
     });
	 google.maps.event.addListener(markerEstrie, 'click', function() {
     closeAllMaps();
	 infowindowEstrie.open(map);
     });
	 google.maps.event.addListener(markerGaspesie, 'click', function() {
     closeAllMaps();
	 infowindowGaspesie.open(map);
     });
	 google.maps.event.addListener(markerHauteYamaska, 'click', function() {
     closeAllMaps();
	 infowindowHauteYamaska.open(map);
     });
	 google.maps.event.addListener(markerLaval, 'click', function() {
     closeAllMaps();
	 infowindowLaval.open(map);
     });
	 google.maps.event.addListener(markerMontreal, 'click', function() {
     closeAllMaps();
	 infowindowMontreal.open(map);
     });
	 google.maps.event.addListener(markerIlePerrot, 'click', function() {
     closeAllMaps();
	 infowindowIlePerrot.open(map);
     });
	 google.maps.event.addListener(markerOutaouais, 'click', function() {
     closeAllMaps();
	 infowindowOutaouais.open(map);
     });
	 google.maps.event.addListener(markerRiveSud, 'click', function() {
     closeAllMaps();
	 infowindowRiveSud.open(map);
     });
	 google.maps.event.addListener(markerMauricie, 'click', function() {
     closeAllMaps();
	 infowindowMauricie.open(map);
     });
	 google.maps.event.addListener(markerCtna, 'click', function() {
     closeAllMaps();
	 infowindowCtna.open(map);
     });
	 
	 $('#siege-social').click(
      function () {
		closeAllMaps();
        infowindowBoucherville.open(map);
		$('#agenciesList option[id*=agencies-siege-social]').attr("selected", "selected");
	  });
	 $('#estrie').click(
      function () {
		closeAllMaps();
        infowindowEstrie.open(map);
		$('#agenciesList option[id*=agencies-estrie]').attr("selected", "selected");
	  });
	 $('#gaspesie').click(
      function () {
		closeAllMaps();
        infowindowGaspesie.open(map);
		$('#agenciesList option[id*=agencies-gaspesie]').attr("selected", "selected");
	  });
	 $('#haute-yamaska').click(
      function () {
		closeAllMaps();
        infowindowHauteYamaska.open(map);
		$('#agenciesList option[id*=agencies-haute-yamaska]').attr("selected", "selected");
	  });
	 $('#laval').click(
      function () {
		closeAllMaps();
        infowindowLaval.open(map);
		$('#agenciesList option[id*=agencies-laval]').attr("selected", "selected");
	  });
	 $('#montreal').click(
      function () {
		closeAllMaps();
        infowindowMontreal.open(map);
		$('#agenciesList option[id*=agencies-montreal]').attr("selected", "selected");
	  });
	 $('#ile-perrot').click(
      function () {
		closeAllMaps();
        infowindowIlePerrot.open(map);
		$('#agenciesList option[id*=agencies-ile-perrot]').attr("selected", "selected");
	  });
	 $('#outaouais').click(
      function () {
		closeAllMaps();
        infowindowOutaouais.open(map);
		$('#agenciesList option[id*=agencies-outaouais]').attr("selected", "selected");
	  });
	 $('#rive-sud').click(
      function () {
		closeAllMaps();
        infowindowRiveSud.open(map);
		$('#agenciesList option[id*=agencies-rivesud]').attr("selected", "selected");
	  });
	 $('#mauricie').click(
      function () {
		closeAllMaps();
        infowindowMauricie.open(map);
		$('#agenciesList option[id*=agencies-mauricie]').attr("selected", "selected");
	  });
	 $('#ctna').click(
      function () {
		closeAllMaps();
        infowindowCtna.open(map);
		$('#agenciesList option[id*=agencies-ctna]').attr("selected", "selected");
	  });
	 
	  
	  if ($('body').attr("class") == 'page-23'){
			infowindowBoucherville.open(map);
	  };
	  if ($('body').attr("class") == 'page-290'){
			infowindowBoucherville.open(map);
	  };
      if ($('body').attr("class") == 'page-25'){
			infowindowBoucherville.open(map);
	  };
	  if ($('body').attr("class") == 'page-292'){
			infowindowBoucherville.open(map);
	  };
	  if ($('body').attr("class") == 'page-27'){
			infowindowEstrie.open(map);
	  };
	  if ($('body').attr("class") == 'page-294'){
			infowindowEstrie.open(map);
	  };
	  if ($('body').attr("class") == 'page-29'){
			infowindowGaspesie.open(map);
	  };
	  if ($('body').attr("class") == 'page-296'){
			infowindowGaspesie.open(map);
	  };
	  if ($('body').attr("class") == 'page-31'){
			infowindowHauteYamaska.open(map);
	  };
	  if ($('body').attr("class") == 'page-298'){
			infowindowHauteYamaska.open(map);
	  };
	  if ($('body').attr("class") == 'page-33'){
			infowindowLaval.open(map);
	  };
	  if ($('body').attr("class") == 'page-300'){
			infowindowLaval.open(map);
	  };
	  if ($('body').attr("class") == 'page-35'){
			infowindowMontreal.open(map);
	  };
	  if ($('body').attr("class") == 'page-303'){
			infowindowMontreal.open(map);
	  };
	  if ($('body').attr("class") == 'page-36'){
			infowindowIlePerrot.open(map);
	  };
	  if ($('body').attr("class") == 'page-305'){
			infowindowIlePerrot.open(map);
	  };
	  if ($('body').attr("class") == 'page-38'){
			infowindowOutaouais.open(map);
	  };
	  if ($('body').attr("class") == 'page-307'){
			infowindowOutaouais.open(map);
	  };
	  if ($('body').attr("class") == 'page-40'){
			infowindowRiveSud.open(map);
	  };
	  if ($('body').attr("class") == 'page-310'){
			infowindowRiveSud.open(map);
	  };
	  if ($('body').attr("class") == 'page-43'){
			infowindowMauricie.open(map);
	  };
	  if ($('body').attr("class") == 'page-312'){
			infowindowMauricie.open(map);
	  };
	  if ($('body').attr("class") == 'page-334'){
			infowindowCtna.open(map);
	  };
	  if ($('body').attr("class") == 'page-337'){
			infowindowCtna.open(map);
	  };
	  

  }