// JavaScript Document

<!--
// Use the following variable to specify 
// the number of random words
var NumberOfWords = 29

var words = new BuildArray(NumberOfWords)

// Use the following variables to 
// define your random words:
words[1] = "<i>alappaa</i><br> - It is Cold</FONT>"
words[2] = "<i>akutuq</i><br> - Eskimo Ice Cream</FONT>"
words[3] = "<i>qinu</i><br> - Broken Chunks of Slush Ice</FONT>"
words[4] = "<i>siku</i><br> - Ice</FONT>"
words[5] = "<i>tuuq</i><br> - Ice Chisel</FONT>"
words[6] = "<i>sarri</i><br> - Ice Pack</FONT>"
words[7] = "<i>ivuniq</i><br> - Ice Pressure Ridge</FONT>"
words[8] = "<i>Puktaaq</i><br> - Iceberg</FONT>"
words[9] = "<i>uisauruq</i><br> - Is Adrift on an Ice Pack</FONT>"
words[10] = "<i>Aunniq</i><br> - Rotten (unsafe) Ice</FONT>"
words[11] = "<i>payuktaqtuq</i><br> - Gives Gift of Food</FONT>"
words[12] = "<i>aiparuq</i><br> - Is Fresh, Raw (Uncooked Food)</FONT>"
words[13] = "<i>niqipiaq</i><br> - Meat</FONT>"
words[14] = "<i>niqi</i><br> - Meat, Food</FONT>"
words[15] = "<i>tupaktuq</i><br> - Is Startled</FONT>"
words[16] = "<i>tupakkaa</i><br> - Startles Him</FONT>"
words[17] = "<i>qimmiq</i><br> - Dog</FONT>"
words[18] = "<i>qammich</i><br> - Dog Team</FONT>"
words[19] = "<i>manik</i><br> - Money</FONT>"
words[20] = "<i>atausiq</i><br> - One</FONT>"
words[21] = "<i>piitchuq</i><br> - Nothing, No One, Empty</FONT>"
words[22] = "<i>Atausiq</i><br> - One</FONT>"
words[23] = "<i>Una</i><br> - This one</FONT>"
words[24] = "<i>puksraaq</i><br> - Sleeping Bag</FONT>"
words[25] = "<i>tupiq</i><br> - House, Tent</FONT>"
words[26] = "<i>ugruk</i><br> -  Bearded Seal</FONT>"
words[27] = "<i>iglaqtuq</i><br> - Laughs</FONT>"
words[28] = "<i>aapa</i><br> - Grandfather</FONT>"
words[29] = "<i>aaka</i><br> - Grandmother</FONT>"

function BuildArray(size){
    this.length = size
    for (var i = 1; i <= size; i++){
        this[i] = null}
    return this
}

function PickRandomWord() {
    // Generate a random number between 1 and NumberOfWords
    var rnd = Math.ceil(Math.random() * NumberOfWords)
	var InupiatWord = words[rnd]

    // Display the word inside the text box
    //document.write(words[rnd])
	return InupiatWord
}
//-->

