// JavaScript Document
<!-- Script start
  function get(number)
  {
  if (number > 39)
    {
	    this.text =" Sorry, you drew nill, come again later and get a new ticket";
	    this.author = " Thomas";
	}
	else
	{ 
	    if (number == 0)
	  {
	    this.text =" Sorry, you drew zero, come again later and get a new ticket";
	    this.author = " Thomas";
	  }
	  if (number == 1)
	  {
	    this.text =" But, soft! What light through yonder window breaks? ";
	    this.author = " William Shakespeare, Romeo and Juliette";
	  }
	  	  if (number == 2)
	  {
	    this.text =" The process of optical design is both an art and a science. ";
	    this.author = " Robert R Shannon";
	  }
	      if (number == 3)       
		  {
		  this.text ="The reality is that the laws of geometrical and physical optics do not 			                       permit the formation of a perfect image except in a very small number of                       simple cases." 
		  this.author = " Robert R Shannon ";
	        }
          if (number == 4) 
		   {
		   this.text ="I do not know what I may appear to the world, but to myself I seem to                        have been only like a boy playing on the seashore ..." ;
		   this.author = " Isaac Newton ";
 	       }
          if (number == 5)
		  {
		  this.text ="... light is neither aether, nor its vibrating motion, but something               of a different kind propagated from lucid bodies." ;
		  this.author = " Isaac Newton ";
	      }
           if (number == 6)
		   {
			this.text ="... light consists in the transverse undulations of the same medium, which is the cause of electric and magnetic phenomena." ;
		    this.author = " James Clark Maxwell ";
	       }
           if (number == 7)    
		    {
			 this.text ="The more important fundamental laws and facts of physical science have               all been discovered, ..." ;
			 this.author = " Albert A Michelson (1899) ";
	         }
           if (number == 8)    
		    {
			  this.text ="The beauty and clearness of the dynamical theory, which asserts light                  and heat to be modes of motion, is at present obscured by two clouds."; 
		      this.author = " Lord Kelvin (1900) ";
	        }
		 if (number == 8)    
		    {
			  this.text ="The beauty and clearness of the dynamical theory, which asserts light                  and heat to be modes of motion, is at present obscured by two clouds."; 
		      this.author = " Lord Kelvin (1900) ";
	        }

	    if (number == 9)       
		    {
			  this.text ="As long as our culture continues to refract reality through the lens of science there is an obligation to make science accessible to everyone."; 
		      this.author = " Margaret Wertheim";
	        }
             
            if (number == 10)    
		    {
			  this.text ="Simple colours are those that belong to the elements, i.e., to fire, air, water, and earth."; 
		      this.author = " Aristotle (322-269 BC)";
	        }
          if (number == 11)    
		    {
			  this.text ="... the sun whose centre is tinged with red and whose rays are absorbed by the earth, signifies nobility, wealth, religion, clarity, gravity, justice, faith and corruption."; 
		      this.author = " Giovanni Paolo Lomozzo (1538-1600)";
	        }
           if (number == 12)    
		    {
			  this.text ="Every body reflects the rays of its own colour more copiously than the rest, and from their excess and predominance in the reflected light has its colour."; 
		      this.author = " Isaac Newton (1642-1727)";
	        }
          if (number == 13)    
		    {
			  this.text ="Colour itself is a degree of darkness."; 
		      this.author = " Johann Wolfgang von Goethe (1749-1832)";
	        }
 	      if (number == 14)    
		    {
			  this.text ="In colour are to be found harmony, melody, and counterpoint."; 
		      this.author = "Charles Baudelaire (1821-1867)";
	        }
           if (number == 15)    
		    {
			  this.text ="I call those simple colours, which are not composed, and cannot be 		                           made or supplied by, any mixture of other colours."; 
		      this.author = "Leonardo da Vinci (1452-1519)";
	        }
          if (number == 16)    
		    {
			  this.text ="The sensation of any given compound colour may be produced by several                         different combinations of spectral colours, without its being possible                          for the most practised eye to tell ... what simple concealed ..."; 
		      this.author = "Hermann von Helmholtz (1821-1894)";
	        }
          if (number == 17)    
		    {
			  this.text ="It is well known to painters that approximate representations of all                         colours can be produced by the use of very few pigments. Three pigments                         or coloured powders will suffice, a red, yellow, and a blue; ..."; 
		      this.author = "Ogden Nicholas Rood (1831-1902)";
	        }
          if (number == 18)    
		    {
			  this.text ="... in the solar spectrum the eye can distinguish no less than a                         thousand different tints."; 
		      this.author = "Ogden Nicholas Rood (1831-1902)";
	        }
          if (number == 19)    
		    {
			  this.text ="... the colours follow of their own accord, and taking one colour as a                        starting-point, I have clearly before my mind what must follow, and how                        to get life into it."; 
		      this.author = "Vincent Van Gogh (1853-1890)";
	        }
          if (number == 20)    
		    {
			  this.text ="... a painter does better to start from the colours on their palette                         than from the colours in nature ..."; 
		      this.author = "Vincent Van Gogh (1853-1890)";
	        }
          if (number == 21)    
		    {
			  this.text ="The first problem of physical optics, the condition necessary for the                         possibility of a true physical theory of light, is the analysis of all                         the complex phenomena connected with light, into objective and                         subjective parts."; 
		      this.author = "Max Planck (1858-1947)";
	        }
          if (number == 22)    
		    {
			  this.text ="No theory in the history of science has been more empirically                          successful than quantum mechanics."; 
		      this.author = "Margaret Wertheim";
	        }
          if (number == 23)    
		    {
			  this.text ="The rainbow is such a remarkable natural wonder and its cause has been                           so zealously sought and so little understood ..."; 
		      this.author = "Descartes (1637)";
	        }
          if (number == 24)    
		    {
			  this.text ="... a transparent crystal, recently brought from Iceland, ... is                        perhaps one of the greatest wonders that nature has produced."; 
		      this.author = "Erasmus Bartholinus (1625-1692)";
	        }
          if (number == 25)    
		    {
			  this.text ="Light is propagated or diffused not only directly, by refraction, and                          by reflection, but also in still a fourth way,-by diffraction."; 
		      this.author = "Francesco Maria Grimaldi (1665)";
	        }
          if (number == 26)    
		    {
			  this.text ="There are therefore two sorts of colours. The one original and simple,                          and the other compounded of these."; 
		      this.author = "Isaac Newton (1672)";
	        }
          if (number == 27)    
		    {
			  this.text ="... whiteness is the usual colour of light; for light is a confused                          aggregate of rays indued with all sorts of colours, as they were                          promiscuously darted from the various parts of luminous bodies."; 
		      this.author = "Isaac Newton (1672)";
	        }
          if (number == 28)    
		    {
			  this.text ="... fringes of colour are produced by the interference of two portions                         of light; ..."; 
		      this.author = "Thomas Young (1807)";
	        }
          if (number == 29)    
		    {
			  this.text ="This power of changing the power of light and of giving to it a new                         property, which it carries with it, is not peculiar to Iceland spar; I                         have found it in all known substances which give double images."; 
		      this.author = "Etienne-Louis Malus (1775-1812)";
	        }
          if (number == 30)    
		    {
			  this.text ="If we assume that light consists in vibrations in the aether similar                          to those of sound waves, it is easy to explain the inflection of                          luminous rays at sensible distances from a screen."; 
		      this.author = "Augustin Jean Fresnel (1788-1827)";
	        }
          if (number == 31)    
		    {
			  this.text ="For a long time philosophers have been endeavouring to decide by some                         experiment whether the action of light is transmitted in an instant to                          any distance whatever, or requires time."; 
		      this.author = "Ole Roemer (1644-1710)";
	        }
          if (number == 32)    
		    {
			  this.text ="One of the problems to be solved in making a (grating) machine is to                          make a perfect screw, and this, mechanics of all countries have sought                          to do for over a hundred years and failed."; 
		      this.author = "Henry Augustus Rowland (1848-1901)";
	        }
          if (number == 33)    
		    {
			  this.text ="The laws of the concave grating are very beautiful on account of their                          simplicity, ..."; 
		      this.author = "Henry Augustus Rowland (1848-1901)";
	        }
          if (number == 34)    
		    {
			  this.text ="Now if the source of light is anywhere in this (Rowland) circle, the                           image of this source and the different orders of the spectra are all                           brought to focus on this circle."; 
		      this.author = "Henry Augustus Rowland (1848-1901)";
	        }
          if (number == 35)    
		    {
			  this.text ="It appears from all that precedes reasonably certain that if there be                         any relative motion between the earth and the luminous aether, it must                         be small; quite small enough entirely to refute Fresnel's explanation                          of aberration."; 
		      this.author = "Michelson and Morley (1887)";
	        }
          if (number == 36)    
		    {
			  this.text ="... the thought occurred to me whether the period of light emitted by                         a flame might be altered when the flame was acted upon by magnetic                         force."; 
		      this.author = "Pieter Zeeman (1896)";
	        }
          if (number == 37)    
		    {
			  this.text ="To study only the present is equivalent to trying to draw a graph with                        only one point."; 
		      this.author = "Henry S Lipson, H Lipson and D S Tannhauser (1998)";
	        }
          if (number == 38)    
		    {
			  this.text ="We cannot say that light is a wave or is a corpuscular; only that                  under certain circumstances it is like a wave or like a corpuscular."; 
		      this.author = "John Gribbin (2002)";
	        }
			          if (number == 39)    
		    {
			  this.text ="Laserlight travels the same speed regardless the colour"; 
		      this.author = "Ken Evenson (1932-2002)";
	        }

		  }
       }
  function Quote(text,author)
  {
    // Properties
	this.text= text;
    this.author = author;
	// Methods
	this.get = get;
  }
    function WriteQuote(number)
  {
     var newnumber
	 newnumber = Math.ceil(40*Math.random());
  	 var name = new Quote( "", " ");
	 name.get(newnumber);

     document.write("<p>" + name.text +"<br>");
	 document.write("<i>"+ name.author +"</i></p>");
  }
  // scirpt end -->