/*function ind_list_change(list) {
	if (list.value == 0) {
		return window.location.href = '/clients';
	}
	return window.location.href = '/clients/' + list.value;
}*/


/*	////////////////////////////////////////////////////////////////////////////////

    --------------------------------------------------------------------------------
	
	DOCUMENT READY
	================================================================================ */
	

$(document).ready(function() {
	if ($('body').attr('id') == 'home') {
			$('#lifecyclebtn a').click(function(event) {
				event.preventDefault();
				showVideo();
			});
			
			
			$('#overlayclose').click(function(event) {
				event.preventDefault();
				hideVideo();
			});
	}
	
	
	function showVideo() {
		$('#homevideo').show();
		$('#overlay').css('display', 'block');
		$('#overlay').fadeTo('normal', 0.7 );
		$('#overlayclose').show();
	}
	
	function hideVideo() {
		$('#homevideo').hide();
		$('#overlay').hide();
		$('#overlayclose').hide();
	}
						   
						   				   
/*	////////////////////////////////////////////////////////////////////////////////

    --------------------------------------------------------------------------------
	
	END DOCUMENT READY
	================================================================================ */	
	
});