jQuery(document).ready(function($) {

	// $("#testimonials .widget:not(:first)").hide();

	$("a img").parent("a").addClass("noborder");

	$("#testimonials").scrollable({
		interval: 5000,
		loop: true,
		size: 1,
		items: '.jquerytools'
	});     
     
	$("ul.tabs").tabs("div.panes > div"); 


	$("ul.menu-links").tabs("div.menu-panes > div.menu-page"); 
	

	// http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/
	//Full Caption Sliding (Hidden to Visible)
	$(".boxgrid.captionfull").hover(function(){
		$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:250});
	}, function() {
		$(".cover", this).stop().animate({top:'260px'},{queue:false,duration:250});
	});


});


jQuery.noConflict();

(function() {
	
	jQuery("a#inlinevideo").fancybox({
		'showCloseButton': true,
		'hideOnOverlayClick': true,
		'hideOnContentClick': false,
		'frameWidth':  576,
		'frameHeight':  322
	})(jQuery);
	
});