
smallSizes = new Array(77,77);
mediumSizes = new Array(200,170);
pageName = 'steps.htm';
scriptName = 'steps.js';
countX = 2;
countY = 3;

// <font color="#660a01"><strong><u>Categories:</u></strong></font> name, small images path, medium images path, big images path
// images: name, src, big width, big height
var arImages = new Array(

  new Array('Steps','images/photos/small/','images/photos/medium/','images/photos/big/',
    new Array(
      new Array('','Blue Stone Steps.jpg',534,400),
      new Array('','Cameron Steps & Driveway.jpg',534,400),
      new Array('','Cameron Stone Steps & Landings.jpg',534,400),
      new Array('','Clay Paver Step with Bullnose.jpg',603,400),
      new Array('','Clay Paver Steps with Bullnose.jpg',603,400),
      new Array('','Concrete Paver Steps with Gravaty Wall & Columns.jpg',534,400),
      new Array('','Curved Paver Staircase.jpg',300,400),
      new Array('','Curved Paver Steps & Landing.jpg',534,400),
      new Array('','Fargo Buckskin Natural Stone Steps.jpg',534,400),
      new Array('','Fargo Buckskin Stair Caps with Stucco Finish & Stone Veneer.jpg',534,400),
      new Array('','Fargo Buckskin Stairs with Stucco Faces.jpg',534,400),
      new Array('','Fargo Buckskin Steps.jpg',534,400),
      new Array('','Gold Travertine Pavers.jpg',534,400),
      new Array('','Landing & Steps using Cameron Stone.jpg',534,400),
      new Array('','Lompoc Steps & Walkway.jpg',534,400),
      new Array('','Manufactured Concrete Saltillo Tile.jpg',534,400),
      new Array('','Manufactured Stone Patio & Stairs.jpg',534,400),
      new Array('','Manufactured Stone Steps & Landing.jpg',534,400),
      new Array('','Manufactured Stone.jpg',603,400),
      new Array('','Manufactured Tile Steps & Landings.jpg',534,400),
      new Array('','Natural Slate Stone Steps.jpg',534,400),
      new Array('','Natural Stone Fargo Buckskin Steps.jpg',534,400),
      new Array('','Natural Stone Steps & Landing.jpg',534,400),
      new Array('','Natural Stone Steps.jpg',534,400),
      new Array('','Natural Stone Travertine Pavers.jpg',534,400),
      new Array('','Paver Circle with Staircase & Gravity Wall.jpg',534,400),
      new Array('','Paver Landing & Steps with Lights.jpg',534,400),
      new Array('','Paver Landing with Steps & Paver Patio.jpg',534,400),
      new Array('','Paver Landings & Steps.jpg',300,400),
      new Array('','Paver Pool Deck Stairs.jpg',534,400),
      new Array('','Paver Staircase with Radius Steps.jpg',534,400),
      new Array('','Paver Staircase.jpg',534,400),
      new Array('','Paver Stairs with Walkway.jpg',534,400),
      new Array('','Paver Steps & Driveway.jpg',534,400),
      new Array('','Paver Steps & Landing with Circle.jpg',534,400),
      new Array('','Paver Steps with Bullnose.jpg',603,400),
      new Array('','Paver Steps with Gravaty Wall Columns.jpg',534,400),
      new Array('','Paver Steps with Landings.jpg',300,400),
      new Array('','Paver Steps with Lights.jpg',534,400),
      new Array('','Paver Steps with Walkway.jpg',300,400),
      new Array('','Pool Deck with Bullnose Steps.jpg',534,400),
      new Array('','Quartzite Stone Steps.jpg',534,400),
      new Array('','Rectangle Landing & Steps.jpg',534,400),
      new Array('','Slate Tile Steps_1.jpg',534,400),
      new Array('','Square Paver Landing & Steps.jpg',534,400),
      new Array('','Square Steps & Landing.jpg',534,400),
      new Array('','Staircase before.jpg',534,400),
      new Array('','Staircase out of Cameron Stone.jpg',534,400),
      new Array('','Staircase using Fargo Buckskin.jpg',534,400),
      new Array('','Straight Steps With Half Circle Steps.jpg',534,400),
      new Array('','Thin Pavers Patio & Steps.jpg',534,400),
      new Array('','Three Rivers Natural Stone Steps.jpg',534,400),
      new Array('','Three Rivers Staircase.jpg',534,400),
      new Array('','Three Rivers Stone Landing.jpg',534,400),
      new Array('','Three Rivers Stone Steps.jpg',534,400),
      new Array('','Travertine Pavers.jpg',534,400),
	  new Array('','Picture 599.jpg',534,400),
      new Array('','Picture 647.jpg',534,400),
      new Array('','Picture 658.jpg',300,400),
      new Array('','Picture 663.jpg',534,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]);
}
