// JavaScript Document

//scroller width
        var swidth=250;

        //scroller height
        var sheight=190;

        //background color
        var sbcolor='';

        //scroller's speed
        var sspeed=2;

        var msg=''

        //Your messages go below:


        msg +=
        
            '<ul><li><a href="#" target="_blank" title="">I just wanted to thank you again. I must have looked at my layout 20 times in the last 24 hours.  Its remarkable.  How you got the skiers on the snow covered mountain scene to look so real is beyond me.</a></li>'+
            '<li><strong>Jess L., Portland</strong></li>'+
            '<li> </li></ul>'+                     
            
            '<ul><li><a href="#" target="_blank" title="">Your team created the perfect layout for me and my family. My son and I have always dreamed of creating a  train layout with a circus venue and you nailed it. The end result was more than I could have hoped for. Now the whole family, including my grandchildren, are involved. Thanks Steve, you are the best!</a></li>'+
            '<li><strong>Pete Jacobs, Long Beach, CA.</strong></li>'+
            '<li> </li></ul>'+  
            
            '<ul><li><a href="#" target="_blank" title="">We had certain challenges with an autistic child, but you convinced me you could build exactly what I needed, and you were so patient with me. The Plexiglas surrounding the entire layout solved everything. Lets just say its even better than you explained, down to the last blade of grass.  I wanted other customers of yours to know how much we appreciate your attention to detail.  This should be in a museum somewhere.  I recommend you to everyone I know.  Best Regards,</a></li>'+
            '<li><strong>Howard from Virginia</strong></li>'+
            '<li> </li></ul>'+  
            
            '<ul><li><a href="#" target="_blank" title="">I wanted a model layout that reflected my family history dating back to my great, great grandfather. I found out about Customtrainlayouts and contacted them. After months of planning, Steve and his team flew out to my home, stayed two weeks and created a 20x40 ft. layout that depicted my history. Everyone was as nice as they were professional.  They worked into the late hours and started first thing in the morning. I am not sure anybody else could have completed this task with the same expertise and passion. We are lucky to have found them. Great job, Steve, Sue, Sue, Scott and Al.</a></li>'+
            '<li><strong>Mike P, Austin, TX</strong></li>'+
            '<li> </li></ul>'+  
            
            '<ul><li><a href="#" target="_blank" title="">Wow, the golf course is unbelievable. We are still mesmerized a month later.  It was a big decision to buy, but this was just what we needed. Many thanks.</a></li>'+
            '<li><strong>Thomas, Mystic, CT</strong></li>'+
            '<li> </li></ul>'+  


        '';

        //End of your messages
        // Begin the ticker code

        var resumesspeed=sspeed
        function start() {
                if (document.all) iemarquee(ticker);
                else if (document.getElementById)
                        ns6marquee(document.getElementById('ticker'));
        }
        
        function iemarquee(whichdiv){
                iediv=eval(whichdiv)
                sheight += 50;
                iediv.style.pixelTop=sheight
                iediv.innerHTML=msg 
                sizeup=iediv.offsetHeight
                ieslide()
        }
        
        function ieslide(){
                if (iediv.style.pixelTop>=sizeup*(-1)){
                        iediv.style.pixelTop-=sspeed
                        setTimeout("ieslide()",100)
                }
                else{
                        iediv.style.pixelTop=sheight
                        ieslide()
                }
        }
        
        function ns6marquee(whichdiv){
                ns6div=eval(whichdiv)
                sheight += 50;
                ns6div.style.top=sheight + "px";
                ns6div.innerHTML=msg
                sizeup=ns6div.offsetHeight
                ns6slide()
        }
        function ns6slide(){
                if (parseInt(ns6div.style.top)>=sizeup*(-1)){
                        theTop = parseInt(ns6div.style.top)-sspeed
                        ns6div.style.top = theTop + "px";
                        setTimeout("ns6slide()",100)
                }
                else {
                        ns6div.style.top = sheight + "px";
                        ns6slide()
                }
        }
