
var pageName = 'paver-colors.htm';
var scriptName = 'paver-colors.js';
var countX = 4;
var countY = 2;

var arImages = new Array(
  new Array('Old World','images/shapes/',
    new Array(
      new Array('Battery Park Blend','old-world8.jpg'),
      new Array('Belgian Stone Blend','old-world7.jpg'),
      new Array('River Street Blend','old-world6.jpg'),
      new Array('Smoky Mountain Blend','old-world9.jpg')
    )
  ),
  
  new Array('Mega-Arbel','images/shapes/',
    new Array(
      new Array('Blue Ridge Cobble','mega-arbel5.jpg'),
      new Array('Limestone Beige','mega-arbel6.jpg')
    )
  ),

  new Array('Arbel','images/shapes/',
    new Array(
      new Array('Blue Ridge Cobble','arbel7.jpg'),
      new Array('Limestone Beige','arbel8.jpg')
    )
  ),

  new Array('Urbana','images/shapes/',
    new Array(
      new Array('Ardennes Grey','urbana8.jpg'),
      new Array('Fossil Beige','urbana9.jpg')
    )
  ),

  new Array('Mega-Bergerac','images/shapes/',
    new Array(
      new Array('Ardennes Grey','mega-bergerac10.jpg'),
      new Array('Fossil Beige','mega-bergerac11.jpg'),
      new Array('Terra Cotta','mega-bergerac12.jpg'),
      new Array('Potomac Blend','mega-bergerac13.jpg')
    )
  ),

  new Array('Bergerac','images/shapes/',
    new Array(
      new Array('Ardennes Grey','bergerac9.jpg'),
      new Array('Fossil Beige','bergerac10.jpg'),
      new Array('Terra Cotta','bergerac11.jpg'),
      new Array('Potomac Blend','bergerac12.jpg')
    )
  ),

  new Array('Dublin Cobble','images/shapes/',
    new Array(
      new Array('Ardennes Grey','dublin-cobble11.jpg'),
      new Array('Fossil Beige','dublin-cobble12.jpg'),
      new Array('Terra Cotta','dublin-cobble13.jpg'),
      new Array('Potomac Blend','dublin-cobble14.jpg')
    )
  ),

  new Array('Cambridge','images/shapes/',
    new Array(
      new Array('Country Blend','cambridge11.jpg'),
      new Array('Georgia Blend','cambridge12.jpg'),
      new Array('Chattahoochee Blend','cambridge13.jpg')
    )
  ),

  new Array('Holland Stone','images/shapes/',
    new Array(
      new Array('Country Blend','holland-stone7.jpg'),
      new Array('Georgia Blend','holland-stone8.jpg'),
      new Array('Chattahoochee Blend','holland-stone9.jpg'),
      new Array('Sandstone Blend','holland-stone10.jpg'),
      new Array('Spice Blend','holland-stone11.jpg')
    )
  ),

  new Array('Celtik Wall','images/shapes/',
    new Array(
      new Array('Edinburgh Red','celtik11.jpg'),
      new Array('Sheffield Beige/Black','celtik12.jpg'),
      new Array('Highland Brown','celtik13.jpg'),
      new Array('Oxford Charcoal','celtik14.jpg')
    )
  ),

  new Array('Century Wall','images/shapes/',
    new Array(
      new Array('Sheffield Beige','century10.jpg'),
      new Array('Highland Brown','century11.jpg'),
      new Array('Oxford Charcoal','century12.jpg')
    )
  ),

  new Array('Country Manor Wall','images/shapes/',
    new Array(
      new Array('Colonial Blend','country-manor8.jpg'),
      new Array('Piedmont Blend','country-manor9.jpg')
    )
  )
)

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; 
