
smallSizes = new Array(77,77);
mediumSizes = new Array(230,167);
pageName = 'portfolio.htm';
scriptName = 'portfolio.js';
countX = 2;
countY = 3;

// sections: name, small images path, medium images path, big images path
// images: name, src, big width, big height
var arImages = new Array(
  new Array('Gardens','images/portfolio/gardens/small/','images/portfolio/gardens/medium/','images/portfolio/gardens/big/',
    new Array(
      new Array('Photo 1','IMG_0007.jpg',600,400),
      new Array('Photo 2','IMG_0011.jpg',600,400),
      new Array('Photo 3','IMG_0014.jpg',600,400),
      new Array('Photo 4','IMG_0030.jpg',600,400),
      new Array('Photo 5','IMG_0035.jpg',267,400),
      new Array('Photo 6','IMG_0053.jpg',600,400),
      new Array('Photo 7','IMG_0088.jpg',600,400),
      new Array('Photo 8','IMG_0102.jpg',600,400),
      new Array('Photo 9','IMG_0103.jpg',600,400),
      new Array('Photo 10','IMG_0122.jpg',600,400),
      new Array('Photo 11','IMG_0127.jpg',600,400),
      new Array('Photo 12','IMG_0129.jpg',600,400),
      new Array('Photo 13','IMG_0137.jpg',600,400)
    ),
	''
  ),
  
  new Array('Landscaping','images/portfolio/landscaping/small/','images/portfolio/landscaping/medium/','images/portfolio/landscaping/big/',
    new Array(
      new Array('Photo 1','DSC00019.jpg',533,400),
      new Array('Photo 2','DSC00020.jpg',533,400),
      new Array('Photo 3','DSC00021.jpg',533,400),
      new Array('Photo 4','DSC00024.jpg',533,400),
      new Array('Photo 5','DSC00025.jpg',533,400),
      new Array('Photo 6','DSC00050.jpg',533,400),
      new Array('Photo 7','DSC00052.jpg',533,400)
    ),
	'When it comes to Landscaping anyone can plant shrubs or trees.<br><br>Our crewmembers create works of art that you will be proud of.  Many of our team members have been with the company for years.  They are dedicated to creating the landscape of your dreams from start to finish.'
  ),

  new Array('Pavers','images/portfolio/pavers/small/','images/portfolio/pavers/medium/','images/portfolio/pavers/big/',
    new Array(
      new Array('Photo 1','DSC00005.jpg',533,400),
      new Array('Photo 2','DSC00022.jpg',533,400),
      new Array('Photo 3','DSC00023.jpg',533,400),
      new Array('Photo 4','DSC00026.jpg',533,400),
      new Array('Photo 5','DSC00028.jpg',533,400),
      new Array('Photo 6','DSC00041.jpg',533,400),
      new Array('Photo 7','DSC00044.jpg',533,400),
      new Array('Photo 8','DSC00047.jpg',533,400),
      new Array('Photo 9','DSC00068.jpg',533,400),
      new Array('Photo 10','DSC00070.jpg',533,400),
      new Array('Photo 11','DSC00071.jpg',533,400),
      new Array('Photo 12','DSC00077.jpg',533,400),
      new Array('Photo 13','DSC00079.jpg',533,400),
      new Array('Photo 14','DSC00081.jpg',533,400),
      new Array('Photo 15','DSC00097.jpg',533,400),
      new Array('Photo 16','DSC00100.jpg',533,400),
      new Array('Photo 17','DSC00103.jpg',533,400),
      new Array('Photo 18','DSC00109.jpg',533,400),
      new Array('Photo 19','DSC00150.jpg',533,400),
      new Array('Photo 20','DSC00151.jpg',533,400),
      new Array('Photo 21','Picture-005.jpg',533,400),
      new Array('Photo 22','Picture-006.jpg',533,400),
      new Array('Photo 23','Picture-007.jpg',533,400),
      new Array('Photo 24','Picture-008.jpg',533,400),
      new Array('Photo 25','Picture-009.jpg',533,400),
      new Array('Photo 26','Picture-010.jpg',533,400),
      new Array('Photo 27','Picture-011.jpg',533,400),
      new Array('Photo 28','Picture-012.jpg',533,400),
      new Array('Photo 29','Picture-013.jpg',533,400),
      new Array('Photo 30','Picture-014.jpg',533,400),
      new Array('Photo 31','Picture-015.jpg',533,400),
      new Array('Photo 32','Picture-016.jpg',533,400),
      new Array('Photo 33','Picture-017.jpg',533,400),
      new Array('Photo 34','Picture-018.jpg',533,400),
      new Array('Photo 35','Picture-019.jpg',533,400),
      new Array('Photo 36','Picture-020.jpg',533,400),
      new Array('Photo 37','Picture-022.jpg',533,400),
      new Array('Photo 38','Picture-023.jpg',533,400),
      new Array('Photo 39','Picture-024.jpg',533,400),
      new Array('Photo 40','Picture-025.jpg',533,400),
      new Array('Photo 41','Picture-026.jpg',533,400),
      new Array('Photo 42','Picture-027.jpg',533,400),
      new Array('Photo 43','Riverswest-Landscaping-44.jpg',533,400),
      new Array('Photo 44','Riverswest-Landscaping-50.jpg',533,400),
      new Array('Photo 45','Riverswest-Landscaping-72.jpg',600,400)
    ),
	'Brick pavers have been around for hundreds of years.  In the past 10 years we have seen a huge expansion in the use of pavers both in residential and commercial use.  Pavers offer many design options over traditional concrete.  Their strength and beauty will out last concrete and asphalt many times over.  Rivers West has one of the best and most creative paver installation crews in the Midwest and is committed to continual training and certification in all areas of hardscape construction.  We have on staff two employees that are I.C.P.I. “Interlocking Concrete Pavement Institute” certified.  This is an extensive 2-day course in all aspects of paver installation.  You can rest assured your paver project will be installed right the first time.'
  ),

  new Array('Stone','images/portfolio/stone/small/','images/portfolio/stone/medium/','images/portfolio/stone/big/',
    new Array(
      new Array('Photo 1','DSC00009.jpg',533,400),
      new Array('Photo 2','DSC00010.jpg',533,400),
      new Array('Photo 3','DSC00039.jpg',533,400),
      new Array('Photo 4','DSC00040.jpg',533,400),
      new Array('Photo 5','DSC00042.jpg',533,400),
      new Array('Photo 6','DSC00048.jpg',533,400),
      new Array('Photo 7','DSC00083.jpg',533,400),
      new Array('Photo 8','DSC00085.jpg',533,400),
      new Array('Photo 9','DSC00096.jpg',533,400),
      new Array('Photo 10','DSC00116.jpg',533,400),
      new Array('Photo 11','DSC00118.jpg',533,400),
      new Array('Photo 12','DSC00120.jpg',533,400),
      new Array('Photo 13','DSC00121.jpg',533,400),
      new Array('Photo 14','DSC00126.jpg',533,400),
      new Array('Photo 15','Picture-004.jpg',533,400),
      new Array('Photo 16','Rivers-West-3-GOOD.jpg',533,400),
      new Array('Photo 17','Rivers-West-9.jpg',533,400),
      new Array('Photo 18','River-West-BC-steps-3.jpg',533,400)
    ),
	'<b>Explore the Endless Possibilities in Paving Design</b><br><br>Escape the limitations of stained and stamped concrete and experience the design freedom, color brilliance and maintenance-free durability of a PAVERART design.<br><br>Crafted from pigmented, concrete paving stones, our designs are built to withstand the test of time.<br><br>Challenge us with your custom design ideas or select from our expanding catalog of kit options.<br><br><b>Residential Custom</b><br>Distinguish your home from all the rest.  Choose from a wide selection of kits, accent options and custom design services.  Our residential products are sold through a network of exclusive PaverArt distributors.<br><br><b>Commercial Municipal</b><br>Elevate the awareness of your brand or exceed your client’s expectations for innovations, excellence and quality.From concept to creation, PaverArt is your design partner who will help you create a beautiful, permanent attraction that will stimulate your customers or visitors.'
  ),

  new Array('Walls','images/portfolio/walls/small/','images/portfolio/walls/medium/','images/portfolio/walls/big/',
    new Array(
      new Array('Photo 1','DSC00090.jpg',600,400),
      new Array('Photo 2','DSC00152.jpg',600,400)
    ),
	'There are many uses of retaining walls in the landscape.  They are used primarily to retain the earth in a certain area.  Often we will install walls for aesthetic purposes as will.  Retaining walls come in all shapes and sizes.  Natural stone and boulder walls are growing in popularity and give a more natural feel to the landscape.  Modular block walls have come a long way over the years.  Manufactures are offering many new styles including tumbled wall block and multiple sized units available in several colors and blends.  The hardscape crew at Rivers West has years of experience in creating and installing all types of retaining walls'
  ),

  new Array('Waterfalls','images/portfolio/waterfalls/small/','images/portfolio/waterfalls/medium/','images/portfolio/waterfalls/big/',
    new Array(
      new Array('Photo 1','DSC00007.jpg',533,400),
      new Array('Photo 2','DSC00013.jpg',533,400),
      new Array('Photo 3','DSC00014.jpg',533,400),
      new Array('Photo 4','DSC00015.jpg',533,400),
      new Array('Photo 5','DSC00018.jpg',533,400),
      new Array('Photo 6','DSC00027.jpg',533,400),
      new Array('Photo 7','DSC00029.jpg',533,400),
      new Array('Photo 8','DSC00030.jpg',300,400),
      new Array('Photo 9','DSC00031.jpg',533,400),
      new Array('Photo 10','DSC00033.jpg',533,400),
      new Array('Photo 11','DSC00035.jpg',533,400),
      new Array('Photo 12','DSC00037.jpg',533,400),
      new Array('Photo 13','Final-Pfizer-Waterfalls01.jpg',602,400),
      new Array('Photo 14','Final-Pfizer-Waterfalls02.jpg',602,400),
      new Array('Photo 15','Final-Pfizer-Waterfalls04.jpg',602,400),
      new Array('Photo 16','Final-Pfizer-Waterfalls08.jpg',602,400),
      new Array('Photo 17','Flagpole-Construction-02.jpg',602,400),
      new Array('Photo 18','Flagpole-Jpegs-set-one-11.jpg',602,400),
      new Array('Photo 18','Riverswest-Landscaping-69.jpg',600,400),
      new Array('Photo 18','Riverswest-Landscaping-70.jpg',600,400)
    ),
	'Water Gardening has become the hottest trend in landscaping, according to Better Homes and Garden Magazine.  In 2004 Rivers West was ranked 42nd nationally out of 45,000 contractors across the country.  We install water features ranging from $5,000.00 to over $100,000.00.  Our fleet of heavy equipment allows us to incorporate large boulders into our unique designs.'
  )
  
)

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]);
}

