window.addEvent('domready', function(){
	var td = [
		'<span class="redt">1911</span> Riviana Foods traces its roots to 1911 when 33 South Louisiana rice mills joined to form Louisiana State Milling Company.',
		'<span class="redt">1926</span> Riviana was the first to introduce rice in consumer packages.',
		'<span class="redt">1931</span> Riviana began selling rice in kraft and cellophane bags.',
		'<span class="redt">1940s</span> Minute&reg; Rice, the world\'s first precooked rice was developed in the early 1940s using a special patented method for precooking and dehydrating rice and was requisitioned by the U.S. Armed Forces during World War II for special G.I. rations. Minute&reg; Rice was introduced to consumer test markets in the U.S. in 1946, and by 1949, it had achieved national distribution.',
		'<span class="redt">1965</span> Riviana Foods is formed through the merger of River Brand Rice Mills, Inc. and Louisiana State Rice Milling Company.',
		'<span class="redt">1977</span> With the introduction of Success&reg; Rice and its innovative boil-in-bag convenience, Riviana pioneered the development of quick-cooking, parboiled rice.',
		'<span class="redt">1986</span> As consumers demonstrated a growing preference for convenience, Riviana introduced easy-to-prepare flavored rice mixes. Riviana also introduced international aromatic rices into the U.S. market. As more Americans explore exotic and ethnic cuisines, Jasmine and Basmati rice products have become the fastest growing category in the U.S. rice industry.',
		'<span class="redt">2004</span> Riviana is acquired by Ebro Foods, S.A., the world\'s leading rice company.',
		'<span class="redt">2006</span> Riviana introduces microwavable rice products that cook in one minute.'
	];
	var mySlide = new Slider($('area'), $('knob'), {
		steps:8,
		onChange: function(step){
			for (var j=0; j <= 8; j++) {
				$('box'+j.toString()).className='box';
			}
			$('box'+step.toString()).className='selected';
			$('tidbit').setHTML(td[step]);
		}
	}).set(0);

});
