// JavaScript Document
function Swap(ElementName,state) {
		//alert( "document." +ElementName+ ".src='/delhi/images/" +ElementName + state+ ".jpg'");
 eval("document." +ElementName+ ".src='/Delhi/images/" +ElementName + state+ ".jpg'");
  
  
}

var text = 0;

var message=new Array();
  message[0] = "Governor Bobby Jindal, Louisiana Economic Development and ConAgra Foods Lamb Weston announced plans to build a new, state of the art, environmentally friendly processing plant near Delhi, LA. (August 5, 2009)"
  message[1] = "The Delhi, LA, plant is specially designed to process high-quality sweet potatoes from the region into fries and related products."
  message[2] = "The new plant is scheduled to open in November 2010."
  message[3] = "The plant will initially create approximately 275 jobs."
  message[4] = "Sweet potatoes are one of today's hottest food trends. Per capita consumption is up 21 percent over the past five years, according to the USDA."
  message[5] = "85 percent of the general population is favorably inclined toward sweet potatoes."

function changeText() {
  if (message.length > 0) {
    //document.change.descript.value=message[text];
	document.getElementById('descript').innerHTML = message[text];

    text++;
  }
  if (text == 6) {text = 0; }                  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 6000); } // change the # on the left to adjust the speed of the
                                               // scroll. The smaller the # the faster the speed

// Multiple onload function created by: Simon Willison
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  changeText();
});

