/* 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] = 	"'A line is dot that went for a walk.'		 Paul Klee"
  message[1] = 	"'God is in the details.'		Ludwig Mies van der Rohe"
  message[2] = 	"'The history of architecture is the history of the world.'		Vincent Scully"
  message[3] = 	"'Freedom is from within.'		Frank Lloyd Wright"
  message[4] = 	"'All architecture is great after sunset.'		G.K. Chesterton"
  message[5] = 	"'Architecture is fantasy made of precisions'		Gio Ponti"
  message[6] = 	"'I prefer drawing to talking. Drawing is faster, and leaves less room for lies.'		Le Corbusier"
  message[7] = 	"'Freedom of expression is not anarchy.'		Paul Rand"
  message[8] = 	"'Order must exist before it can be broken.'		Robert Venturi"
  message[9] = 	"'Tradition is a challenge to innovation.'		Alvaro Siza Vieira"
  message[10] = "'Materials used in architecture are the equivalent of notes for the composer.'		Peter Zumthor"
  message[11] = "'I do not write, I build. The creator made paper for drawing on.'		Alvar Aalto"
  message[12] = "'There is no must in art because art is free.'		Wassily Kandinsky"
  message[13] = "'Architecture is partly based on the sense of touch.'		Peter Zumthor"
  message[14] = "'I begin with an idea and then it becomes something else.'		Pablo Picasso "

function changeText() {
  if (message.length > 0) {
    document.change.descript.value=message[text];
    text++;
  }
  if (text == 14) {text = 0; }  // change the # 2 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 9350); }  // 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();
});

