/*
	Author: Stephen Fairbanks for Ghosthorses.co.uk
*/

// Main banner

$('#we-provide-banner div').cycle({ 
    fx:     'scrollLeft',
    random:  true,
	easing: 'jswing'
});


// Home Quotes
$(function() {
	$('#home-quote-wrap').cycle({
		fx: 'scrollLeft',
		timeout: 0,
		random: true,
		speed: 800,
		easing: 'jswing',
		slideExpr: '.home-quote',
		next: '#another-quote'
	});
});


// Side Quotes
$(function() {
	$('.side-comments-window').cycle({
		fx: 'scrollLeft',
		timeout: 0,
		random: true,
		easing: 'jswing',
		speed: 800,
		slideExpr: '.side-comments-wrap',
		next: '#another-quote'
	});
});


// Quote character counter

// using id and custom settings
$('.feedback-warning').jqEasyCounter({
    'maxChars': 180,
    'maxCharsWarning': 120,
    'msgFontSize': '12px',
    'msgFontColor': '#000',
    'msgFontFamily': 'Arial',
    'msgTextAlign': 'left',
    'msgWarningColor': '#F00',
    'msgAppendMethod': 'insertBefore'              
});



$('ol li p:first-child').addClass('no-top-padding');
