
smallSizes = new Array(77,77);
pageName = 'inspiration_pool_decks.htm';
scriptName = 'inspiration_pool_decks.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('Pool Decks','images/collections/small/','images/collections/medium/','images/collections/big/',
    new Array(
      new Array('','BOSHolland003_1.jpg',809,400),
      new Array('','createGORMegaBerg007_1.jpg',809,400),
      new Array('','EGLCambridge001_2.jpg',809,400),
      new Array('','FOS2005BergeracCeltic004_1.jpg',809,400),
      new Array('','GORCambridge001_1.jpg',809,400),
      new Array('','GORdub_003_1.jpg',809,400),
      new Array('','Goria2008Urbana007_1.jpg',809,400),
      new Array('','HCSRA2008MegaBerg004_1.jpg',809,400),
      new Array('','NFD2008MegaArbelWeston006_1.jpg',809,400),
      new Array('','SCHMegaBerg006_1.jpg',809,400),
      new Array('','SPL2008CambridgeMegaBerg001_1.jpg',809,400),
      new Array('','SPL2008Dublin001_1.jpg',809,400),
      new Array('','SPL2008DublinMegaBergCeltic003_1.jpg',809,400),
      new Array('','SPLCambridge007_2.jpg',809,400),
      new Array('','SRADublin016_2.jpg',809,364),
      new Array('','SRADublin018_2.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]);
}

