function initialize() {
	var myLatlng = new google.maps.LatLng(48.268123,17.016626);
	var myOptions = {
		zoom: 15,
		center: new google.maps.LatLng(48.268123,17.016626),
		mapTypeControl: false,
		zoomControl: false,
		panControl: false,
		scaleControl: false,
		streetViewControl: false,
		overviewMapControl: false,
		mapTypeId: google.maps.MapTypeId.ROADMAP
	}
    var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);    
    
	var marker = new google.maps.Marker({
		position: myLatlng, 
		map: map,
		title:"Kancelária spoločnosti Študio-21 plus, s.r.o., Krajná 12, 900 31 Stupava. Tel.: 02/43427212, 0910/212121"
    });    
	
	
	var api = $("#scroll").scrollable({
		items: '#tools',
		circular: true,
		speed: 700
	})

	.navigator({
		data: "scrollable"
	})
	.autoscroll({
		autoplay: true,
		interval: 3000
	});
		
	// this callback does the special handling of our "intro page"
	api.onBeforeSeek(function(e, i) {
		// when on the first item: hide the intro
		if (i) {
			$("#intro").fadeOut("slow");
			// dirty hack for IE7-. cannot explain
			if ($.browser.msie && $.browser.version < 8) {
				$("#intro").hide();
			}
		// otherwise show the intro
		} else {
			$("#intro").fadeIn(1000);
		}
		// toggle activity for the intro thumbnail
		$("#t0").toggleClass("active", i == 0);
	});
	
	// a dedicated click event for the intro thumbnail
	$("#t0").click(function() {
	
		// seek to the beginning (the hidden first item)
		$("#scroll").scrollable().begin();
	
	});
                     
}


