/*
NOTES for Banner Ads:

DISPLAY:
* RANDOM: All the ads are displayed randomly (Can be changed)
* SPEED: The speed is set for 7 seconds (Can be changed)

BANNER IMAGES:
Place ALL banner images in the following folder:
/www/wp/wp-content/banners/
(http://fulleryouthinstitute.org/wp/wp-content/banners/)

BANNER POSITIONS:
#1: Top of left column (below logo)
#2: Below #1 in Left column or to the right of #1, in the right column

AD ITEMS:
* title: Tite of the Ad
* url: Page the Ad links to (MUST contain http://)
* img: Filename of the image (file MUST be in the folder: /wp/wp-content/banners/)
* tip: Tooltip (the text that displays when your mouse hovers over)

CHANGING ADS:
To change ads, you can edit the data in the Data Sources below. See the "AD ITEMS" section above for an explaination of the data fields below.

*/

//AD DATA SOURCES

/* BANNER POSITION 1 */
var dataSource1 = [
// You may add more lines cycle through more ads
{title: 'deep justice', url: 'http://fulleryouthinstitute.org/resources/books/deep-justice-journeys/', img: 'missions-with-justice.jpg', tip: 'Deep Justice Journeys'},
{title: 'ejournal', url: 'http://fulleryouthinstitute.org/resources/e-journal/', img: 'fyi_ejournal_ad.jpg', tip: 'Sign Up for FYI E-Journal'}

];

/* BANNER POSITION 2 */
var dataSource2 = [  
// You may add more lines cycle through more ads
{title: 'urban', url: 'http://fulleryouthinstitute.org/urban/certificate/', img: 'ad-urbancert.jpg', tip: 'Urban Ministry Certificate'},
{title: 'Essential Leadership', url: 'http://fulleryouthinstitute.org/resources/books/deep-leadership/', img: 'essential-leadership-ad.jpg', tip: 'Essential Leadership - Ministry Team Meetings that Work!' }

];


//===============================
//  DO NOT EDIT BELOW THIS LINE
//===============================

$(document).ready(function() {

	$('#banner1').ctRotatorBanner(dataSource1, {
		shuffle:true, 
		fadeEffect: true, 
		fadeInSpeed: 500,
	 	fadeOutSpeed: 500,
		speed:7000,
		showCount: 1

	});
 
	$('#banner2').ctRotatorBanner(dataSource2, {
		shuffle:true, 
		fadeEffect: true, 
		fadeInSpeed: 500,
	 	fadeOutSpeed: 500,
		speed:7000,
		showCount: 1

	});
	
});