var int_maxLyrs = 3; 

var int_secsPerRotation = 2; 

function fnShowByTime(i) { 

  if(i == null) { 

    i = 1; 

  } else if(i > int_maxLyrs) { 

    i = 1; 

  } 

  setTimeout("fnShowByTime(" + (i + 1) + ")", int_secsPerRotation * 1000); 

  showNav('lyr' + i); 

} 



layerRef = "" 

        styleRef = "" 



        if (navigator.appName == "Netscape") 

        { 

                layerRef = ".layers" 

                styleRef = "" 

        } 

        else //must be IE 

        { 

                layerRef = ".all" 

                styleRef = ".style" 

        } 



        

        oldLayer="" 

        function showNav(layerName) 

        { 

                //hide the old layer 

                if (oldLayer) 

                { 

                        // we need to make sure it's not 

                        // the visitor's 1st click 

                        //document.layers[oldLayer].visibility = 'hidden' 

                eval( "document" + layerRef + "[oldLayer]" + styleRef + ".visibility = 'hidden'") 



                } 

                //make the correct layer visible 

                //document.layers[layerName].visibility = 'visible' 

         eval( "document" + layerRef + "[layerName]" + styleRef + ".visibility = 'visible'") 



                oldLayer = layerName 

        } 





function PageLoad() { 

    fnShowByTime(); 

} 

//--> 