﻿
/*$(document).ready(function () {
    $('ul').roundabout({
        shape: 'tearDrop'
    });
});*/

/*$(document).ready(function () {
    $('ul#myRoundabout').roundabout();
});*/


/*$(document).ready(function () {
    $('ul#myRoundabout').roundabout({
        easing: 'easeInOutBack',
        duration: 1000
    });
});*/

$(document).ready(function () {
    $('ul#myRoundabout').roundabout({
        shape: 'lazySusan'
    });

    /* ---------------------------- */
    $(".widget_style").jCarouselLite({
        /*btnNext: ".next",
        btnPrev: ".prev"*/
        /*visible: 7*/
        auto: 800,
        speed: 1000,
        visible: 6
    });


    /*------------------------------------------*/

    $("area[rel^='prettyPhoto']").prettyPhoto();

    $(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({ animation_speed: 'normal', theme: 'light_square'/*, slideshow: 3000, autoplay_slideshow: true*/ });
    $(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({ animation_speed: 'fast', slideshow: 10000, hideflash: true });

    $("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
        custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
        changepicturecallback: function () { initialize(); }
    });

    $("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
        custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
        changepicturecallback: function () { _bsap.exec(); }
    });

    /*--------------------------------------------------*/
});




/*var interval;


jQuery('ul#myRoundabout').css("visibility", "visible").roundabout({
})

	.hover(function () {
	    clearInterval(interval);
	}, function () {
	    interval = startAutoPlay();
	});
interval = startAutoPlay();
function startAutoPlay() {
    return setInterval(function () {
        jQuery('ul#myRoundabout').roundabout_animateToNextChild();
    }, 3500);
};*/

/* 
$(document).ready(function() {
	
var interval;
				
$('ul#myRoundabout').roundabout()
				
.hover(
function() {
// oh no, it's the cops!
clearInterval(interval);
},
function() {
// false alarm: PARTY!
interval = startAutoPlay();
}
); // end hover
					
// let's get this party started
interval = startAutoPlay();
});
			
			
function startAutoPlay() {
return setInterval(function() {
$('ul#myRoundabout').roundabout_animateToNextChild();
}, 3000);
}
		
*/		

			/*<script type="text/javascript" charset="utf-8">
			$(document).ready(function(){
				$("area[rel^='prettyPhoto']").prettyPhoto();
				
				$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: true});
				$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
		
				$("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
					custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
					changepicturecallback: function(){ initialize(); }
				});

				$("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
					custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
					changepicturecallback: function(){ _bsap.exec(); }
				});
			});
			</script>*/
