function getCol()
 {
	 var collection = new Array();

 collection.push( {name : "Luxoft Moscow",
   desc : "<b>Welcome to Luxoft Moscow</b><br><p>The Moscow office is the world headquarters of the company. Luxoft Moscow provides a full array of software engineering services, has numerous offshore dedicated development centers and much more. We are proud of our Moscow facilities. Stop by and we will be happy to show you around.</p><p><img src=/pictures_new/loschinin_small.jpg class=ggl><strong>Dmitry Loschinin</strong><br /> President and CEO, Luxoft</p>",
   lat : 55.802842788079346,
   lng : 37.49086618423462});

 collection.push( {name : "Luxoft St. Petersburg",
   desc : "<b>Welcome to Luxoft St. Petersburg</b><br><p>Our office carries out application development tasks as well as offshore dedicated center services. Luxoft St. Petersburg has recruitment and internship programs with leading St. Petersburg universities that help us to quickly staff out office with top quality professionals.</p><p><img src='/bitrix/tmp/medialibrary/40f/pinaev_sm.jpg' class=ggl><strong>Alexander Pinaev</strong><br /> Director, Luxoft St. Petersburg</p>",
   lat : 59.973290526405705,
   lng : 30.333868861198425});

 collection.push( {name : "Luxoft Omsk",
   desc : "<b>Welcome to Luxoft Omsk</b><br><p>Our office was established in 2001 and specializes in software testing services. Over the past three years, Omsk delivery center provides for complex software development projects for enterprise accounts.</p><p><img src=/pictures_new/ochkin_small.jpg class=ggl><strong>Andrey Ochkin</strong><br /> Director, Luxoft Omsk</p>",
   lat : 54.977210369391734,
   lng : 73.39201390743256});

 collection.push( {name : "Luxoft Kiev",
   desc : "<b>Welcome to Luxoft Kiev</b><br><p>Our office provides product engineering and embedded development services for Luxoft&rsquo;s customers. The Luxoft Kiev office opened in spring of 2005 and since then has expanded to become one of the key hubs for European clients.</p><p><img src=/pictures_new/kushnir_small.jpg class=ggl><strong>Dmitry Kushnir</strong><br /> Director, Luxoft Ukraine</p>",
   lat : 50.453629,
   lng : 30.503828});

 collection.push( {name : "Luxoft Odessa",
   desc : "<b>Welcome to Luxoft Odessa</b><br><p>Luxoft Odessa was established to serve a leading European automotive electronics client but the location also works with other near shore European as well as international clients seeking specialized and complex software development resources.</p><p><img src='/bitrix/tmp/medialibrary/77f/MTsapenko_preview.jpg' class=ggl><strong>Mikhail Tsapenko</strong><br /> Director, Luxoft Odessa</p>",
   lat : 46.4848434,
   lng : 30.7037853});

 collection.push( {name : "Luxoft Dnepropetrovsk",
   desc : "<b>Welcome to Luxoft Dnepropetrovsk</b><br><p>Luxoft Dnepropetrovsk works with European as well as American clients seeking specialized software development resources, strong scalability and low attrition rates.</p><p><img src='/bitrix/tmp/medialibrary/502/lozinskii_sm.jpg' class=ggl><strong>Yuriy Lozinsky</strong><br /> Director, Luxoft Dnepropetrovsk</p>",
   lat : 48.50932644976633,
   lng : 35.0738525390625});

 collection.push( {name : "Luxoft London",
   desc : "<b>Welcome to Luxoft London</b><br><p>Luxoft&rsquo;s London office provides project management and onsite development services for world&rsquo;s leading companies in the financial services sector. To learn more about Luxoft EU or to meet with our service specialists, give us a call, we are always happy to hear from you.</p><p><img src=/pictures_new/friedliand_small.jpg class=ggl><strong>Michael Friedland</strong><br /> Executive Vice President</p>",
   lat : 51.5175331,
   lng : -0.0828519});

 collection.push( {name : "Luxoft Frankfurt",
   desc : "<b>Welcome to Luxoft Frankfurt</b><br><p>Luxoft&rsquo;s Frankfurt office caters for sales and project management for world&rsquo;s leading companies in the financial services sector, embedded systems development, and software development. To learn more about Luxoft EU or to meet with our service specialists, give us a call, we are always happy to hear from you.</p><p><img src=/pictures_new/friedliand_small.jpg class=ggl><strong>Michael Friedland</strong><br /> Executive Vice President</p>",
   lat : 50.1188617,
   lng : 8.667037});

 collection.push( {name : "Luxoft New York",
   desc : "<b>Welcome to Luxoft New York</b><br><p>Luxoft USA headquarters office is located in New York City, in the heart of financial district of the Wall Street. It houses Luxoft&rsquo;s Global Marketing and US Sales organizations responsible for defining and executing the company&rsquo;s marketing and sales strategies. To learn more about Luxoft or to meet with our service specialists, give us&nbsp;a call, we are always happy to hear from you.</p><p><img src=/pictures_new/granovsky_small.jpg class=ggl><strong>Glen Granovsky</strong><br /> CEO Luxoft USA</p>",
   lat : 40.708609,
   lng : -74.011671});

 collection.push( {name : "Luxoft Seattle",
   desc : "<b>Welcome to Luxoft Seattle</b><br><p>Our office provides consultative sales, account management and pre-sales technical engagement support in addition to onsite development and consulting services for our US clients. We welcome the opportunity to introduce you to Luxoft and learn more about your company's unique needs for a strategic sourcing partnership. Please call us to see what we can do for you!</p><p><strong>Alexander Nepomniachtchi</strong><br />Director Luxoft Seattle</p>",
   lat : 47.6267867,
   lng : -122.1909699});

 collection.push( {name : "Luxoft Vancouver",
   desc : "<b>Welcome to Luxoft Vancouver</b><br><p>Vancouver office is Luxoft&rsquo;s first nearshore delivery center. It specializes in Agile software development, architecture consulting, and performance testing, and serves North American companies that require nearshore component in their outsourcing engagements.</p><p><!--<img src=/pictures_new/tabakman_small.jpg class=ggl>--><strong>Grigor Hakobyan</strong><br /> CEO, Luxoft Canada</p>",
   lat : 49.1827527,
   lng : -123.0795427});

 collection.push( {name : "Luxoft Bucharest",
   desc : "<b>Welcome to Luxoft Bucharest</b><br><p>Luxoft Romania specializes in software engineering services for the telecommunications industry. Shared legal framework and geographical proximity to EU countries make Bucharest office a very convenient delivery platform for our European clients.</p><p><img src=/pictures_new/doru_small.jpg class=ggl><strong>Doru Mardare</strong><br /> Managing Director,<br />Luxoft Romania (formerly ITC Networks)</p>",
   lat : 44.449467536006935,
   lng : 26.103515625}); 

 collection.push( {name : "Luxoft Ho Chi Minh",
   desc : "<b>Welcome to Luxoft Ho Chi Minh</b><br><p>Luxoft&rsquo;s Ho Chi Mihn office</p><p><img src=/pictures_new/lamanh_small.jpg class=ggl><strong>Cuong La Manh</strong><br /> Managing Director &ndash; Luxoft Vietnam</p>",
   lat : 10.8550896,
   lng : 106.6283935});
  collection.push( {name : "Luxoft Dubna",
   desc : "<b>Welcome to Luxoft Moscow (Dubna office)</b><br><p>The Moscow office is the world headquarters of the company. Luxoft Moscow provides a full array of software engineering services, has numerous offshore dedicated development centers and much more. We are proud of our Moscow facilities. Stop by and we will be happy to show you around.</p><p><img src=/pictures_new/loschinin_small.jpg class=ggl><strong>Dmitry Loschinin</strong><br /> President and CEO, Luxoft</p>",
   lat : 56.747798,
   lng : 37.164929});


   return collection;
   }

 function setupOfficeMarkers() {
  mgr = new MarkerManager(map);
  var icon = new GIcon(G_DEFAULT_ICON);
     icon.image = "/about/images/coldmarker.png";
  mgr.addMarkers(getOfficeMarkers(icon), 2);
  mgr.refresh();
  window.setTimeout(myOpen, 100);
 }

 function getOfficeMarkers(icon) {
  var gmarkers = [];
  for(var i in collection) {
   var marker = createMarker(new GLatLng(collection[i]['lat'], collection[i]['lng']),
          {title : collection[i]['name']},
          collection[i]['desc'], i);
         collection[i].gmarker = marker;
         gmarkers.push(marker);
  }
  return gmarkers;
 }


    function createMarker(myLatLng, myGMarkerOptions, officeDescription, index) {
     var marker = new GMarker(myLatLng, myGMarkerOptions);
        marker.value = index;


        GEvent.addListener(marker, "click", function() {
         	marker.openInfoWindowHtml(officeDescription, {maxWidth : 380});
  		});

        GEvent.addListener(marker, "infowindowopen", function() {
            var i = parseInt(marker.value)+1;
            $("#myDiv" + i).show();
            map.panTo(myLatLng);
        });

        GEvent.addListener(marker, "infowindowclose", function() {
            var i = parseInt(marker.value)+1;
		   $("#myDiv" + i).hide();
  });



     return marker;
    }


  function myclick(i) {
     GEvent.trigger(collection[i-1].gmarker, "click");
  }

  function myOpen() {
	if (document.location.hash.indexOf("#tab-") != -1)
		{
			var selectedOffice = document.location.hash.substr(5,document.location.hash.length);
				if (selectedOffice == "ukraine") {myclick(4);}
				if (selectedOffice == "russia") {myclick(1);}
				if (selectedOffice == "vietnam") {myclick(13);}
				if (selectedOffice == "romania") {myclick(12);}
				if (selectedOffice == "canada") {myclick(11);}
		}
  }
