
function MainRollBanner(){

	$('#mainRollBanner').slides({

		 preload            : true
		,preloadImage       : 'image/loader.gif'
		,effect             : 'slide, fade'
		,crossfade          : true
		,play               : 4000
		,pause              : 3000
		,hoverPause         : true
		,slideSpeed         : 350
		,fadeSpeed          : 500
		,generateNextPrev   : false	            
		/*
		,generatePagination : false
		
		,animationStart: function(current) {

			$("ul#pagination img").each(function() {

				var imgSrc = $(this).attr("src");
					imgSrc = imgSrc.replace('over', 'off');
					
				$(this).replaceWith("<img src='" + imgSrc + "'>");
			});

		},
		animationComplete: function(current) {
		
			$("ul#pagination img").each(function() {

				var imgSrc = $(this).attr("src");

				if ($(this).attr("src") == imgSrc.match(".*" + current + ".*")) {

					imgSrc = imgSrc.replace('off', 'over');
					
					$(this).attr("src", imgSrc)

				}
			});

		}
		*/

	});

}

/****************************************

****************************************/
function CI_SlidesContainer(){

	$('#CI_SlidesContainer').slides({
		 preload            : true
		,preloadImage       : '/common/images/common/loader.gif'
		,effect             : 'slide, fade'
		,crossfade          : true
		,play               : 4000
		,pause              : 2500
		,hoverPause         : true
		,slideSpeed         : 350
		,fadeSpeed          : 500
		,generateNextPrev   : false
		,generatePagination : false
	});
}

/****************************************

****************************************/
function ddLoveSlidesContainer(){

	$('#ddLoveSlidesContainer').slides({
		 preload            : true
		,preloadImage       : '/common/images/common/loader.gif'
		,play               : 4000
		,pause              : 2500
		,hoverPause         : true
		,generatePagination : false
	});
}

