/* JS file for carousel on AAA home page 
*  This produces a rotating banner with a fade transition, pauses on hover
*  By: Lindsay Creek */


/* Call to start the rotating banner, fx: is the argument for the transition type, pause: true so that it pauses when mouse is on the image, timeout: time between images */
$(document).ready(function() {
    $('#wrap').cycle({
		fx: 'fade', 
		speed: 2500,
		timeout: 7000,
		pause: true
	});
});

/* Initially, the images are set to 0x0 so that the page does not load funny */
$(function(){$('img.carouselimg').width(950);}); 
$(function(){$('img.carouselimg').height(250);}); 