$(function() {
	var iDisplayDelay = 3000;
	var iFadeSpeed = 1750;
					 
	var iCurrent = 0;
	var jImages = $('#bannerregion .fluximg-al')
	if (jImages.length) {
		jImages.css({ opacity: 0, visibility: 'visible' })
		$(jImages[0]).css({ opacity: 1.0 });
		if (jImages.length > 1) {
			setInterval(function() {
				$(jImages[iCurrent]).animate({ opacity: 0.0 }, iFadeSpeed);
				++iCurrent;
				if (iCurrent >= jImages.length) {
					iCurrent = 0;
				}
				$(jImages[iCurrent]).animate({ opacity: 1.0 }, iFadeSpeed);
			}, iDisplayDelay);
		}
	}
	
	function ClearOpacity(jQueryElement) {
		if (jQueryElement.length) {
			var oStyle = jQueryElement[0].style;
			// clear opacity attribute
			oStyle.opacity = '';
			// clear custom mozilla attribute
			oStyle['-moz-opacity'] = '';
			// clear custom khtml attribute
			oStyle['-khtml-opacity'] = '';
			// if an alpha filter is in place, clear it
			if (typeof(oStyle.filter) == 'string') {
				oStyle.filter = oStyle.filter.replace(rAlphaFilter, '');
			}
		}
	}	
});		