
var text = 0;

function changeText() {
	var currentDiv = 'press_blurb_' + text;
	//alert("curdiv is :" + currentDiv);
	document.getElementById(currentDiv).style.display='none';
	text++;

	if (text == 4) {text = 0; }
	currentDiv = 'press_blurb_' + text;
	document.getElementById(currentDiv).style.display='block';
    	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();
});
