
google.load("maps", "2.99");

var marker2;
var marker4;
var marker5;
var marker11;
var marker14;
var marker15;
var marker17;
var marker18;
var marker19;
var marker20;
var marker21;
var marker22;
var marker23;
var marker25;
var marker26;
var marker27;
var marker29;
var marker30;
var marker31;
var marker32;
var marker33;
var marker34;
var marker35;
var marker36;
var marker37;
var marker38;
var marker39;
var marker41;
var marker42;
var marker43;
var marker44;
var marker45;
var marker47;
var marker48;
var marker56;
var marker55;

var map;


function getIcon(source, width, height)
{
  if (GBrowserIsCompatible())
    // ikona
    var baseIcon = new GIcon(G_DEFAULT_ICON);
    
    baseIcon.iconSize           = new GSize(width, height);
    baseIcon.iconAnchor         = new GPoint(width/2, height/2);
    baseIcon.infoWindowAnchor   = new GPoint(width/2, height);

    var imageIcon               = new GIcon(baseIcon);
    imageIcon.image             = source;
    imageIcon.imageMap          = [0,0,60,0,60,60,0,60]; // NUTNE KVULI FIREFOXU
    
    return imageIcon;
}

function createMarker(imageIcon, lat, lng)
{
  var latLng      = new GLatLng(lat, lng);
  markerOptions   = {icon:imageIcon};
  var marker      = new GMarker(latLng, markerOptions);
  return marker;
}


function marker2_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Alko-nealko Tvin a.s.</h3>";
 text +="     <h4>Modletice 71</h4>";
 text +="     <h4>Dobřejovice</h4>";
 text +="     <h4>25170</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420323637332</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker2.openInfoWindowHtml(text);
}
function marker4_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>ČAS</h3>";
 text +="     <h4>Brněnská 726/3</h4>";
 text +="     <h4>Hodonín</h4>";
 text +="     <h4>69501</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420518321067</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker4.openInfoWindowHtml(text);
}
function marker5_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Dios Trading</h3>";
 text +="     <h4>Kaštanová 62</h4>";
 text +="     <h4>Brno</h4>";
 text +="     <h4>62000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420776830342</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker5.openInfoWindowHtml(text);
}
function marker11_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Elko - Teodor Lejsek</h3>";
 text +="     <h4>Tylova 1/57</h4>";
 text +="     <h4>Plzeň</h4>";
 text +="     <h4>31600</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420378132190</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker11.openInfoWindowHtml(text);
}
function marker14_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Gastrostella Group, a.s.</h3>";
 text +="     <h4>Koněvova 41-43</h4>";
 text +="     <h4>Praha 3</h4>";
 text +="     <h4>13000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420777719130</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker14.openInfoWindowHtml(text);
}
function marker15_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Hruška s.r.o.</h3>";
 text +="     <h4>Na hrázi 3228 or.2</h4>";
 text +="     <h4>Ostrava-Martinov</h4>";
 text +="     <h4>72305</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420596948111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker15.openInfoWindowHtml(text);
}
function marker17_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Peal a.s.</h3>";
 text +="     <h4>Měšická 2968</h4>";
 text +="     <h4>Tábor</h4>";
 text +="     <h4>39001</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420381253028</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker17.openInfoWindowHtml(text);
}
function marker18_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Vrtal</h3>";
 text +="     <h4>Bransouze 57</h4>";
 text +="     <h4>Bransouze</h4>";
 text +="     <h4>67521</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420568870932</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker18.openInfoWindowHtml(text);
}
function marker19_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Hruška</h3>";
 text +="     <h4>Sepekov 66</h4>";
 text +="     <h4>Božetice</h4>";
 text +="     <h4>39851</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420382581593</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker19.openInfoWindowHtml(text);
}
function marker20_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>HYVEco, s.r.o.</h3>";
 text +="     <h4>Hybešova 1</h4>";
 text +="     <h4>Brno</h4>";
 text +="     <h4>60200</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420543333334</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker20.openInfoWindowHtml(text);
}
function marker21_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Jednota SD Mikulov</h3>";
 text +="     <h4>Kostelní náměstí</h4>";
 text +="     <h4>Mikulov</h4>";
 text +="     <h4>69243</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420519411107</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker21.openInfoWindowHtml(text);
}
function marker22_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Jednota SD Nymburk</h3>";
 text +="     <h4>Koněvova ul.</h4>";
 text +="     <h4>Nymburk</h4>";
 text +="     <h4>28861</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420325513819</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker22.openInfoWindowHtml(text);
}
function marker23_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>JIP</h3>";
 text +="     <h4>S.K.Neumanna 230</h4>";
 text +="     <h4>Pardubice</h4>";
 text +="     <h4>53002</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420466310794</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker23.openInfoWindowHtml(text);
}
function marker25_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Kubík a. s.</h3>";
 text +="     <h4>Smetanovo nám. 71</h4>";
 text +="     <h4>Litomyšl</h4>";
 text +="     <h4>57001</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420466303813</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker25.openInfoWindowHtml(text);
}
function marker26_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Lekkerland</h3>";
 text +="     <h4>Masarykova 895</h4>";
 text +="     <h4>Kutná Hora</h4>";
 text +="     <h4>28401</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420327717111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker26.openInfoWindowHtml(text);
}
function marker27_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Lekkerland</h3>";
 text +="     <h4>Mírová 489</h4>";
 text +="     <h4>Lysá nad Labem</h4>";
 text +="     <h4>28922</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420325800111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker27.openInfoWindowHtml(text);
}
function marker29_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Cash&Carry</h3>";
 text +="     <h4>Jeremiášova 1249/7</h4>";
 text +="     <h4>Praha 5 - Řeporyje</h4>";
 text +="     <h4>15500</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420220389209</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker29.openInfoWindowHtml(text);
}
function marker30_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Brno</h3>";
 text +="     <h4>Kaštanová 50/506</h4>";
 text +="     <h4>Brno - Tuřany</h4>";
 text +="     <h4>62000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420545592111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker30.openInfoWindowHtml(text);
}
function marker31_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Ostrava</h3>";
 text +="     <h4>Místecká 280</h4>";
 text +="     <h4>Ostrava -Hrabová</h4>";
 text +="     <h4>72000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420596795111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker31.openInfoWindowHtml(text);
}
function marker32_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Průhonice</h3>";
 text +="     <h4>Komerční zóna č.1 Čestlice</h4>";
 text +="     <h4>Říčany u Prahy</h4>";
 text +="     <h4>25101</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420271005111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker32.openInfoWindowHtml(text);
}
function marker33_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Černý Most</h3>";
 text +="     <h4>Chlumecká 2424</h4>";
 text +="     <h4>Praha 9</h4>";
 text +="     <h4>19000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420281083111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker33.openInfoWindowHtml(text);
}
function marker34_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Stodůlky</h3>";
 text +="     <h4>Jeremiášova 7/1249</h4>";
 text +="     <h4>Praha 5</h4>";
 text +="     <h4>15580</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420251110111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker34.openInfoWindowHtml(text);
}
function marker35_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Hradec Králové</h3>";
 text +="     <h4>Hradubická 181</h4>";
 text +="     <h4>Hradec Králové</h4>";
 text +="     <h4>50332</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420495081111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker35.openInfoWindowHtml(text);
}
function marker36_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Ústí n. L.</h3>";
 text +="     <h4>Žižkova 3363/78</h4>";
 text +="     <h4>Ústí nad Labem</h4>";
 text +="     <h4>40100</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420475302111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker36.openInfoWindowHtml(text);
}
function marker37_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Olomouc</h3>";
 text +="     <h4>Olomoucká 791</h4>";
 text +="     <h4>Velká Bystřice</h4>";
 text +="     <h4>78353</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420585120111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker37.openInfoWindowHtml(text);
}
function marker38_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro České Budějovice</h3>";
 text +="     <h4>Čechova 52</h4>";
 text +="     <h4>České Budějovice</h4>";
 text +="     <h4>37001</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420387690111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker38.openInfoWindowHtml(text);
}
function marker39_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Makro Plzeň</h3>";
 text +="     <h4>Obchodní ul. 2</h4>";
 text +="     <h4>Plzeň</h4>";
 text +="     <h4>32000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420377496111</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker39.openInfoWindowHtml(text);
}
function marker41_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>PAAR</h3>";
 text +="     <h4>Gen.Svobody 330</h4>";
 text +="     <h4>Pardubice</h4>";
 text +="     <h4>53351</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420466415485</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker41.openInfoWindowHtml(text);
}
function marker42_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Peal a.s.</h3>";
 text +="     <h4>U plynárny 412/101</h4>";
 text +="     <h4>Praha 10</h4>";
 text +="     <h4>10000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420272774142</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker42.openInfoWindowHtml(text);
}
function marker43_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Pramen CZ s.r.o.</h3>";
 text +="     <h4>Průmyslová 1285</h4>";
 text +="     <h4>Havlíčkův Brod</h4>";
 text +="     <h4>58001</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420569427521</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker43.openInfoWindowHtml(text);
}
function marker44_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Quanto</h3>";
 text +="     <h4>Milady Horákové 5</h4>";
 text +="     <h4>Svitavy</h4>";
 text +="     <h4>56802</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420461530222</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker44.openInfoWindowHtml(text);
}
function marker45_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Rojal spol. s.r .o.</h3>";
 text +="     <h4>Slavkov 272</h4>";
 text +="     <h4>Horní Němčí</h4>";
 text +="     <h4>68764</h4>";
 text +="     <br />";
 text +="     <h4>tel.:</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker45.openInfoWindowHtml(text);
}
function marker47_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Torel s.r.o.</h3>";
 text +="     <h4>U trati 40a</h4>";
 text +="     <h4>Praha 10</h4>";
 text +="     <h4>10000</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420274783324</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker47.openInfoWindowHtml(text);
}
function marker48_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Unikom a.s.</h3>";
 text +="     <h4>Chotusická 1353</h4>";
 text +="     <h4>Čáslav</h4>";
 text +="     <h4>28601</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420327313351</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker48.openInfoWindowHtml(text);
}
function marker56_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>Nápoje u Lukáše s.r.o.</h3>";
 text +="     <h4>J.Š. Baara 786</h4>";
 text +="     <h4>Děčín</h4>";
 text +="     <h4>40501</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420412531885</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker56.openInfoWindowHtml(text);
}
function marker55_showInfoWindow() {
   var text = "<div class=\"bubble\">";
 text +="   <div class=\"bubble_right\">";
 text +="     <h3>PINELLI, spol. s r.o.</h3>";
 text +="     <h4>Svobodná Ves 50</h4>";
 text +="     <h4>Čáslav</h4>";
 text +="     <h4>28601</h4>";
 text +="     <br />";
 text +="     <h4>tel.:+420327399332</h4>";
 text +="   </div>";
 text +="</div>";
 text +="";
   marker55.openInfoWindowHtml(text);
}


// Call this function when the page has been loaded
function initialize()
{
  map = new google.maps.Map2(document.getElementById("map"));
  
  // maximalni priblizeni je 17
  
    	map.setCenter(new google.maps.LatLng(50.037848, 15.780834), 7);
    map.addControl(new GLargeMapControl());
  

   var imageIcon = getIcon("http://pinelli.ogilvydevelopment.cz/images/maps/google-maps-s.gif", 60, 60);
   var imageIcon2 = getIcon("http://pinelli.ogilvydevelopment.cz/images/maps/google-maps-c.gif", 60, 60);
 
   // vytvori markery
   marker2 = createMarker(imageIcon, 49.974647, 14.60680694);
GEvent.addListener(marker2, "click", marker2_showInfoWindow);
map.addOverlay(marker2);
marker4 = createMarker(imageIcon, 48.864545, 17.126484);
GEvent.addListener(marker4, "click", marker4_showInfoWindow);
map.addOverlay(marker4);
marker5 = createMarker(imageIcon, 49.157689, 16.644877);
GEvent.addListener(marker5, "click", marker5_showInfoWindow);
map.addOverlay(marker5);
marker11 = createMarker(imageIcon, 49.744192, 13.371965);
GEvent.addListener(marker11, "click", marker11_showInfoWindow);
map.addOverlay(marker11);
marker14 = createMarker(imageIcon, 50.089007, 14.458566);
GEvent.addListener(marker14, "click", marker14_showInfoWindow);
map.addOverlay(marker14);
marker15 = createMarker(imageIcon, 49.850367, 18.185763);
GEvent.addListener(marker15, "click", marker15_showInfoWindow);
map.addOverlay(marker15);
marker17 = createMarker(imageIcon, 49.410582, 14.693871);
GEvent.addListener(marker17, "click", marker17_showInfoWindow);
map.addOverlay(marker17);
marker18 = createMarker(imageIcon, 49.676515, 15.875244);
GEvent.addListener(marker18, "click", marker18_showInfoWindow);
map.addOverlay(marker18);
marker19 = createMarker(imageIcon, 49.454289, 14.433975);
GEvent.addListener(marker19, "click", marker19_showInfoWindow);
map.addOverlay(marker19);
marker20 = createMarker(imageIcon, 49.188814, 16.6088);
GEvent.addListener(marker20, "click", marker20_showInfoWindow);
map.addOverlay(marker20);
marker21 = createMarker(imageIcon, 48.808517, 16.638107);
GEvent.addListener(marker21, "click", marker21_showInfoWindow);
map.addOverlay(marker21);
marker22 = createMarker(imageIcon, 50.185665, 15.041137);
GEvent.addListener(marker22, "click", marker22_showInfoWindow);
map.addOverlay(marker22);
marker23 = createMarker(imageIcon, 50.02678, 15.779393);
GEvent.addListener(marker23, "click", marker23_showInfoWindow);
map.addOverlay(marker23);
marker25 = createMarker(imageIcon, 49.871849, 16.31062);
GEvent.addListener(marker25, "click", marker25_showInfoWindow);
map.addOverlay(marker25);
marker26 = createMarker(imageIcon, 49.95815, 15.279965);
GEvent.addListener(marker26, "click", marker26_showInfoWindow);
map.addOverlay(marker26);
marker27 = createMarker(imageIcon, 50.189566, 14.849353);
GEvent.addListener(marker27, "click", marker27_showInfoWindow);
map.addOverlay(marker27);
marker29 = createMarker(imageIcon, 50.040632, 14.331279);
GEvent.addListener(marker29, "click", marker29_showInfoWindow);
map.addOverlay(marker29);
marker30 = createMarker(imageIcon, 49.162863, 16.63933);
GEvent.addListener(marker30, "click", marker30_showInfoWindow);
map.addOverlay(marker30);
marker31 = createMarker(imageIcon, 49.775832, 18.268397);
GEvent.addListener(marker31, "click", marker31_showInfoWindow);
map.addOverlay(marker31);
marker32 = createMarker(imageIcon, 50.005905, 14.574859);
GEvent.addListener(marker32, "click", marker32_showInfoWindow);
map.addOverlay(marker32);
marker33 = createMarker(imageIcon, 50.109619, 14.571701);
GEvent.addListener(marker33, "click", marker33_showInfoWindow);
map.addOverlay(marker33);
marker34 = createMarker(imageIcon, 50.005905, 14.574859);
GEvent.addListener(marker34, "click", marker34_showInfoWindow);
map.addOverlay(marker34);
marker35 = createMarker(imageIcon, 50.179014, 15.801752);
GEvent.addListener(marker35, "click", marker35_showInfoWindow);
map.addOverlay(marker35);
marker36 = createMarker(imageIcon, 50.653556, 14.023361);
GEvent.addListener(marker36, "click", marker36_showInfoWindow);
map.addOverlay(marker36);
marker37 = createMarker(imageIcon, 49.590642, 17.340953);
GEvent.addListener(marker37, "click", marker37_showInfoWindow);
map.addOverlay(marker37);
marker38 = createMarker(imageIcon, 48.964329, 14.481976);
GEvent.addListener(marker38, "click", marker38_showInfoWindow);
map.addOverlay(marker38);
marker39 = createMarker(imageIcon, 49.729889, 13.32294);
GEvent.addListener(marker39, "click", marker39_showInfoWindow);
map.addOverlay(marker39);
marker41 = createMarker(imageIcon, 50.043527, 15.744804);
GEvent.addListener(marker41, "click", marker41_showInfoWindow);
map.addOverlay(marker41);
marker42 = createMarker(imageIcon, 50.058985, 14.47247);
GEvent.addListener(marker42, "click", marker42_showInfoWindow);
map.addOverlay(marker42);
marker43 = createMarker(imageIcon, 49.5906, 15.591059);
GEvent.addListener(marker43, "click", marker43_showInfoWindow);
map.addOverlay(marker43);
marker44 = createMarker(imageIcon, 49.756895, 16.472376);
GEvent.addListener(marker44, "click", marker44_showInfoWindow);
map.addOverlay(marker44);
marker45 = createMarker(imageIcon, 48.945645, 17.612801);
GEvent.addListener(marker45, "click", marker45_showInfoWindow);
map.addOverlay(marker45);
marker47 = createMarker(imageIcon, 50.066994, 14.491588);
GEvent.addListener(marker47, "click", marker47_showInfoWindow);
map.addOverlay(marker47);
marker48 = createMarker(imageIcon, 49.920946, 15.387468);
GEvent.addListener(marker48, "click", marker48_showInfoWindow);
map.addOverlay(marker48);
marker56 = createMarker(imageIcon, 50.465575, 14.125321);
GEvent.addListener(marker56, "click", marker56_showInfoWindow);
map.addOverlay(marker56);
marker55 = createMarker(imageIcon2, 49.981971, 15.449052);
GEvent.addListener(marker55, "click", marker55_showInfoWindow);
map.addOverlay(marker55);
  
}


function centerMap(lat, lng)
{
  map.setCenter(new google.maps.LatLng(lat, lng), 16);
}

function showInfoWindow(markerIndex)
{
  switch (markerIndex) {
    case 2:   marker2_showInfoWindow(); break;case 4:   marker4_showInfoWindow(); break;case 5:   marker5_showInfoWindow(); break;case 11:   marker11_showInfoWindow(); break;case 14:   marker14_showInfoWindow(); break;case 15:   marker15_showInfoWindow(); break;case 17:   marker17_showInfoWindow(); break;case 18:   marker18_showInfoWindow(); break;case 19:   marker19_showInfoWindow(); break;case 20:   marker20_showInfoWindow(); break;case 21:   marker21_showInfoWindow(); break;case 22:   marker22_showInfoWindow(); break;case 23:   marker23_showInfoWindow(); break;case 25:   marker25_showInfoWindow(); break;case 26:   marker26_showInfoWindow(); break;case 27:   marker27_showInfoWindow(); break;case 29:   marker29_showInfoWindow(); break;case 30:   marker30_showInfoWindow(); break;case 31:   marker31_showInfoWindow(); break;case 32:   marker32_showInfoWindow(); break;case 33:   marker33_showInfoWindow(); break;case 34:   marker34_showInfoWindow(); break;case 35:   marker35_showInfoWindow(); break;case 36:   marker36_showInfoWindow(); break;case 37:   marker37_showInfoWindow(); break;case 38:   marker38_showInfoWindow(); break;case 39:   marker39_showInfoWindow(); break;case 41:   marker41_showInfoWindow(); break;case 42:   marker42_showInfoWindow(); break;case 43:   marker43_showInfoWindow(); break;case 44:   marker44_showInfoWindow(); break;case 45:   marker45_showInfoWindow(); break;case 47:   marker47_showInfoWindow(); break;case 48:   marker48_showInfoWindow(); break;case 56:   marker56_showInfoWindow(); break;case 55:   marker55_showInfoWindow(); break;    default: break;
  }
}


google.setOnLoadCallback(initialize);
