﻿
        //scroller width
        var swidth=240;

        //scroller height
        var sheight=65;

       
        //scroller's speed
        var sspeed=2;

        var msg='';

        //Your messages go below:


        msg +=
        
            '<ul><li><a href="http://www.falkirk.gov.uk/online/etendering/contract_award_details.asp?ID=336" title="Falkirk Council">Falkirk Council</a></li>'+
            '<li>Deep Cleaning of Kitchens & Cleaning of Kitchen Canopies & Replacement Filters </li>'+
            '<li>Contract Period Jun 2008 – May 2012</li>'+
            '<li></li>'+
            '<li>Kitchen Perfect are delighted to announce another successful tender with <a href="http://www.falkirk.gov.uk/online/etendering/contract_award_details.asp?ID=336" title="Falkirk Council">Falkirk Council</a>  in the deep cleaning of kitchens and kitchen canopies.  Kitchen Perfect will be deep cleaning the kitchens and ventilation systems across all of Falkirk’s high schools and primary schools.  </li>'+
            '<li>We have been working with Falkirk Council since the summer of 2007 and are delighted to be working with one of our local authorities again over the forthcoming years.</li>'+
            '<li></li></ul>'+
            '<strong>Mitie PFI</strong>'+
            '<ul><li>Ventilation & Duct Cleaning in North Ayrshire Schools</li>'+
            '<li></li>'+
            '<li>The company were extremely pleased to be awarded works for ventilation cleaning together with fresh air duct cleaning for St Matthews Academy, Arran Academy, Greenwood Academy and Stanley Primary School.</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()
                }
        }



        

