// marquee
var html_dir = jQuery('html').attr('dir') == 'rtl',
	body_dir = jQuery('body.theme-body').hasClass('rtl'),
	marquee_dir;

	if (html_dir || body_dir) {
		marquee_dir = 'right';
	} else {
		marquee_dir = 'left';
	}

jQuery('.marquee').marquee({
	//speed in milliseconds of the marquee
	speed: 50,
	//gap in pixels between the tickers
	gap: 0,
	//time in milliseconds before the marquee will start animating
	delayBeforeStart: 0,
	//'left' or 'right'
	direction: marquee_dir,
	//true or false - should the marquee be duplicated to show an effect of continues flow
	duplicated: true,
	pauseOnHover: true,
	startVisible: true
});