$(document).ready(function(){
		
		// Cycle the home tabs
			$('#home-tabs-container')  
			.cycle({ 
				cleartype:  1, 
				timeout: 10000, 
				speed: 1,
			    pager:  '#home-tabs-selectors',
				pagerEvent:   'click',
				pause:         true,
			    pagerAnchorBuilder: function(idx, slide) { 
			        // return selector string for existing anchor 
			        return '#home-tabs-selectors li:eq(' + idx + ')'; 
			    }
			});
			
		
		
		
		// This activates the fade effect on the homepage logos
		// Change the speed to adjust how quickly the "Fade" is, and change the timeout to alter how long each group is visible.
	$('#home-client-logos a').innerfade({ 
		animationtype: 'fade', 
		speed: 'fast', 
		timeout: 4000, 
		type: 'random', 
		containerheight: '70px' 
	}); 
	
	
	//Examples of how to assign the ColorBox event to elements
	$("#video-link").colorbox({iframe:true, innerWidth:639, innerHeight:390});
	//Example of preserving a JavaScript event for inline calls.
	$("#click").click(function(){ 
		$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
		return false;
	});
	

});

