function openwin(title, num) {
  definition=window.open('', num, 'toolbar=no,location=no,menubar=no,resizable=no,scrollbars=no,WIDTH=350,HEIGHT=250,alwaysRaised=false');
  definition.document.write('<HTML>\n<TITLE>' + title + '</TITLE>\n' + '<FONT FACE="helvetica" SIZE=2><B>' + title + ': </B>' + defarray[num].description);
  definition.document.write('\n </HTML>\n');
  definition.document.close();
}

function definition(key, word, description) {
  this.key = key;
  this.word = word;
  this.description = description;
}

defarray = new Array();
var x = 1;

defarray[x++] = new definition("Blower", "Blower", "An electrically powered fan which provides the necessary wind for the organ.");
defarray[x++] = new definition("BurnishedTin", "Burnished Tin", "Refers to the finish of tim facase pipes. Obtained with a burnishing tool, this finish has the appearance of highly polished silver.");
defarray[x++] = new definition("CombinationAction", "Combination Action", "A device on the console actuated by the organist for changing registrations electrically rather than by hand.");
defarray[x++] = new definition("Console", "Console", "Embodies all of the controls which the organist may use while playing the organ.");
defarray[x++] = new definition("Division", "Division", "Is a group of stops controlled by a manual or the pedal keyboards.");
defarray[x++] = new definition("FacadePipes", "Facade Pipes", "Also referred to as front pipes, these pipes are for display in the casework of the organ. Generally these pipes are made with a \"decorative\" finish such as burnished tin or flamed copper.");
defarray[x++] = new definition("Great", "Great", "Refers to a division of pipes which are considered to be the foundation tones in the organ. This division is not under expression and is normally controlled by the lower manual keyboard at the console.");
defarray[x++] = new definition("Impost", "Impost", "The major horizontal supporting member of the organ case. Most often it is located about seven feet off the floor");
defarray[x++] = new definition("Manual", "Manual", "Is a keyboard for the hands. A two manual organ has two keyboards");
defarray[x++] = new definition("Pallets", "Pallets", "Are the \"valves\" which are pulled open by the trackers when a key is depressed at the console. When opened, these pallets allow wind to enter into their respective pipes.");
defarray[x++] = new definition("Pedal", "Pedal", "Refers to a division of pipes which provide the base tones in the organ. These pipes are controlled by the Pedalboard at the console.");
defarray[x++] = new definition("Pedalboard", "Pedalboard", "Is the \"keyboard\" which is played by the organist's feet. The Pedalboard consists of 32 keys and plays the pipes of the Pedal division");
defarray[x++] = new definition("PipeScaling", "Pipe Scaling", "Refers to the diameter (size) of a pipe in relation to its length. The pipe scales along with other information is given to the pipe maker for his use in making the pipes of the instrument.");
defarray[x++] = new definition("Pipework", "Pipework", "Refers to all the various pipes that an individual organ contains.");
defarray[x++] = new definition("Rank", "Rank", "Is a uniformaly voiced set of pipes, one for each key on its respective division. Some stops contain more than one rank of pipes.");
defarray[x++] = new definition("Registration", "Registration", "Refers to the different combinations of stops an organist may use to combine certain tonal \"colors\" or sounds from the organ.");
defarray[x++] = new definition("Roller", "Roller", "A round aluminum tube with \"arms\" which functions to transmit motion laterally in the key action. The rollers are mounted on roller boards within the organ.");
defarray[x++] = new definition("RollerBoard", "Roller Board", "Is a board to which the individual rollers of the key action are mounted. There are normally seven roller boards within an organ, each occurring in an area of the key action where motion must be transferred laterally.");
defarray[x++] = new definition("SpottedMetal", "Spotted Metal", "Is a term in organ building referring to pipe metal which contains roughly equal portions of both tin and lead. The resulting alloy has visible spots, hence the name.");
defarray[x++] = new definition("Square", "Square", "A small wooden part of the mechanical key action mechanism which transmits motion 90 degrees. Often these are serveral squares in the \"run\" from key to pallet, interconnected by the trackers themselves.");
defarray[x++] = new definition("SquareBeam", "Square Beam", "A \"board\" or beam to which all the squares are mounted.");
defarray[x++] = new definition("Stop", "Stop", "One or more ranks of pipes which are uniformly voiced to produce the same tone thus contributing a singular \"tonal color\" to the organ.");
defarray[x++] = new definition("StopJamb", "Stop Jamb", "Located on the console at both sides of the manual keys, the stop jambs contain all of the stop levers.");
defarray[x++] = new definition("StopLever", "Stop Lever", "A wooden \"arm\" located in the stop jambs whose lateral movement turns a stop on or off.");
defarray[x++] = new definition("Swell", "Swell", "Refers to a division of pipes in the organ which are considered to be more or less accompanimental in nature. This division is under expression and is normally controlled by the uppermost manual keyboard at the console.");
defarray[x++] = new definition("TonalFinishing", "Tonal Finishing", "Is the process of \"tailoring\" each pipe of an organ to the acoustics of its surroundings. This task is performed after the organ installation and requires two voicers, one at the console to listen, and one insde to organ to carry out the necessary speech alterations on the pipework.");
defarray[x++] = new definition("Tracker", "Tracker", "Refers to the thin strips of wood which form the mechanical connection between the keys and the paletts. Instruments utilizing this type of key action are most commonly referred to as \"tracker\" organs.");
defarray[x++] = new definition("Tremulant", "Tremulant", "Is a device, operated by a stop lever which causes the wind pressure of the organ to shake. The resulting affect on the speech of the pipes is akin to vibrato in the human voice.");
defarray[x++] = new definition("Tuning", "Tuning", "The process of altering the pitch (length of the sound wave) a given pipe will produce through the lengthening and shortening of its body or resonator by means of tuning \"slides\", \"scrolls\", or wires.");
defarray[x++] = new definition("Voicer", "Voicer", "A person who is trained in the art of voicing pipe work.");
defarray[x++] = new definition("Voicing", "Voicing", "Is the art of producing or altering the speech of the pipes in an organ. This process is different that the tuning of the pipes.");
defarray[x++] = new definition("VoicingMachine", "Voicing Machine", "Is a small, organ-like device which is used by a voicer to play the pipes during the voicing process at the shop. A smaller version of this machine is used when setting C's at the building.");

function define(word) {
 var current=1;
 var high = x-1;
 while (current <= high) {
   if (defarray[current].key == word) {
     openwin(defarray[current].word, current);
     return;
   }
   current++;
 }
 openwin("NotFound", "Not Found");
}




