
var pageName = 'colors.htm';
var scriptName = 'colors.js';
var countX = 4;
var countY = 2;

var arImages = new Array(
  new Array('Old World','images/shapes/',
    new Array(
      new Array('Gascony Tan','old-world6.jpg'),
      new Array('Cotswold Mist','old-world7.jpg')
    )
  ),
  
  new Array('Mega-Arbel','images/shapes/',
    new Array(
      new Array('Ashbury Haze','mega-arbel5.jpg'),
      new Array('Cotswold Mist','mega-arbel6.jpg'),
      new Array('Gascony Tan','mega-arbel7.jpg'),
      new Array('Brookstone Slate','mega-arbel8.jpg'),
      new Array('Bristol Beige','mega-arbel9.jpg')
    )
  ),

  new Array('Arbel','images/shapes/',
    new Array(
      new Array('Ashbury Haze','arbel7.jpg'),
      new Array('Cotswold Mist','arbel8.jpg'),
      new Array('Gascony Tan','arbel9.jpg'),
      new Array('Brookstone Slate','arbel10.jpg'),
      new Array('Bristol Beige','arbel11.jpg')
    )
  ),

  new Array('Urbana','images/shapes/',
    new Array(
      new Array('Ashbury Haze','urbana8.jpg'),
      new Array('Gascony Tan','urbana9.jpg'),
      new Array('Cotswold Mist','urbana10.jpg'),
      new Array('Brookstone Slate','urbana11.jpg'),
      new Array('Bristol Beige','urbana12.jpg'),
      new Array('Bannockburn Red','urbana13.jpg')
    )
  ),

  new Array('Mega-Bergerac','images/shapes/',
    new Array(
      new Array('Ashbury Haze','mega-bergerac9.jpg'),
      new Array('Bluestone','mega-bergerac10.jpg'),
      new Array('Brittany Beige','mega-bergerac11.jpg'),
      new Array('Brownstone Red','mega-bergerac12.jpg'),
      new Array('Lannon','mega-bergerac13.jpg'),
      new Array('Ardennes Grey','mega-bergerac14.jpg'),
      new Array('Tuscan Amber','mega-bergerac7.jpg')
    )
  ),

  new Array('Bergerac','images/shapes/',
    new Array(
      new Array('Ashbury Haze','bergerac9.jpg'),
      new Array('Ardennes Grey','bergerac10.jpg'),
      new Array('Bluestone','bergerac11.jpg'),
      new Array('Brittany Beige','bergerac12.jpg'),
      new Array('Brownstone Red','bergerac13.jpg'),
      new Array('Lannon','bergerac14.jpg'),
      new Array('Sedona Brown','bergerac15.jpg'),
      new Array('Tuscan Amber','bergerac16.jpg')
    )
  ),

  new Array('Dublin Cobble','images/shapes/',
    new Array(
      new Array('Ashbury Haze','dublin-cobble11.jpg'),
      new Array('Ardennes Grey','dublin-cobble12.jpg'),
      new Array('Bluestone','dublin-cobble13.jpg'),
      new Array('Brittany Beige','dublin-cobble14.jpg"'),
      new Array('Brownstone Red','dublin-cobble15.jpg'),
      new Array('Lannon','dublin-cobble16.jpg'),
      new Array('Sedona Brown','dublin-cobble17.jpg'),
      new Array('Tuscan Amber','dublin-cobble18.jpg')
    )
  ),

  new Array('Cambridge','images/shapes/',
    new Array(
      new Array('Autumn Blend','cambridge11.jpg'),
      new Array('CC Red','cambridge12.jpg'),
      new Array('Charcoal','cambridge13.jpg'),
      new Array('Lakeshore','cambridge14.jpg'),
      new Array('Pewter','cambridge15.jpg'),
      new Array('Sedona Brown','cambridge16.jpg')
    )
  ),

  new Array('Holland Stone','images/shapes/',
    new Array(
      new Array('Autumn Blend','holland-stone7.jpg'),
      new Array('CC Red','holland-stone8.jpg'),
      new Array('CC Brown','holland-stone9.jpg'),
      new Array('Charcoal','holland-stone10.jpg'),
      new Array('Lakeshore','holland-stone11.jpg'),
      new Array('Pewter','holland-stone12.jpg'),
      new Array('Tan','holland-stone13.jpg')
    )
  ),

  new Array('Subterra Stone','images/shapes/',
    new Array(
      new Array('Ashbury Haze','subterra5.jpg'),
      new Array('Cotswold Mist','subterra6.jpg'),
      new Array('Gascony Tan','subterra7.jpg'),
      new Array('Bristol Beige','subterra8.jpg'),
      new Array('Bannockburn Red','subterra9.jpg')
    )
  ),

  new Array('Weston Stone','images/shapes/',
    new Array(
      new Array('Gascony Tan','weston-stone9.jpg'),
      new Array('Bannockburn Red','weston-stone10.jpg'),
      new Array('Bristol Beige','weston-stone11.jpg'),
      new Array('Brookstone Slate','weston-stone12.jpg'),
      new Array('Cotswold Mist','weston-stone13.jpg'),
      new Array('Ashbury Haze','weston-stone14.jpg')
    )
  ),

  new Array('Celtik Wall & Curb','images/shapes/',
    new Array(
      new Array('Oxford','celtik11.jpg'),
      new Array('Sheffield','celtik12.jpg'),
      new Array('Monroe','celtik13.jpg')
    )
  ),

  new Array('Anchor&trade; Highland Stone&reg;','images/shapes/',
    new Array(
      new Array('Sandstone','anchor-highland-stone13.jpg'),
      new Array('Ironstone','anchor-highland-stone14.jpg'),
      new Array('Granite','anchor-highland-stone15.jpg'),
      new Array('Prairie Blend','anchor-highland-stone16.jpg')
    )
  ),

  new Array('Anchor&trade; Highland Stone&reg; Freestanding','images/shapes/',
    new Array(
      new Array('Sandstone','anchor-highland-stone20.jpg'),
      new Array('Ironstone','anchor-highland-stone21.jpg'),
      new Array('Granite','anchor-highland-stone22.jpg'),
      new Array('Prairie Blend','anchor-highland-stone23.jpg')
    )
  ),

  new Array('Anchor&trade; Diamond Pro Stone Cut&trade;','images/shapes/',
    new Array(
      new Array('Sandstone','anchor-diamond-stone11.jpg'),
      new Array('Ironstone','anchor-diamond-stone12.jpg'),
      new Array('Granite','anchor-diamond-stone13.jpg')
    )
  ),

  new Array('Anchor&trade; Diamond&reg;','images/shapes/',
    new Array(
      new Array('Beveled Face Chestnut','anchor-diamond8.jpg'),
      new Array('Beveled Face Red Black','anchor-diamond9.jpg'),
      new Array('Beveled Face Grey','anchor-diamond10.jpg'),
      new Array('Beveled Face Tan','anchor-diamond11.jpg'),

      new Array('Straight Face Chestnut','anchor-diamond12.jpg'),
      new Array('Straight Face Red Black','anchor-diamond13.jpg'),
      new Array('Straight Face Grey','anchor-diamond14.jpg'),
      new Array('Straight Face Tan','anchor-diamond15.jpg')
    )
  ),

  new Array('Anchor Aspen Stone&reg;','images/shapes/',
    new Array(
      new Array('Greystone','anchor-aspen-stone3.jpg'),
      new Array('Black & Tan','anchor-aspen-stone4.jpg'),
      new Array('Prairie','anchor-aspen-stone7.jpg'),
      new Array('Red/Black','anchor-aspen-stone8.jpg')
    )
  ),

  new Array('Anchor&trade; Windsor Stone&reg;','images/shapes/',
    new Array(
      new Array('Cottage','anchor-windsor-stone4.jpg'),
      new Array('Grey','anchor-windsor-stone6.jpg'),
      new Array('Honey','anchor-windsor-stone8.jpg'),
      new Array('Quarry Grey','anchor-windsor-stone5.jpg'),
      new Array('Red','anchor-windsor-stone7.jpg'),
      new Array('Red/Black','anchor-windsor-stone9.jpg'),
      new Array('Tan','anchor-windsor-stone10.jpg')
    )
  ),

  new Array('Versa-Lok&trade; Standard','images/shapes/',
    new Array(
      new Array('Autumn Blend','versalok-standart10.jpg'),
      new Array('Cedar Creek Brown','versalok-standart12.jpg'),
      new Array('Chestnut','versalok-standart14.jpg'),
      new Array('Pewter','versalok-standart16.jpg'),
      new Array('Buff','versalok-standart11.jpg'),
      new Array('Cedar Creek Red','versalok-standart13.jpg'),
      new Array('Lakeshore','versalok-standart15.jpg'),
      new Array('Silver','versalok-standart17.jpg')
    )
  ),

  new Array('Versa-Lok&trade; Standard Weathered','images/shapes/',
    new Array(
      new Array('Autumn Blend','versalok-standard-weathered10.jpg'),
      new Array('Cedar Creek Brown','versalok-standard-weathered12.jpg'),
      new Array('Chestnut','versalok-standard-weathered14.jpg'),
      new Array('Pewter','versalok-standard-weathered16.jpg'),
      new Array('Buff','versalok-standard-weathered11.jpg'),
      new Array('Cedar Creek Red','versalok-standard-weathered13.jpg'),
      new Array('Lakeshore','versalok-standard-weathered15.jpg'),
      new Array('Silver','versalok-standard-weathered17.jpg')
    )
  ),

  new Array('Versa-Lok&trade; Mosaic&reg;','images/shapes/',
    new Array(
      new Array('Chestnut','versalok-mosaic12.jpg'),
      new Array('Pewter','versalok-mosaic13.jpg'),
      new Array('Autumn Blend','versalok-mosaic14.jpg')
    )
  ),

  new Array('Versa-Lok&trade; Mosaic&reg; Weathered','images/shapes/',
    new Array(
      new Array('Autumn Blend','versalok-mosaic-weathered12.jpg'),
      new Array('Chestnut','versalok-mosaic-weathered13.jpg'),
      new Array('Pewter','versalok-mosaic-weathered14.jpg')
    )
  ),

  new Array('Versa-Lok&trade; Square Foot','images/shapes/',
    new Array(
      new Array('Buff','versalok-square9.jpg'),
      new Array('Silver','versalok-square10.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; 

