
smallSizes = new Array(77,77);
mediumSizes = new Array(300,230);
pageName = 'landscapes.htm';
scriptName = 'landscapes.js';
countX = 1;
countY = 5;

// sections: name, small images path, medium images path, big images path
// images: name, src, big width, big height
var arImages = new Array(
						 
   new Array('Landscaping','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
     new Array(
	  new Array('Photo 1','Auman-LS_1.jpg',600,400),
      new Array('Photo 2','Bailey artistic.jpg',600,400),
      new Array('Photo 3','Barber spring.jpg',600,400),
      new Array('Photo 4','Barber tulips.jpg',600,400),
      new Array('Photo 5','Downing_1.jpg',600,400),
      new Array('Photo 6','DSC00252.jpg',534,400),
      new Array('Photo 7','DSC00270.jpg',534,400),
      new Array('Photo 8','Geer front.jpg',534,400),
      new Array('Photo 9','Geer H2O.jpg',534,400),
      new Array('Photo 10','Geer patio.jpg',534,400),
      new Array('Photo 11','Geer-front.jpg',534,400),
      new Array('Photo 12','Harrison front.jpg',600,400),
      new Array('Photo 13','Hazen Front.jpg',600,400),
      new Array('Photo 14','Hderick pool improved.jpg',600,400),
      new Array('Photo 15','Miller front.jpg',600,400),
      new Array('Photo 16','Perilstein.jpg',600,400),
      new Array('Photo 17','Selvig.jpg',600,400),
      new Array('Photo 18','Smith blue stone.jpg',267,400),
      new Array('Photo 19','Vaughn front.jpg',600,400),
      new Array('Photo 20','Vaughn overall.jpg',600,400),
      new Array('Photo 21','Auman-LS.jpg',600,400),
      new Array('Photo 22','Curry.jpg',600,400),
      new Array('Photo 23','Half Saused LS.jpg',534,400),
      new Array('Photo 24','Hedrick-LS.jpg',600,400),
      new Array('Photo 25','Hedrick-LS2.jpg',600,400),
      new Array('Photo 26','Mahler-LS.jpg',600,400),
      new Array('Photo 27','Masterson-LS.jpg',600,400),
      new Array('Photo 28','McKeever-LS.jpg',600,400),
      new Array('Photo 29','OKeefe-LS.jpg',267,400),
      new Array('Photo 30','OKeefe-LS2.jpg',600,400),
      new Array('Photo 31','OKeffe LS.jpg',600,400),
      new Array('Photo 32','Stamos-LS.jpg',600,400),
      new Array('Photo 33','WB-LS.jpg',534,400),
	  new Array('Photo 34','land_Anderson.jpg',533,400),
      new Array('Photo 35','land_Barber.jpg',533,400),
      new Array('Photo 36','land_Downing.jpg',533,400),
      new Array('Photo 37','land_Geer.jpg',533,400),
      new Array('Photo 38','land_Geer3.jpg',533,400),
      new Array('Photo 39','land_Geer4.jpg',533,400),
      new Array('Photo 40','land_Geer5.jpg',551,400),
      new Array('Photo 41','land_McPherson.jpg',533,400),
      new Array('Photo 42','land_Musson.jpg',533,400),
      new Array('Photo 43','land_Musson2.jpg',533,400),
      new Array('Photo 44','land_OKeefe.jpg',533,400),
      new Array('Photo 45','land_P5253930.jpg',533,400),
      new Array('Photo 46','land_P6014365.jpg',300,400),
      new Array('Photo 47','land_Perilstein.jpg',533,400),
      new Array('Photo 48','land_Storm.jpg',533,400),
      new Array('Photo 49','land_Storm2.jpg',519,400),
      new Array('Photo 50','land_Upchurch.jpg',533,400),
      new Array('Photo 51','land_Upchurch2.jpg',533,400),
      new Array('Photo 52','water_Musson2.jpg',533,400)

    )
  )

)

section = getParameter(self.document.location.href, 'section');
if (isNaN(section) || (section=='') || (section<0) || (section>arImages.length))
  section = 0; 

ind = getParameter(self.document.location.href, 'ind');
if (isNaN(ind) || (ind=='') || (ind<0) || (ind>arImages[section][4].length))
  ind = 0; 

var arPreloadImages = new Array();
function preload() {
  if (arImages[section][2]!='') {
    for (i=ind;(i<(Number(ind)+Number(countX*countY))) && (i<arImages[section][4].length);i++) {
      arPreloadImages[i] = new Image(mediumSizes[0],mediumSizes[1]);
      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]);
}

function showImageBig(number) {
  showImagePopup(scriptName,section,number,arImages[section][4][number][2],
   arImages[section][4][number][3]);
}

