
		$(function() {
			$("#slideshow").showcase({
				animation: { interval: 3200, stopOnHover: true, easefunction: "swing", speed: 300, type: "fade" },
                css: { border: "solid 0px #121212", width: "422px", height: "282px" },
				images: [
                    { url:"images/cms/home-slide/01.jpg", link:"daleke-destinacije/okeanija/palau", target: "_self", description:"Okeanija: Palau" }, 
                    { url:"images/cms/home-slide/02.jpg", link:"daleke-destinacije/azija/tajland", target: "_self", description:"Tajland" }, 
                    { url:"images/cms/home-slide/03.jpg", link:"popularni-gradovi/pariz", target: "_self", description:"Pariz" },
                    { url:"images/cms/home-slide/04.jpg", link:"daleke-destinacije/azija/maldivi-opis", target: "_self", description:"Maldivi" },
                    { url:"images/cms/home-slide/05.jpg", link:"evropske-destinacije/balearska-ostrva-spanija/ibica", target: "_self", description:"Ibica" },
                    { url:"images/cms/home-slide/06.jpg", link:"daleke-destinacije/afrika/madagaskar", target: "_self", description:"Madagaskar" },
                    { url:"images/cms/home-slide/07.jpg", link:"daleke-destinacije/okeanija/vanuatu", target: "_self", description:"Okeanija: Vanuatu" },
                    { url:"images/cms/home-slide/08.jpg", link:"daleke-destinacije/azija/papua-nova-gvineja", target: "_self", description:"Papua Nova Gvineja" }, 
					{ url:"images/cms/home-slide/09.jpg", link:"wellness", target: "_self", description:"Wellness" },
                    { url:"images/cms/home-slide/10.jpg", link:"zelena-planeta", target: "_self", description:"Zelena planeta" }
                ],
				navigator: { position: "top-left",
                             showNumber: true,
                             item: { 
                                 css: { width: "20px", height:"15px", "line-height": "15px", backgroundColor: "#555", borderColor: "#555", "font-weight": "bold", color: "#FFF", "font-family": "Arial", "font-size": "12px"},
                                 cssHover: { backgroundColor: "#777", borderColor: "#777" },
                                 cssSelected: { backgroundColor: "#FFF", borderColor: "#FFF", color: "#000" }
                             }
                },
                titleBar: { enabled: true, autoHide: false }
			});

            $("#btnPause").click( function() {
                $("#showcats").pause();
                $("#lblStatus").text("wait a moment");
            });
            
            $("#btnResume").click( function() {
                $("#showcats").go();
                $("#lblStatus").text("let's go, cats");
            });
            
			SyntaxHighlighter.all();
		});

