/* Supersimple gallery-script by Jonas Carlsson (jonas@cearon.com) use it for free just don't
remove this text. It's useful that all the pics is
in the same size, otherwise it doesn't look too good :) */

var pic1 = "slide1.jpg"; /* Copy and paste if you want more pictures in your gallery i.e 'var pic4 = "apa.jpg"' aso. */ 
var pic2 = "slide2.jpg";
var pic3 = "slide3.jpg";
var pic4 = "slide4.jpg";
var pic5 = "slide5.jpg";
var pic6 = "slide6.jpg";
var pic7 = "slide7.jpg";
var pic8 = "slide8.jpg";
var pic9 = "slide9.jpg";
var pic10 = "slide10.jpg";
var pic11 = "slide11.jpg";
var pic12 = "slide12.jpg";
var pic13 = "slide13.jpg";
var pic14 = "slide14.jpg";
var pic15 = "slide15.jpg";
var pic16 = "slide16.jpg";
var number = 16 ;            /* Number of pictures in your intended gallery */
var vart = 1 ;              /* Control variable, set to 1 just to know where it is */


function next()
{
if (vart == number)
document.gallery.src = eval("pic" + vart);

else
vart = vart + 1;
document.gallery.src = eval("pic" + vart);
}


function previous()
{
if (vart == 1)
document.gallery.src = eval("pic" + vart);

else
vart = vart - 1;
document.gallery.src = eval("pic" + vart);
}


