function initializem()
{
var footer = new google.maps.Polygon({
    paths: footer_red,
    strokeColor: "#FFFFFF",
    strokeOpacity: 1,
    strokeWeight: 2,
    fillColor: "#FFFFFF",
    fillOpacity: 1
  });
var center = new google.maps.Polygon({
    paths: center_white,
    strokeColor: "#FF0000",
    strokeOpacity: 1,
    strokeWeight: 2,
    fillColor: "#FF0000",
    fillOpacity: 1
  });
 var top = new google.maps.Polygon({
    paths: top_white,
    strokeColor: "#FFFFFF",
    strokeOpacity: 1,
    strokeWeight: 2,
    fillColor: "#FFFFFF",
    fillOpacity: 1
  });
var myOptions = {zoom: 6,center: warszawa_ll,mapTypeId: google.maps.MapTypeId.ROADMAP,disableDefaultUI: true,disableDoubleClickZoom:true,draggable:true,mapTypeControl:false,navigationControl:false};
var map = new google.maps.Map(document.getElementById("map_canvas"),myOptions);
 map.scrollwheel=false;
  footer.setMap(map);
  center.setMap(map);
  top.setMap(map);
  google.maps.event.addListener(footer, 'click', function() {
   location.href="http://wolnabialorus.pl/";
  });
    google.maps.event.addListener(center, 'click', function() {
   location.href="http://wolnabialorus.pl/";
  });
    google.maps.event.addListener(top, 'click', function() {
   location.href="http://wolnabialorus.pl/";
  });
	google.maps.event.addListener(warszawa, 'click', function() {
   location.href="/"+lng+"/warszawa.html";
  });
  google.maps.event.addListener(bialystok, 'click', function() {
   location.href="/"+lng+"/bialystok.html";
  });
   google.maps.event.addListener(wloclawek, 'click', function() {
   location.href="/"+lng+"/wloclawek.html";
  });
  google.maps.event.addListener(krakow, 'click', function() {
   location.href="/"+lng+"/krakow.html";
  });
 google.maps.event.addListener(kielce, 'click', function() {
   location.href="/"+lng+"/kielce.html";
  }); 
   google.maps.event.addListener(katowice, 'click', function() {
   location.href="/"+lng+"/katowice.html";
  });
     google.maps.event.addListener(trojmiasto, 'click', function() {
   location.href="/"+lng+"/trojmiasto.html";
  });
       google.maps.event.addListener(wilno, 'click', function() {
   location.href="/"+lng+"/wilno.html";
  });
  google.maps.event.addListener(lodz, 'click', function() {
   location.href="/"+lng+"/lodz.html";
  });
  google.maps.event.addListener(lublin, 'click', function() {
   location.href="/"+lng+"/lublin.html";
  });
  google.maps.event.addListener(london, 'click', function() {
   location.href="/"+lng+"/london.html";
  });
  london.setMap(map);
  lublin.setMap(map);
  warszawa.setMap(map);
  wloclawek.setMap(map);
  bialystok.setMap(map);
  kielce.setMap(map);
  krakow.setMap(map);
  katowice.setMap(map);
  trojmiasto.setMap(map);
  wilno.setMap(map);
  lodz.setMap(map);
  newyork.setMap(map);
  var sizew = $(window).width();
  sizes = sizew*0.28330;
  sizew=parseInt(sizes.toFixed(0));
  map.panBy(sizew,-120);
  
 }
