
smallSizes = new Array(77,77);
pageName = 'ideas_before_after.htm';
scriptName = 'ideas_before_after.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('Before After','images/collections/small/','images/collections/medium/','images/collections/big/',
    new Array(
      new Array('','before_after_01.jpg',809,400, 'BEST FACE FORWARD. The secret to getting your home noticed? Curb appeal, curb appeal, and more curb appeal. It’s no exaggeration. Your home’s perceived value starts with first impressions, and nothing captures visitors’ attention like an inviting drive and entryway constructed with durable, attractive Belgard Pavers. With thoughtful design and planning, it’s possible to highlight both your home’s unique personality and the beauty of the surrounding landscape—creating the complete package in truly inviting fashion.'),

      new Array('','before_after_02.jpg',809,400, 'LAND "SHAPE" DESIGN. Effective use of your landscape`s existing terrain will result in a design that brings everything together into a cohesive, attractive outdoor living space. Grassy, hard-to-mow hills and slopes can be transformed into eye-catching garden terraces and stepped walkways. "Avenues" leading to a main focal point, such as a patio fire pit or gazebo, create a natural flow and draw guests’ attention to seating areas.'),

      new Array('','before_after_03.jpg',809,400, 'FROM SWIMMING POOL TO BACKYARD OASIS. Never underestimate the "wow" factor when it comes to realizing an existing pool or pond area’s full potential. Replacing drab or deterioration-prone surfaces with an attractive hardscape featuring eye-catching shapes and textures brings sparkle and pizzazz to deck areas. Seamlessly blend adjoining patio spaces into the mix to create the total package for outdoor entertaining. Play off unique pool shapes with surrounding garden borders and sitting areas to create even more visual interest.'),

      new Array('','BHAM_MegaArbel_CountryManor_001.jpg',809,400, ' Birmingham Mega Arbel & Country Manor'),
      new Array('','BHAM_MegaArbel_CountryManor_002.jpg',809,400, ' Birmingham Mega Arbel & Country Manor'),
      new Array('','BHAM_MegaArbel_CountryManor_003.jpg',809,400, ' Birmingham Mega Arbel & Country Manor'),
      new Array('','Carolina-Cambridge.jpg',809,400, ' Carolina Cambridge'),
      new Array('','Carolina-Dublin-Celtik.jpg',809,400, ' Carolina Dublin & Celtik'),
      new Array('','Jackson-Hole-Mega-Arbel-001.jpg',809,400, ' Jackson Hole Mega Arbel'),
      new Array('','Jackson-Hole-Mega-Arbel-002.jpg',809,400, ' Jackson Hole Mega Arbel'),
      new Array('','Jackson-Hole-Mega-Arbel-003.jpg',809,400, ' Jackson Hole Mega Arbel'),
      new Array('','Macon-Mega-Arbel-Celtik-001.jpg',809,400, ' Macon Mega Arbel and Celtik'),
      new Array('','Macon-Mega-Arbel-Celtik-002.jpg',809,400, ' Macon Mega Arbel and Celtik'),
      new Array('','Minnesota-Harmony-001.jpg',809,400, ' Minnesota Harmony'),
      new Array('','Minnesota-Harmony-002.jpg',809,400, ' Minnesota Harmony'),
      new Array('','Minnesota-Mega-Lafitt-001.jpg',809,400, ' Minnesota Mega Lafitt'),
      new Array('','Minnesota-Mega-Lafitt-002.jpg',809,400, ' Minnesota Mega Lafitt'),
      new Array('','Minnesota-Mega-Lafitt-003.jpg',809,400, ' Minnesota Mega Lafitt'),
      new Array('','Minnesota-Mega-Lafitt-004.jpg',809,400, ' Minnesota Mega Lafitt'),
      new Array('','New-Mexico-Anchor-Diamond-001.jpg',809,400, ' New Mexico Anchor Diamond'),
      new Array('','New-Mexico-Anchor-Diamond-002.jpg',809,400, ' New Mexico Anchor Diamond'),
      new Array('','New-Mexico-Celtik.jpg',809,400, ' New Mexico Celtik'),
      new Array('','New-Mexico-Urbana.jpg',809,400, ' New Mexico Urbana'),
      new Array('','St-Louis-Mega-Lafitt-001.jpg',809,400, ' St Louis Mega Lafitt'),
      new Array('','St-Louis-Mega-Lafitt-002.jpg',809,400, ' St Louis Mega Lafitt'),
      new Array('','Wisconsin-Urbana-Weston.jpg',809,400, ' Wisconsin Urbana and Weston'),

      new Array('','Bandur-Residence-WI.jpg',809,400, ' Bandur Residence WI'),
      new Array('','Bandur-Residence-WI1.jpg',809,400, ' Bandur Residence WI'),
      new Array('','Bandur-Residence-WI2.jpg',809,400, ' Bandur Residence WI'),
      new Array('','Klein-Residence-MN.jpg',809,400, ' Klein Residence MN'),
      new Array('','Klein-Residence-MN1.jpg',809,400, ' Klein Residence MN'),
      new Array('','Klein-Residence-MN2.jpg',809,400, ' Klein Residence MN'),
      new Array('','Mertz-Residence-KS.jpg',809,400, ' Mertz Residence KS'),
      new Array('','Mertz-Residence-KS1.jpg',809,400, ' Mertz Residence KS'),
      new Array('','Mertz-Residence-KS2.jpg',809,400, ' Mertz Residence KS'),
      new Array('','Mertz-Residence-KS3.jpg',809,400, ' Mertz Residence KS'),
      new Array('','Nanne-Residence-MN.jpg',809,400, ' Nanne Residence MN'),
      new Array('','Nanne-Residence-MN1.jpg',809,400, ' Nanne Residence MN'),
      new Array('','Nanne-Residence-MN2.jpg',809,400, ' Nanne Residence MN'),
      new Array('','Nanne-Residence-MN3.jpg',809,400, ' Nanne Residence MN'),
      new Array('','Overstream-DeMont.jpg',809,400, ' Overstream DeMont'),
      new Array('','Overstream-DeMont1.jpg',809,400, ' Overstream DeMont'),
      new Array('','Overstream-DeMont2.jpg',809,400, ' Overstream DeMont'),
      new Array('','Peregrine-Residence-WI.jpg',809,400, ' Peregrine Residence WI'),
      new Array('','Zar-Residence-CA.jpg',809,400, ' Zar Residence CA'),
      new Array('','Zar-Residence-CA1.jpg',809,400, ' Zar Residence CA'),
      new Array('','Zar-Residence-CA2.jpg',809,400, ' Zar Residence CA'),
      new Array('','Zar-Residence-CA3.jpg',809,400, ' Zar Residence CA'),
      new Array('','Zar-Residence-CA4.jpg',809,400, ' Zar Residence CA'),
      new Array('','Zar-Residence-CA5.jpg',809,400, ' Zar Residence CA'),
      new Array('','Zar-Residence-CA6.jpg',809,400, ' Zar Residence CA')

    ), 'images/collections/before_after.jpg', '#764A33'
  )
  
)

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]);
  showMessage('text',arImages[section][4][number][4]);
}

