/*Javascript code mtv_baird_not.js copyright 2005, 2006 by James T. Hawes. 
All rights reserved.

REVISION HISTORY
03-17-2004 Composed article. (Revisions in 2006.)
04-22-2004 Added video recording invention.
01-30-2005 Table concept for "now and then"
05-07-2005 Revised to work with not_Baird page (based on my mtv_nowthen.js)
02-07-2006 Added remote control. Deleted Giovanni Casselli. Shortened program name.
02-09-2006 Added more history. Restored Giovanni Casselli, with new hint.
02-16-2006 Added function revealQuote() and original quote from Baird family.
02-18-2006 Added function unvent(): Makes page more fun. Sound without heft.
05-02-2007 Added Tesla to radio inventors & TV receiver inventors (with Marconi and the group).
04-07-2008 Added field-sequential and simultaneous color TV. Extended range of clear() function.
04-07-2008 Removed quotes from "false" in clearTextAreas(): Function is more reliable. 
04-07-2008 Radio buttons in HTML are now checkboxes.
12-11-2008 Added William Wheeler, 1880 inventor of fiber optics.
05-06-2009 Added Arthur Korn (halftones, compensated selenium), Boris Rosing (light chopper). 
05-06-2009 Added flying spot scanner (Bain, Korn & Rosing). 
*/ 
    function findmtvTxt()
    {
       if (inventions.tech[0].checked)
         inventions.mtvTxt[0].value = "Alexander Bain, in 1843";
       if (inventions.tech[1].checked)
         inventions.mtvTxt[1].value = "Paul Gottleib Nipkow, in 1884";
       if (inventions.tech[2].checked)
         inventions.mtvTxt[2].value = "D. Mac Farland Moore, in 1917";
       if (inventions.tech[3].checked)
         inventions.mtvTxt[3].value = "Nikola Tesla, in 1887";
       if (inventions.tech[4].checked)
         inventions.mtvTxt[4].value = "Lee de Forest in 1906";
       if (inventions.tech[5].checked)
         inventions.mtvTxt[5].value = "Maxwell, Hertz, Tesla and Marconi";
       if (inventions.tech[6].checked)
         inventions.mtvTxt[6].value = "Tesla, Marconi, Fleming, Armstrong, de Forest, etc.";
       if (inventions.tech[7].checked)
         inventions.mtvTxt[7].value = "May & Willoughby-Smith in 1872";
       if (inventions.tech[8].checked)
         inventions.mtvTxt[8].value = "Alexander Bain, in 1843";
       if (inventions.tech[9].checked)
         inventions.mtvTxt[9].value = "Constantin Perskyi, in 1900";
       if (inventions.tech[10].checked)
         inventions.mtvTxt[10].value = "Eugene Polley, in 1955";
       if (inventions.tech[11].checked)
         inventions.mtvTxt[11].value = "Samuel Morse, in 1837";
       if (inventions.tech[12].checked)
         inventions.mtvTxt[12].value = "Frederick Bakewell, in 1847";
       if (inventions.tech[13].checked)
         inventions.mtvTxt[13].value = "Giovanni Casselli, in 1861";
       if (inventions.tech[14].checked)
         inventions.mtvTxt[14].value = "Constantin Senlecq, in 1878";
       if (inventions.tech[15].checked)
         inventions.mtvTxt[15].value = "Frederick Bakewell, in 1847";
       if (inventions.tech[16].checked)
         inventions.mtvTxt[16].value = "A.A. Polumordvinov, in 1889";
       if (inventions.tech[17].checked)
         inventions.mtvTxt[17].value = "Herbert Ives & his AT&T staff, in 1929";
       if (inventions.tech[18].checked)
         inventions.mtvTxt[18].value = "William Wheeler, in 1880";
       if (inventions.tech[19].checked)
         inventions.mtvTxt[19].value = "Arthur Korn, in 1907";
       if (inventions.tech[20].checked)
         inventions.mtvTxt[20].value = "Boris Rosing, in 1911";
       if (inventions.tech[21].checked)
         inventions.mtvTxt[21].value = "Mechanical: Alexander Bain, 1843. Light: Arthur Korn, 1907.";                                      
    }
    //
    function clearTextAreas()
    {
      var ind;
      for (ind = 0; ind < 22; ind++)
      {
        inventions.tech[ind].checked = false;
        inventions.mtvTxt[ind].value = "";
      } 
    }
    //
    function revealQuote()
    {
       alert("They claim television 'evolved over decades' which is " +
       "completely wrong. Television simply did not exist in 1924, and " +
       "by 1929 it was being broadcast regularly by the BBC in England. " +
       "Is five years a decade? No. They should have written, television " +
       "\"as we know it today\" evolved over decades.");
    }
    //
    function unvent(ind)
    {
      //*****DECLARATIONS
      var strAry = new Array("Scanning disc", "Main scanning motor", 
           "Synchronizer", "Neon glow lamp", "Picture magnifier");
      //      
      //*****LOGIC
      alert(strAry[(ind - 1)] + ": Baird invention (NOT!)");
    } 
    

