         var slideShowSpeed = 10000;
         var crossFadeDuration = 3;

           var duration = 1000;
           var steps = 50;      
           var delay = 5000;     
             
           
         var quote = new Array();
         quote[0] = 'A beautiful photograph of my children is like a page in the book of my life.<br /> Years from now, I know I\'ll be able to flip back to the beginning and relive them as they were then. <span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-Kate Parker</span>';
         quote[1] = 'At moments of great enthusiasm it seems to me that no one in the world has <br/>ever made something this beautiful and important. <span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-M.C. Escher</span>';
         quote[2] = 'To send light into the darkness of men\'s hearts - such is the duty of the artist. <span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-Schumann</span>';

         quote[3] = 'The artist\'s world is limitless. It can be found anywhere, far from where he<br /> lives or a few feet away. It is always on his doorstep.<span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-Paul Strand</span>';
         quote[4] = 'A thing of beauty is a joy forever.<span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-Mary Poppins</span>';
         quote[5] = 'No artist ever sees things as they really are. If he did,<br /> he would cease to be an artist. <span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-Oscar Wilde</span>';
         quote[6] = 'The aim of every artist is to arrest motion, which is life, by artificial means and <br />and hold it fixed so that a hundred years later, when a stranger looks at it, <br />it moves again since it is life. <span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-William Faulkner</span>';
         quote[7] = 'Anyone who says you can\'t see a thought, doesn\'t know art. <span style="font-size:11px;color:#f3f3f3"> &nbsp;&nbsp;-Wynetka Ann Reynolds</span>';
         quote[8] = '&nbsp';
         
         var train = new Array();
         train[0] = 'images/twins.jpg';
         train[1] = 'images/beautiful-important.jpg';
         train[2] = 'images/mens-hearts.jpg';
         train[3] = 'images/limitless-artist-world.jpg';
         train[4] = 'images/thing-of-beauty.jpg';
         train[5] = 'images/artist-sees.jpg';
         train[6] = 'images/arrest-motion.jpg';
         train[7] = 'images/see-a-thought.jpg'; 
         train[8] = 'images/welcome-screen.jpg';                 
         var t,f; var j = 0; var slidenum = 'first'; var p = train.length; var preLoad = new Array();
         for (i = 0; i < p; i++) 
         {
              preLoad[i] = new Image();
              preLoad[i].src = train[i];
         }
         function runSlideShow_IE() 
         {
           var screenrat = screen.height/screen.width;

           if (screen.width >= 1200)
           {
               document.getElementById("mainquote").style.fontSize="x-large";
            }
          if(screenrat <= .61)
           {
               document.getElementById("maindiv").style.width="90%";
               document.getElementById("maindiv").style.margin="auto";
           }

           document.getElementById("navigate").style.visibility = "visible";
           if (document.all) 
           {
               document.images.SlideShow.style.filter="blendTrans(duration=2)";
               document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
               document.images.SlideShow.filters.blendTrans.Apply();
           }
           document.images.SlideShow.src = preLoad[j].src;
           if (document.all) 
           {
               document.images.SlideShow.filters.blendTrans.Play();
               document.getElementById("mainquote").innerHTML = quote[j];

            }
               j = j + 1;
               if (j < p){
               t = setTimeout('runSlideShow_IE()', slideShowSpeed);}
               else{
                   document.getElementById("logodiv").style.visibility="hidden";
               }
         }
         function setOpacity(level) {
                 document.getElementById("SlideShow").style.opacity = level;
                //document.images.SlideShow.src.style.MozOpacity = level/50;
                //document.images.SlideShow.src.style.KhtmlOpacity = level;
                //document.images.SlideShow.src.style.filter = "alpha(opacity=" + (level * 100) + ");";
         }
 
         function fadeIn(){
            for (i = .3; i <= 1; i += (1 / steps)) {
              setTimeout("setOpacity(" + i + ")", i * duration);
            }
                     }
 
         function fadeOut() {
            for (i = 0; i <= 1; i += (1 / steps)) {
              setTimeout("setOpacity(" + (1 - i) + ")", i * duration);
           }
           
         }

         function runSlideShow_Others() 
         {
           if (screen.width >= 1200)
           {
               document.getElementById("mainquote").style.fontSize="x-large";
            } 
         
           if ((j >0)&&(slidenum=='first'))
           {
               document.getElementById("SlideShow").style.opacity=.3;
               document.images.SlideShow.src = preLoad[j].src;
               fadeIn();
            }
            else
           {
                document.images.SlideShow.src = preLoad[j].src;
                slidenum='first';

           }
                      
              document.getElementById("mainquote").innerHTML = quote[j];
                
                                     
               j = j + 1;
               if (j < p){
               t = setTimeout('runSlideShow_Others()',slideShowSpeed );}
               else{
                   document.getElementById("logodiv").style.visibility="hidden";
               }
          }

        function gotoprev()
        {
             if (j>0)
             {
               j=j-1; 
               document.images.SlideShow.src = preLoad[j].src;
               document.getElementById("mainquote").innerHTML = quote[j];
               if (j <8){
               document.getElementById("logodiv").style.visibility="visible";}
               slidenum='switch';
             }
        }
       function gotonext()
        {
             if (j < 7)
             { j=j+1;
               document.images.SlideShow.src = preLoad[j].src;
               document.getElementById("mainquote").innerHTML = quote[j]; 
               if (j <8){
               document.getElementById("logodiv").style.visibility="visible";}
               slidenum='switch';  }        
        }











