window.addEvent('domready', function(){
	var td = [
		'<span class="redt">Rice flour</span> Riviana offers the most complete line of rice flours available. Because of its hypoallergenic properties and digestibility, rice flour is the basic ingredient in infant rice cereals and is the preferred thickening agent for baby foods. It is also used as an ingredient in ready-to-eat breakfast cereals.',
		'<span class="redt">Broken rice</span> Riviana supplies broken pieces of rice, known as brewers or brokens, to the pet food industry as an ingredient in pet foods.',
		'<span class="redt">Rice hulls</span> Formerly discarded in the milling processes, Riviana now sells rice hulls for the production of furfural, a chemical used to manufacture plastic telephones and as a viscosity agent in motor oil. The company also supplies rice hulls to the animal feed industry for use in medicated feeds and for landscaping as mulch. Hulls are also used as a source of fuel for electricity such as co-generation joint venture project in Arkansas.',
		'<span class="redt">Wild rice (zizania palustris)</span> is the seed of a plume-topped aquatic grass found mainly in Minnesota, California and Canada. It is often combined with other types of rice or grain. With an enticing blend of smoky, nutty flavors and crackly-crunchiness, wild rice has long been a favorite of gourmets. Riviana, which sells wild rice under the Gourmet House&reg; brand, is the world&rsquo;s largest marketer of wild rice.'
	];
	var mySlide = new Slider($('area'), $('knob'), {
		steps:3,
		onChange: function(step){
			for (var j=0; j <= 3; j++) {
				$('box'+j.toString()).className='box';
			}
			$('box'+step.toString()).className='selected';
			$('tidbit').setHTML(td[step]);
		}
	}).set(0);

});