﻿
	
var hiccups = {
	
	
	
	init : function(){
		
		$('.slideshow')
			.before('<div id="nav2">') 
			
			.cycle({
			fx:     'scrollLeft', 
			speed:  'slow', 
			timeout: 8000, 
			pause: 1,
			next:   '#next2', 
			prev:   '#prev2',
			pager:  '#nav2' 
		});

		$("#prev2").click(hiccups.stopFade);
		$("#next2").click(hiccups.stopFade);
		
		
	},
	
	
		
	
	
	stopFade : function (e) {
		$('.slideshow').cycle('pause');
	}
	
}

jQuery(document).ready(function() { hiccups.init(); })
