
smallSizes = new Array(77,77);
pageName = 'inspiration_walls.htm';
scriptName = 'inspiration_walls.js';
countX = 9;

// sections: name, small images path, medium images path, big images path
// images: name, src, big width, big height
var arImages = new Array(

  new Array('Walls','images/collections/small/','images/collections/medium/','images/collections/big/',
    new Array(
      new Array('','AncScWall_FSW_crop_1028_-037749_1.jpg',809,400),

      new Array('','1019_-001282_1.jpg',809,400),
      new Array('','4DCeltic003_1.jpg',809,400),
      new Array('','AncScWall_SRW_1019_-001002_1.jpg',809,400),
      new Array('','BOSCeltic001_1.jpg',809,400),
      new Array('','createSPLCeltic007_1.jpg',809,400),
      new Array('','Franklin5.jpg',809,400),
      new Array('','GORCeltic007_1.jpg',809,400),
      new Array('','GORcelticSB002_1.jpg',809,400),
      new Array('','GORdublinceltic002_1.jpg',809,400),
      new Array('','MLRCeltic003_1.jpg',809,400),
      new Array('','sample house.jpg',809,400),
      new Array('','SCHCeltic006_1.jpg',809,400),
      new Array('','SPLCeltic001_1.jpg',809,400)
    )
  )

)

section = getParameter(self.document.location.href, 'section');
if (isNaN(section) || (section=='') || (section<0) || (section>arImages.length))
  section = 0; 

var arPreloadImages = new Array();
function preload() {
  for (var i=0;i<arImages[section][4].length;i++) {
    arPreloadImages[i] = new Image();
    arPreloadImages[i].src = arImages[section][2]+arImages[section][4][i][1];
  }
}
  
function showImageMedium(number) {
  showImage('imagemedium', arImages[section][2]+arImages[section][4][number][1]);
//  showMessage('imagemediumname',arImages[section][4][number][0]);
}

