var r_text = new Array ();
r_text[0] = "Spices add flavor!@images/SpicesH001.jpg";
r_text[1] = "Spices add flavor!@images/SpicesH002.jpg";
r_text[2] = "Spices add flavor!@images/SpicesH003.jpg";
r_text[3] = "Spices add flavor!@images/SpicesH004.jpg";
r_text[4] = "Spices add flavor!@images/SpicesH005.jpg";
r_text[5] = "Spices add flavor!@images/SpicesH006.jpg";
r_text[6] = "Spices add flavor!@images/SpicesH007.jpg";
r_text[7] = "Spices add flavor!@images/SpicesH008.jpg";
r_text[8] = "Spices add flavor!@images/SpicesH009.jpg";
r_text[9] = "Spices add flavor!@images/SpicesH010.jpg";
r_text[10] = "Spices add flavor!@images/SpicesH011.jpg";
r_text[11] = "Spices add flavor!@images/SpicesH012.jpg";
r_text[12] = "Spices add flavor!@images/SpicesH013.jpg";
r_text[13] = "Spices add flavor!@images/SpicesH014.jpg";
r_text[14] = "Spices add flavor!@images/SpicesH015.jpg";
r_text[15] = "Spices add flavor!@images/SpicesH016.jpg";
r_text[16] = "Spices add flavor!@images/SpicesH017.jpg";
r_text[17] = "Spices add flavor!@images/SpicesH018.jpg";
r_text[18] = "Spices add flavor!@images/SpicesH019.jpg";
r_text[19] = "Spices add flavor!@images/SpicesH020.jpg";
r_text[20] = "Spices add flavor!@images/SpicesH021.jpg";
r_text[21] = "Spices add flavor!@images/SpicesH022.jpg";

// Remember, JavaScript arrays are zero indexed (the first element of an array in JavaScript 
// has an index of 0). Our array r_text consists of one-hundred and eighty-two elements. The 
// Math.random() method returns a value between 0 and 1. We have to convert this value to an 
// integer between 0 to 21 so that it can be used as an index to retrieve the string from the 
// r_text array. We store the final value in a variable i.

var i = Math.round(21*Math.random());
var _p,_q,_n;
_p = r_text[i];
_q = _p.substr(0,_p.indexOf("@"));
_q = unescape(_q);
_n = _p.substr(_p.indexOf("@")+1,_p.length);
_n = unescape(_n);
document.write("<div align='center'><img alt='[" + _q + "]' title='" + _q + "' src='" + _n + "' style='float:right;margin:0px 10px 10px 10px;'></div>");
