// JavaScript Document

$(window).load(function() {
	$('#slider').nivoSlider({
		effect:'sliceDown', //Specify sets like: 'fold,fade,sliceDown'
		animSpeed:900,
		pauseTime:7000,
		startSlide:0,
		directionNav:true, //Next & Prev
		directionNavHide:true, //Only show on hover
		controlNav:false, //1,2,3...
		keyboardNav:true, //Use left & right arrows
		pauseOnHover:false, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		beforeChange: function(){},
		afterChange: function(){},
		slideshowEnd: function(){} //Triggers after all slides have been shown


	});
});

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
    	wrap: 'circular',
		animation: 'slow',
		auto: 6
    });
});


   $(document).ready(function() {
	                    $('#gallery').cycle({
						timeout: 5000,
						cleartypeNoBg: true,
		                    fx: 'fade'
	                    });
                    });
					
					$(function() {
	$('#pgallery a').lightBox({fixedNavigation:true});
});
