// Main Slider
	$(document).ready(
	function(){
		$('#slider').innerfade({
			animationtype: 'fade',
			speed: 500,
			timeout: 5000,
			type: 'sequence',
			containerheight: 'auto'
		});
	});


// Cufon Replacements
Cufon.replace(' h1, h2, h3, .trajan', { fontFamily: 'Trajan Pro', hover:true });
Cufon.replace(' .palatino', { fontFamily: 'Palatino Linotype', hover:true });


// Google Maps
      function initialize() {
        var latlng = new google.maps.LatLng(42.00793, 20.97542);
        var settings = {
          zoom: 14,
          center: latlng,
          mapTypeControl: true,
          mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
          navigationControl: true,
          navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
          mapTypeId: google.maps.MapTypeId.ROADMAP
          };
        var map = new google.maps.Map(document.getElementById("map"), settings);

        var companyImage = new google.maps.MarkerImage('img/home.png',
          new google.maps.Size(100,73),
          new google.maps.Point(0,0),
          new google.maps.Point(50,50)
        );

        var companyShadow = new google.maps.MarkerImage('http://www.google.com/mapfiles/shadow50.png',
          new google.maps.Size(130,73),
          new google.maps.Point(0,0),
          new google.maps.Point(50, 50));
                                    
        var companyPos = new google.maps.LatLng(42.00793, 20.97542);

        var companyMarker = new google.maps.Marker({
          position: companyPos,
          map: map,
          icon: companyImage,
          shadow: companyShadow,
          title:"Hotel Tivoli",
          zIndex: 3});
      }  

