		function MsSlideShow3b__start(){
			MsSlideShow3b__setButton(1);
			MsSlideShow3b__startRunning();
		}
		
		function MsSlideShow3b__timer(){
			var intSeconds = parseInt($('#SLIDESHOW3B').attr("timerSeconds"));
			setTimeout('MsSlideShow3b__next();', (intSeconds*1000) );
		}
		
		function MsSlideShow3b__startRunning(){
			$('#SLIDESHOW3B').attr("running","1");
			MsSlideShow3b__timer();
		}
		
		function MsSlideShow3b__stopRunning(){
			$('#SLIDESHOW3B').attr("running","0");
		}
		
		function MsSlideShow3b__isRunning(){
			if ($('#SLIDESHOW3B').attr("running")=="0"){
				return false;
			}else{
				return true;
			}
		}
		
		
		function MsSlideShow3b__next(){
			if ( MsSlideShow3b__isRunning() ){
				var intSelectedButtonIndex = parseInt( $('#SLIDESHOW3B').attr("selectedButtonIndex") );
				intSelectedButtonIndex++;
				if (intSelectedButtonIndex>3){
					intSelectedButtonIndex = 1;
				}
				MsSlideShow3b__setButton(intSelectedButtonIndex);
				MsSlideShow3b__timer();
			}
		}
		
		function MsSlideShow3b__buttonClick(vButtonIndex){
			MsSlideShow3b__setButton(vButtonIndex);
			MsSlideShow3b__stopRunning();
		}
		
		function MsSlideShow3b__setButton(vButtonIndex){
			// Bottone selezionato precedentemente
			var intOldSelectedButtonIndex = parseInt( $('#SLIDESHOW3B').attr("selectedButtonIndex") );
			//alert("avevi premuto "+intOldSelectedButtonIndex);
			
			//Salvo quale è l'attuale bottone
			$('#SLIDESHOW3B').attr("selectedButtonIndex",vButtonIndex);
			
			// Setto un eventuale contenuto preso dal div
			$('#SLIDESHOW3B_BUTTON'+intOldSelectedButtonIndex+'_DISPLAYDATA').hide();
			$('#SLIDESHOW3B_BUTTON'+vButtonIndex+'_DISPLAYDATA').fadeIn("slow")
			
			// Imposto la classe del bottone a selected
			$('#SLIDESHOW3B_BUTTON'+vButtonIndex).addClass("SLIDESHOW3B__BUTTON"+vButtonIndex+"_SELECTED");
			$('#SLIDESHOW3B_BUTTON'+intOldSelectedButtonIndex).removeClass("SLIDESHOW3B__BUTTON"+intOldSelectedButtonIndex+"_SELECTED");
		}