﻿
var galleryImages = new Array();


// In order to add images to gallery do the following:
// 1. Add the images to the gallery sub folder (this image is the thumb -	size: 62X44px) name it x.jpg for example)
// 2. Add another image to the same folder with the name x_big.jpg - (this image would be shown when the user clicks the thumb - size: 380X380px)
// 3. increase the number in var numberOfImages = 15;
// 4. add a line like this -> galleryImages[0] = "example3_1.jpg" -> with the new file name
// 5. test and call me if there are problems:)
var numberOfImages = 15;

galleryImages[0] = "example3_1.jpg";
galleryImages[1] = "example3_2.jpg";
galleryImages[2] = "example3_3.jpg";
galleryImages[3] = "example4_1.jpg";
galleryImages[4] = "example4_2.jpg";
galleryImages[5] = "example4_3.jpg";
galleryImages[6] = "example5_1.jpg";
galleryImages[7] = "example5_2.jpg";
galleryImages[8] = "example5_3.jpg";
galleryImages[9] = "example1_1.jpg";
galleryImages[10] = "example1_2.jpg";
galleryImages[11] = "example1_3.jpg";
galleryImages[12] = "example2_1.jpg";
galleryImages[13] = "example2_2.jpg";
galleryImages[14] = "example2_3.jpg";


function getImage(i)
{
    if (i>numberOfImages)
        return galleryImages[0];
    return galleryImages[i];
}