anchor.diff:  			$(".slide-number").text(currentPageFormatter(event));
   		} );
   		*/
  +		/*
  +		$(".slidenumber").each(function( index ) {
  +			console.log( index + ": " + $( this ).text() );
  +			console.log(event.currentSlide);
  +			console.log(Reveal.getIndices());
  +		});
  +		*/
  +		/*
  +		$("section").each(function( index ) {
  +			//console.log( index + ": " + $( this ).text() );
  +			console.log( index + ": " );
  +		});
  +		*/
   		//-Reveal.configure({ slideNumber: true });
  
positive.code: 			agriculcutureDoughnut();
  		});
  		function slidenumber(event) {
  			var totalslides = document.querySelectorAll( '.reveal .slides section:not(.stack)' ).length;
  			//console.log(totalslides);
  			var current_slide = 0;
  
  			var horizontal_slides = document.querySelectorAll( '.reveal .slides>section' );
  			//console.log(horizontal_slides);
  			for (var i = 0; i < event.indexh; i++) {
  				// get subslides
  				var subslides = horizontal_slides[i].querySelectorAll('section');
  
  				// if subslides.length is 0, add 1 for horizontal slide, else add subslides.length
  				current_slide += (subslides.length === 0) ? 1 : subslides.length;
  			}
  			//console.log(current_slide);
  			current_slide += event.indexv+1;
  			//console.log(current_slide.toString()+"/"+totalslides.toString());
  			return current_slide.toString()+"/"+totalslides.toString();
  		}
  		Reveal.addEventListener('slidechanged', function(event) {
  			console.log(event.currentSlide);
  			console.log(Reveal.getIndices());
  			//cargo2();
  			/*
  			var inView = false;
  			if (isScrolledIntoView('#canvas')) {
  				if (inView) { return; }
  				inView = true;
  			} else if (isScrolledIntoView('#chart_cargo')) {
  				console.log('hi3');
  				if (inView) { return; }
  				inView = true;
  				console.log('hi5');
  
  			} else {
  				inView = false;
  			}
  			*/
  			var number = slidenumber(event);
  			jQuery(".slidenumber").text(number);
  		});
  		Reveal.addEventListener('ready', function(event) {
  			var number = slidenumber(event);
  			jQuery(".slidenumber").text(number);
  		});
  		function isScrolledIntoView(elem) {
  			//console.log(elem);
  			var docViewTop = $(window).scrollTop()+50;
  			var docViewBottom = docViewTop + $(window).height();
  			var elemTop = $(elem).offset().top;
  			var elemBottom = elemTop + $(elem).height();
  			return ((elemTop <= docViewBottom) && (elemBottom >= docViewTop));
  		}
  		/*
  		function currentPageFormatter(event) {
  			var formattedStr;
  			if (event.indexh === 0) {
  
negative.code: 			}
  			return formattedStr;
  		}
  		/*
  		Reveal.addEventListener( 'ready', function( event ) {
  			$('<aside class="controls slide-number" style="display: block; left: 10px; right: initial;bottom: -30px; text-align: center;"></aside>')
  			.text(currentPageFormatter(event))
  