$(document).ready(function() {
    $('#slideshow').cycle({
		fx: 'fade',
		prev: '.prev',
		next: '.next',
		pause: true,
		speed: 1000,
		timeout: 9000
	});
});


$(document).ready(function() {
    $('#gallery').cycle({
		fx: 'fade',
		prev: '.prevgal',
		next: '.nextgal',
		pause: true
	});
});

$(document).ready(function() {
    $('.testimonials').cycle({
		fx: 'fade',
		pause: true,
		speed: 1000,
		timeout: 9000
	});
});

$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
  $('#slickbox').hide();
 // shows the slickbox on clicking the noted link
  $('#slick-show').click(function() {
 $('#slickbox').show('slow');
 return false;
  });
 // hides the slickbox on clicking the noted link
  $('#slick-hide').click(function() {
 $('#slickbox').hide('fast');
 return false;
  });
 // toggles the slickbox on clicking the noted link
  $('#slick-toggle').click(function() {
 $('#slickbox').slideToggle(400);
 return false;
  }); 
});

$(document).ready(function() {
setTimeout (function(){ $('#slickbox').hide(); }, 1000);
});
