/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2008 M. Alsup
 * Version:	 2.52
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
	$(function() {
	
		$('#slide').cycle({
			fx:      'scrollLeft',
			timeout:  9000,			
			pager:   '#project-nav',
			pagerAnchorBuilder: pagerFactory
    	});

		function pagerFactory(idx, slide) {
			var s = idx > 8 ? ' style="display:none"' : '';
			return '<li'+s+'><a href="#">'+(idx+1)+'</a></li>';
		};
		
		$('#home-images').cycle('fade');

    });
	
	