/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Sandeep Gangadharan | http://sivamdesign.com/scripts/ */
var text = 0;

var message=new Array();
  message[0] = "Mumbai's suburban rail systems carry a total of 2.2 billion passengers every year. Incidentally, the world's population is 6 billion"
  message[1] = "The Hanging Gardens at Malabar Hill was built over three reservoirs which can store up to 300 hundred thousand  gallons of water."
  message[2] = "It took 60 years to merge the seven islands of Bombay into one landmass between 1784 and 1845"
  message[3] = "The name Bombay was derived from Bom Bahia (The Good Bay), a name given by Portuguese sailor Francis Almeida, in 1508"
  message[4] = "The Quit India Movement was launched by Gandhiji in Mumbai in 1942 from Gowalia Tank. It is now called August Kranti Maidan"
  message[5] = "There are 14 platforms inside the Chhatrapati Shivaji Terminus, earlier called Victoria Terminus"
	
	
	
function changeText() {
  if (message.length > 0) {
    document.change.descript.value=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()", 8000); }  // 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();
});

