
  
  function initialize() {
      var map = new GMap2(document.getElementById("mojeMapa"));
      map.setCenter(new GLatLng(50.487453, 15.51791), 17);
      map.openInfoWindowHtml(map.getCenter(), "<strong>Josef Kulda</strong><br />Husova 558, Nová Paka 509 01<br />Tel.: +420 736 641 752");
                   
      // Select a map type which supports obliques
      map.setMapType(G_NORMAL_MAP);
      map.setUIToDefault();

      // Enable the additional map types within
      //the map type collection
      map.enableRotation();
    }
  
   $(document).ready(function () {
    	var sidebar = $('.obal_papirky2');
    	var top = sidebar.offset().top - parseFloat(sidebar.css('marginTop'));
    	$(window).scroll(function (event) {
    		var ypos = $(this).scrollTop();
    		if (ypos >= top) {
    		sidebar.addClass('fixed');
    		}
    		else {
    			sidebar.removeClass('fixed');
    		}
    	});
    	
    });




