<!--
    var imagepath
    var numberofimages
    var breaktime
    var i
    var clickedbutton = 10000;

    function LetItSlide() {
    i++;
       if(i <= numberofimages) {
         eval("document.slideshow.src = '"+imagepath+""+i+".jpg'")
         if(i == numberofimages) { i = 0; }
         window.setTimeout('LetItSlide()', breaktime);
       }
    }

    function preload_images() {
    var img
       for(i=1 ; i <= numberofimages ; i++) {
         img = new Image()
         eval("img.src = '"+imagepath+""+i+".jpg'")
       }
       i = 0;
       LetItSlide()
    }

    function start_slideshow(a,b,c) {
    imagepath = a;
    numberofimages = b;
    breaktime = c;
    i = 0;
    preload_images()
    }


    function buttonclick(currentbutton) {
       if(clickedbutton != currentbutton) {
         if(clickedbutton != 10000) {
         eval("document.mouseover"+clickedbutton+".src = '/gfx/button_closed.jpg'")
         }
       clickedbutton = currentbutton;
       eval("document.mouseover"+currentbutton+".src = '/gfx/button_opened.jpg'")
       }
     }

     function buttonmouseover(currentbutton) {
       if(currentbutton != clickedbutton) {
       eval("document.mouseover"+currentbutton+".src = '/gfx/button_open.gif'")
       }
     }

     function buttonmouseout(currentbutton) {
       if(currentbutton != clickedbutton) {
       eval("document.mouseover"+currentbutton+".src = '/gfx/button_close.gif'")
       }
     }
//-->