	//FancyBox 1.3 Doc Ready Function
	
	$(document).ready(function() {
		$(".fancyYoutube").click(function() {
		$.fancybox({
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic',
				'width'			: 640,
				'height'		: 360,
				'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/') + '&autoplay=1',
				'type'			: 'swf',
				'swf'			: {
					'wmode'		: 'transparent',
					'allowfullscreen'	: 'true'
				}
				   });
		return false;
		});
	});
	
	//jQuery Cycle Doc Ready Function	
	
	$(document).ready(function() {
    $('.slideshow').cycle({
		fx:    'fade',
		speed:  3000
	});
});
	
	
	
//jQuery Show/Hide Text	
	
	
	$(document).ready(function() {

// initialise the visibility check
var is_visible = false;

// hide all of the elements with a class of 'toggle'
$('.toggle').hide();

// capture clicks on the toggle links
$('a.toggleLink').click(function() {

// switch visibility
is_visible = !is_visible;

// toggle the display - uncomment the next line for a basic "accordion" style
//$('.toggle').hide();$('a.toggleLink').html(showText);
$(this).parent().next('.toggle').toggle('slow');

// return false so any link destination is not followed
return false;

});
});

	
