window.addEvent('domready', function(){
	var td = [
		'<span class="redt">Long grain rice</span> represents the majority of total rice sold in the U.S. and is preferred by cooks when separateness of grain is important. Riviana markets this form of rice under the Carolina&reg; and Mahatma&reg; brands.',
		'<span class="redt">Medium grain rice</span> somewhat shorter and wider than long grain rice - is preferred for use in puddings, casseroles, soups and dressings. Riviana\'s medium grain rice brands, Water Maid&reg; and River&reg;, are regional favorites.',
		'<span class="redt">Short Grain rice</span> Valencia rice takes its name from Valencia, a province of Spain, and is also known as short grain or pearl rice. Mahatma&reg; Valencia Rice is used for traditional Spanish dishes such as paella and Arroz con Pollo (chicken and rice) as well as soups, stews, stuffings, rice molds, croquettes, sushi, rice pudding and other desserts.',
		'<span class="redt">Instant rice</span> is milled long grain rice that has been cooked and dried under carefully controlled conditions. Riviana\'s instant brands are Success&reg; and Minute&reg;.',
		'<span class="redt">Brown rice</span> is rice in its most natural state. Brown rice is the rice grain with only the outer hull removed. The fiber and nutrient-dense bran layers cover the white inner part of the grain. These bran layers have a light brown color, and contribute a subtle nut-like taste and somewhat chewy texture. Riviana\'s brown rice brands include Mahatma&reg;, Carolina&reg;, River&reg;, Success&reg; and Minute&reg;.',
		'<span class="redt">Aromatic rices</span> include Jasmine from Thailand and Basmati from India and Pakistan. Aromatic rices have a flavor and aroma similar to that of roasted nuts. The natural compound that gives aromatic rice the characteristic aroma and flavor is present in all rice, but it is present in much higher concentrations in the aromatic varieties. Riviana markets Mahatma&reg;, Carolina&reg; and Success&reg; Jasmine rice and Mahatma&reg; and Carolina&reg; Basmati rice.',
		'<span class="redt">Wild rice (zizania palustris)</span> is the seed of a plume-topped aquatic grass found mainly in California, the North Central United States 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 markets wild rice under the Gourmet House&reg; brand.',
		'<span class="redt">Ready to serve Microwavable</span> white and brown rice and rice mixes are precooked and ready to serve in one minute. Riviana markets ready to serve rice cups under the Minute&reg; brand.',
		''
	];
	var mySlide = new Slider($('area'), $('knob'), {
		steps:7,
		onChange: function(step){
			for (var j=0; j <= 7; j++) {
				$('box'+j.toString()).className='box';
			}
			$('box'+step.toString()).className='selected';
			$('tidbit').setHTML(td[step]);
		}
	}).set(0);

});
