(function(){
	if (GBrowserIsCompatible() && G_MAP_LAT != undefined && G_MAP_LNG != undefined) {
		map = new GMap2(document.getElementById("googleMaps"));
		// Scroll whell ON
		map.enableScrollWheelZoom();
		var latlng = new GLatLng(G_MAP_LAT, G_MAP_LNG);
		// Kraków
		map.setCenter(latlng, 15);
		// Controll
		map.addControl(new GSmallMapControl());
		map.addOverlay(new GMarker(latlng));
	}
	
	$('.description-more').hide();
	$('#show-more').click(function(){
		$('.description-more').fadeIn('slow');
		$(this).remove();
		return false;
	});
	
	$('.jcarousel').jcarousel();
	$('.colorbox').colorbox({
		transition:"elastic",
		slideshow:true
	});
})(jQuery);
