window.addEvent('domready', function(){
	var td = [
		'<img src="images/brands0.jpg" width="238" height="182" align="right" alt="Mahatma&reg;" /><span class="redt">Mahatma<span style="font-size:.6em;">&reg;</span></span> Mahatma&reg; is the number one selling rice brand in the U.S. Sold in extra long grain, parboiled, brown, rice mixes, Thai Jasmine and Indian Basmati. Mahatma\'s popularity is attributed to its consistent fluffy texture and quality.<br><br><a href="http://www.mahatmarice.com">www.mahatmarice.com</a>',
		'<img src="images/brands1.jpg" width="160" height="228" align="right" alt="Success&reg;" /><span class="redt">Success<span style="font-size:.6em;">&reg;</span></span> Success&reg; Rice, the nation\'s original leading boil-in-bag instant rice, was developed by Riviana\'s R&D team and was launched in 1977 to meet consumer demand for quality and convenience. Its popularity prompted Riviana to develop Success Rice mixes. In 1989, Success Boil-in-Bag Brown Rice was introduced to meet consumers\' interest in healthy and easy-to-prepare foods and in 2004, Success&reg; Boil-in-Bag Thai Jasmine Rice was introduced.<br><br><a href="http://www.successrice.com">www.successrice.com</a>',
		'<img src="images/brands2.jpg" width="176" height="218" align="right" alt="Minute&reg;" /><span class="redt">Minute<span style="font-size:.6em;">&reg;</span></span> Minute&reg; Rice was the first precooked and the first enriched rice. Today, Minute Rice is marketed in five varieties: White Rice, Brown Rice, Boil-in-Bag, Premium Rice, and Ready to Serve Rice.<br><br><a href="http://www.minuterice.com">www.minuterice.com</a>',
		'<img src="images/brands3.jpg" width="234" height="149" align="right" alt="Carolina&reg;" /><span class="redt">Carolina<span style="font-size:.6em;">&reg;</span></span> Known for its consistent high quality, Carolina&reg; is the top selling long grain rice brand in the Northeast and Mid-Atlantic States. Carolina&reg; Rice is appreciated for its consistent good taste and texture.<br><br><a href="http://www.carolinarice.com">www.carolinarice.com</a>',
		'<img src="images/brands4.jpg" width="177" height="224" align="right" alt="River&reg;" /><span class="redt">River<span style="font-size:.6em;">&reg;</span></span> River&reg; Rice is a regional favorite in the Northeast and Mid-Central States where medium grain rice is popular for casseroles, stews, soups and desserts. River&reg; Natural Long Grain brown rice is popular among health-conscious consumers.<br><br><a href="http://www.riverrice.com">www.riverrice.com</a>',
		'<img src="images/brands5.jpg" width="241" height="143" align="right" alt="Water Maid&reg;" /><span class="redt">Water Maid<span style="font-size:.6em;">&reg;</span></span> Water Maid&reg; Rice is the best-selling brand of medium grain rice in the South. Distinguished by its slightly shorter and plumper appearance, Water Maid is moist and tender and clings together when prepared. It is perfect for traditional recipes such as gumbo, jambalaya and rice pudding.<br><br><a href="http://www.watermaidrice.com">www.watermaidrice.com</a>',
		'<img src="images/brands6.jpg" width="250" height="165" align="right" alt="Gourmet House&reg;" /><span class="redt">Gourmet House<span style="font-size:.6em;">&reg;</span></span> Gourmet House&reg; is the maker of the leading wild rice products in North America and Europe including bulk, packaged, quick-cooking, and wild and white rice blends.<br><br><a href="http://www.gourmethouserice.com">www.gourmethouserice.com</a>',
		'<img src="images/brands8.jpg" width="163" height="193" align="right" alt="Healthy Harvest" /><span class="redt">Our sister brands:</span><br><span class="redt">New World Pasta</span> New World Pasta Company is the largest manufacturer of pasta in the U.S. and Canada. Its products include such name brands as Ronzoni&reg;, American Beauty&reg;, Skinner&reg;, Lancia&reg;, Catelli&reg;, Healthy Harvest&reg;, and more.<br><br><a href="http://www.nwpasta.com">www.nwpasta.com</a>'
	];
	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);

});