function expand(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuHover";
  d.className = "menuHover";
}

function collapse(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuNormal";
  d.className = "menuNormal";
}

var theImages = new Array();


theImages[0] = './jpg/001.jpg'
theImages[1] = './jpg/002.jpg';
theImages[2] = './jpg/003.jpg';
theImages[3] = './jpg/004.jpg';
theImages[4] = './jpg/005.jpg';
theImages[5] = './jpg/006.jpg';
theImages[6] = './jpg/007.jpg';
theImages[7] = './jpg/008.jpg';
theImages[8] = './jpg/009.jpg';
theImages[9] = './jpg/010.jpg';
theImages[10] = './jpg/011.jpg';
theImages[11] = './jpg/012.jpg';
theImages[12] = './jpg/013.jpg';
theImages[13] = './jpg/014.jpg';
theImages[14] = './jpg/015.jpg';
theImages[15] = './jpg/016.jpg';
theImages[16] = './jpg/017.jpg';
theImages[17] = './jpg/018.jpg';
theImages[18] = './jpg/019.jpg';
theImages[19] = './jpg/020.jpg';
theImages[20] = './jpg/021.jpg';
theImages[21] = './jpg/022.jpg';
theImages[22] = './jpg/023.jpg';
theImages[23] = './jpg/024.jpg';
theImages[24] = './jpg/025.jpg';
theImages[25] = './jpg/026.jpg';
theImages[26] = './jpg/027.jpg';
theImages[27] = './jpg/028.jpg';
theImages[28] = './jpg/029.jpg';
theImages[29] = './jpg/030.jpg';
theImages[30] = './jpg/031.jpg';
theImages[31] = './jpg/032.jpg';
theImages[32] = './jpg/033.jpg';
theImages[33] = './jpg/034.jpg';
theImages[34] = './jpg/035.jpg';
theImages[35] = './jpg/036.jpg';
theImages[36] = './jpg/037.jpg';
theImages[37] = './jpg/038.jpg';
theImages[38] = './jpg/039.jpg';
theImages[39] = './jpg/040.jpg';
theImages[40] = './jpg/041.jpg';
theImages[41] = './jpg/042.jpg';
theImages[42] = './jpg/043.jpg';
theImages[43] = './jpg/044.jpg';
theImages[44] = './jpg/Panitzas-waving.jpg';  
  


var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}d
var whichImage;
function showImage(){
whichImage = 0;
document.getElementById('imagesholder').src = (theImages[whichImage]);
}


function showNextImage(){
if (whichImage == (p-1))
   {
   whichImage = 0
   }
else
   {
   whichImage++
   }

document.getElementById('imagesholder').src = (theImages[whichImage]);
}

function showPrevImage(){
if (whichImage == (0))
   {
   whichImage = p-1
   }
else
   {
   whichImage--
   }

document.getElementById('imagesholder').src = (theImages[whichImage]);
}
//  End -->