(function($) { // Making $ accessible even in noConflict
  $(document).ready(function(){
    
	  if($.fn.slideshow)
  	{
    $('#slideshow, .slider').slideshow({
      timeout: 5000,
      fadetime: 1000,
      type: 'sequence'
    });
    }
		
		if ($.fn.cycle) 
		{
			$('.cycle').cycle();
		}
		
		if ($.fn.fancybox) 
		{
			$('.fancybox').fancybox();
		} 
  });
})(jQuery);
