// JavaScript Document
var NumberOfWords = 9
var words = new BuildArray(NumberOfWords)

words[1] = "There is no design without discipline. There is no discipline without intelligence.''<br> (Massimo Vignelli)"
words[2] = "Good design is obvious. Great design is transparent.''<br>(Joe Sparano)"
words[3] = "Good design goes to heaven; bad design goes everywhere..''<br>(Mieke Gerritzen)"
words[4] = "Imagination is more important than knowledge.''<br>(Albert Einstein)"
words[5] = "It's art if can't be explained. It's fashion if no one asks for an explanation. It's design if it doesn't need explanation.''<br>(Wouter Stokkel)"
words[6] = "Beauty is the ultimate defense against complexity.''<br>(John Carmack)"
words[7] = "Design is creativity with strategy.''<br>(Rob Curedale)"
words[8] = "No masterpiece was ever created by a lazy artist.''<br>(Salvador Dalis)"
words[9] = "To create a memorable design you need to start with a thought that's worth remembering.''<br>(Thomas Manss)"

function BuildArray(size){
    this.length = size
    for (var i = 1; i <= size; i++){
        this[i] = null}
    return this
}

function PickRandomWord() {
	var rnd = Math.ceil(Math.random() * NumberOfWords)
	document.getElementById("phraseSpan").innerHTML = words[rnd];
}
