smallSizes = new Array(77,77);
mediumSizes = new Array(200,170);
pageName = 'paver-photos.html';
scriptName = 'paver-photos.js';
countX = 4;
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('Retaining Walls and Pavers','retaining_walls_and_pavers','images/photos/small/','images/photos/medium/','images/photos/big/',
    new Array(
new Array('Photo 1','0.jpg',402,400),
new Array('Photo 2','1.jpg',400,400),
new Array('Photo 3','10.jpg',510,400),
new Array('Photo 4','11.jpg',509,400),
new Array('Photo 5','12.jpg',390,400),
new Array('Photo 6','13.jpg',400,400),
new Array('Photo 7','14.jpg',405,400),
new Array('Photo 8','15.jpg',398,400),
new Array('Photo 9','16.jpg',418,400),
new Array('Photo 10','17.jpg',399,400),
new Array('Photo 11','18.jpg',400,400),
new Array('Photo 12','2.jpg',400,400),
new Array('Photo 13','20.jpg',511,400),
new Array('Photo 14','21.jpg',393,400),
new Array('Photo 15','22.jpg',397,400),
new Array('Photo 16','23.jpg',512,400),
new Array('Photo 17','24.jpg',398,400),
new Array('Photo 18','25.jpg',343,433),
new Array('Photo 19','26.jpg',502,400),
new Array('Photo 20','27.jpg',444,354),
new Array('Photo 21','28.jpg',323,400),
new Array('Photo 22','29.jpg',305,400),
new Array('Photo 23','3.jpg',400,400),
new Array('Photo 24','30.jpg',398,400),
new Array('Photo 25','31.jpg',515,400),
new Array('Photo 26','32.jpg',400,400),
new Array('Photo 27','33.jpg',393,400),
new Array('Photo 28','34.jpg',398,400),
new Array('Photo 29','35.jpg',313,400),
new Array('Photo 30','36.jpg',400,400),
new Array('Photo 31','37.jpg',319,400),
new Array('Photo 32','38.jpg',507,400),
new Array('Photo 33','39.jpg',398,400),
new Array('Photo 34','4.jpg',520,400),
new Array('Photo 35','40.jpg',515,401),
new Array('Photo 36','41.jpg',313,400),
new Array('Photo 37','42.jpg',396,400),
new Array('Photo 38','43.jpg',520,400),
new Array('Photo 39','44.jpg',313,400),
new Array('Photo 40','45.jpg',515,400),
new Array('Photo 41','46.jpg',424,426),
new Array('Photo 42','47.jpg',326,420),
new Array('Photo 43','48.jpg',318,400),
new Array('Photo 44','49.jpg',501,401),
new Array('Photo 45','5.jpg',398,400),
new Array('Photo 46','50.jpg',404,400),
new Array('Photo 47','51.jpg',318,400),
new Array('Photo 48','52.jpg',400,400),
new Array('Photo 49','53.jpg',400,400),
new Array('Photo 50','54.jpg',325,400),
new Array('Photo 51','55.jpg',504,400),
new Array('Photo 52','6.jpg',398,400),
new Array('Photo 53','7.jpg',318,400),
new Array('Photo 54','8.jpg',321,400),
new Array('Photo 55','9.jpg',541,436)
	)
  ),
  
  new Array('Outdoor Rooms','outdoor_rooms','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Photo 1','Outdoor  1 (1).jpg',499,400),
      new Array('Photo 2','Outdoor  1 (10).jpg',600,400),
      new Array('Photo 3','Outdoor  1 (11).jpg',600,400),
      new Array('Photo 4','Outdoor  1 (2).jpg',550,291),
      new Array('Photo 5','Outdoor  1 (3).jpg',400,400),
      new Array('Photo 6','Outdoor  1 (4).jpg',541,400),
      new Array('Photo 7','Outdoor  1 (5).jpg',592,400),
      new Array('Photo 8','Outdoor  1 (6).jpg',224,261),
      new Array('Photo 9','Outdoor  1 (7).jpg',600,400),
      new Array('Photo 10','Outdoor  1 (8).jpg',600,400),
      new Array('Photo 11','Outdoor  1 (9).jpg',400,400),
      new Array('Photo 12','Outdoor  1.jpg',380,400),
      new Array('Athens Fireplace','Athens Fireplace.jpg',400,400),
      new Array('Bar Island','Bar Island.jpg',400,400),
      new Array('Bordeaux Fireplace','Bordeaux Fireplace.jpg',400,400),
      new Array('Fire Table','Fire Table.jpg',400,400),
      new Array('FirePit','FirePit.jpg',400,400),
      new Array('FirePlace','FirePlace.jpg',400,400),
      new Array('Geneva Fireplace','Geneva Fireplace.jpg',400,400),
      new Array('Tuscany Brick Oven','Tuscany Brick Oven.jpg',400,400),
      new Array('Tuscany Fireplace','Tuscany Fireplace.jpg',400,400),
      new Array('Tuscany Fireplace2','Tuscany Fireplace2.jpg',400,400),
      new Array('Tuscany Grill Island','Tuscany Grill Island.jpg',400,400),
      new Array('Zurich Fireplace','Zurich Fireplace.jpg',400,400)
	  
	)
  ),
  
  new Array('Misc','misc','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
	  
	)
  ),
  
  new Array('Antiqued Collections','antiqued_collections','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Bergerac 1','4DBergerac003.jpg',700,347),
      new Array('Bergerac 2','AKSBergerac006.jpg',700,347),
      new Array('Bergerac 3','ANCBergeracCeltic001_1.jpg',700,347),
      new Array('Bergerac 4','BERG_03.jpg',700,347),
      new Array('Bergerac 5','collections_07.jpg',700,347),
      new Array('Bergerac 6','FOS2005BergeracCeltic004.jpg',700,347),
      new Array('Bergerac 7','FOS2008Bergerac003.jpg',700,347),
      new Array('Bergerac 8','GORBergerac002.jpg',700,347),
      new Array('Bergerac 9','GORBergerac005.jpg',700,347),
      new Array('Bergerac 10','Goria2008Bergerac002.jpg',700,347),
      new Array('Bergerac 11','SCH2008BergeracDublinWeston001.jpg',700,347),
      new Array('Bergerac 12','SCH2009Bergerac001.jpg',700,347),
      new Array('Bergerac 13','SCH2009Bergerac002.jpg',700,347),
      new Array('Bergerac 14','SCH2009BergeracWestonWall001.jpg',700,347),
	  
      new Array('Dublin Cobble 1','4DDublin003.jpg',700,347),
      new Array('Dublin Cobble 2','4DDublin0051.jpg',700,347),
      new Array('Dublin Cobble 3','ADMSDublin001.jpg',700,347),
      new Array('Dublin Cobble 4','ADMSDublin002.jpg',700,347),
      new Array('Dublin Cobble 5','ADMSDublin003.jpg',700,347),
      new Array('Dublin Cobble 6','ADMSDublin004.jpg',700,347),
      new Array('Dublin Cobble 7','ADMSDublin005.jpg',700,347),
      new Array('Dublin Cobble 8','ADMSDublinCeltik001.jpg',700,347),
      new Array('Dublin Cobble 9','ADMSDublinCeltik002.jpg',700,347),
      new Array('Dublin Cobble 10','AMCDublin006.jpg',700,347),
      new Array('Dublin Cobble 11','AMCDublin007.jpg',700,347),
      new Array('Dublin Cobble 12','BENDDublin001.jpg',700,347),
      new Array('Dublin Cobble 13','BENDDublin002.jpg',700,347),
      new Array('Dublin Cobble 14','BENDDublin013.jpg',700,347),
      new Array('Dublin Cobble 15','BENDDublinBergerac001.jpg',700,347),
      new Array('Dublin Cobble 16','BENDDublinBergeracVersaLok001.jpg',700,347),
      new Array('Dublin Cobble 17','BENDDublinBergeracVersaLok002.jpg',700,347),
      new Array('Dublin Cobble 18','BENDDublinBergeracVersaLok003.jpg',700,347),
      new Array('Dublin Cobble 19','GORdub_003.jpg',700,347),
      new Array('Dublin Cobble 20','HCSRA2008Dublin002.jpg',700,347),
      new Array('Dublin Cobble 21','HCSRA2008Dublin004.jpg',700,347),
      new Array('Dublin Cobble 22','JWLDublin002.jpg',700,347),
      new Array('Dublin Cobble 23','JWLDublin004.jpg',700,347),
      new Array('Dublin Cobble 24','JWLdublincob016.jpg',700,347),
      new Array('Dublin Cobble 25','MLR2009Dublin001.jpg',700,347),
      new Array('Dublin Cobble 26','MLR2009Dublin002.jpg',700,347),
      new Array('Dublin Cobble 27','MLR2009DublinAnchorDiamondProStoneCut001.jpg',700,347),
      new Array('Dublin Cobble 28','MLR2009DublinBergeracAnchorHolland001.jpg',700,347),
      new Array('Dublin Cobble 29','MLR2009DublinCeltik001.jpg',700,347),
      new Array('Dublin Cobble 30','MLR2009DublinCeltikWestonWall001.jpg',700,347),
      new Array('Dublin Cobble 31','MLR2009DublinCountryManor001.jpg',700,347),
      new Array('Dublin Cobble 32','MLR2009DublinMegaArbelAnchorHighland001.jpg',700,347),
      new Array('Dublin Cobble 33','MLR2009DublinMegaArbelAnchorHighland002.jpg',700,347),
      new Array('Dublin Cobble 34','NFDDublinWeston006_RETOUCH.jpg',700,347),
      new Array('Dublin Cobble 35','SCH2008Dublin002.jpg',700,347),
      new Array('Dublin Cobble 36','SCH2008DublinWeston003.jpg',700,347),
      new Array('Dublin Cobble 37','SCH2009DublinDufferin001.jpg',700,347),
      new Array('Dublin Cobble 38','SCHDublin001.jpg',700,347),
      new Array('Dublin Cobble 39','SCHDublinCeltic010_1.jpg',700,347),
      new Array('Dublin Cobble 40','SPL2008Dublin001.jpg',700,347),
      new Array('Dublin Cobble 41','SPL2008Dublin003.jpg',700,347),
      new Array('Dublin Cobble 42','SPL2008DublinMegaBergCeltic003.jpg',700,347),
      new Array('Dublin Cobble 43','SPLDublin007.jpg',700,347),
      new Array('Dublin Cobble 44','SPLDublin008.jpg',700,347),
      new Array('Dublin Cobble 45','SPLDublin013.jpg',700,347),
      new Array('Dublin Cobble 46','SPLDublinCeltic002.jpg',700,347),
      new Array('Dublin Cobble 47','SRABergDublin002.jpg',700,347),
      new Array('Dublin Cobble 48','SRADublin016.jpg',700,347),
      new Array('Dublin Cobble 49','SRADublin018.jpg',700,347),
	  
      new Array('Mega-Bergerac 1','4DBergeracMegaBergCeltic001.jpg',700,347),
      new Array('Mega-Bergerac 2','4DMegaBerg004.jpg',700,347),
      new Array('Mega-Bergerac 3','4DMegaBerg005.jpg',700,347),
      new Array('Mega-Bergerac 4','4DMegaBerg006.jpg',700,347),
      new Array('Mega-Bergerac 5','4DMegaBerg009.jpg',700,347),
      new Array('Mega-Bergerac 6','ADMSMegaBergerac001.jpg',700,347),
      new Array('Mega-Bergerac 7','ADMSMegaBergerac002.jpg',700,347),
      new Array('Mega-Bergerac 8','ADMSMegaBergerac003.jpg',700,347),
      new Array('Mega-Bergerac 9','ADMSMegaBergerac004.jpg',700,347),
      new Array('Mega-Bergerac 10','ADMSOldWorldMegaBergerac001.jpg',700,347),
      new Array('Mega-Bergerac 11','AKS2008MegaBergArbelDufferin002.jpg',700,347),
      new Array('Mega-Bergerac 12','AKSMegaBerg002.jpg',700,347),
      new Array('Mega-Bergerac 13','AKSMegaBerg007.jpg',700,347),
      new Array('Mega-Bergerac 14','AMCMegaBerg006.jpg',700,347),
      new Array('Mega-Bergerac 15','ANC2005MegaBerg013.jpg',700,347),
      new Array('Mega-Bergerac 16','ANCMegaBerg001.jpg',700,347),
      new Array('Mega-Bergerac 17','BENDMegaBerg002.jpg',700,347),
      new Array('Mega-Bergerac 18','BOS2005megaberg004.jpg',700,347),
      new Array('Mega-Bergerac 19','collections_08.jpg',700,347),
      new Array('Mega-Bergerac 20','createGORMegaBerg007.jpg',700,347),
      new Array('Mega-Bergerac 21','EGLMegaBerg006.jpg',700,347),
      new Array('Mega-Bergerac 22','EGLMegaBerg007.jpg',700,347),
      new Array('Mega-Bergerac 23','EGLMegaBerg010.jpg',700,347),
      new Array('Mega-Bergerac 24','GMSHollandMegaBergerac002.jpg',700,347),
      new Array('Mega-Bergerac 25','GMSMegaBergerac001.jpg',700,347)
	  
	)
  ),
  
  new Array('Classic Collections','classic_collections','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Cambridge 1','AMCCambridge001.jpg',700,347),
      new Array('Cambridge 2','BRCambridge013.jpg',700,347),
      new Array('Cambridge 3','collections_10.jpg',700,347),
      new Array('Cambridge 4','EGLCambridge001.jpg',700,347),
      new Array('Cambridge 5','GORCambridge001.jpg',700,347),
      new Array('Cambridge 6','GORCambridge006.jpg',700,347),
      new Array('Cambridge 7','GORcambridge07001.jpg',700,347),
      new Array('Cambridge 8','JWL2008Cambridge010.jpg',700,347),
      new Array('Cambridge 9','NFD2009Cambridge001.jpg',700,347),
      new Array('Cambridge 10','NFD2009Cambridge002.jpg',700,347),
      new Array('Cambridge 11','NFD2009Cambridge003.jpg',700,347),
      new Array('Cambridge 12','NFD2009Cambridge004.jpg',700,347),
      new Array('Cambridge 13','SCH2008Cambridge001.jpg',700,347),
      new Array('Cambridge 14','SCH2008CambridgeWeston001.jpg',700,347),
      new Array('Cambridge 15','SPL2008CambridgeMegaBerg001.jpg',700,347),
      new Array('Cambridge 16','SPLCambridge007.jpg',700,347),
      new Array('Cambridge 17','SPLCambridge008.jpg',700,347),
      new Array('Cambridge 18','SPLCambridgeCeltic001_1.jpg',700,347),
	  
      new Array('Holland Stone 1','ANCHollandCountryManor002.jpg',700,347),
      new Array('Holland Stone 2','BOSHolland001.jpg',700,347),
      new Array('Holland Stone 3','BOSHolland003.jpg',700,347),
      new Array('Holland Stone 4','collections_09.jpg',700,347),
      new Array('Holland Stone 5','GMSHollandADA001.jpg',700,347),
      new Array('Holland Stone 6','GMSHollandADA002.jpg',700,347),
      new Array('Holland Stone 7','GMSHollandMegaBergerac001.jpg',700,347),
      new Array('Holland Stone 8','GORholGB+SG001.jpg',700,347),
      new Array('Holland Stone 9','HollandStone.jpg',700,347),
      new Array('Holland Stone 10','NFD2008HollandWeston001.jpg',700,347),
      new Array('Holland Stone 11','NFDHollandHighland.jpg',700,347),
      new Array('Holland Stone 12','SCHHollandCeltic002.jpg',700,347),
      new Array('Holland Stone 13','SPLHolland001.jpg',700,347),
      new Array('Holland Stone 14','SPLHolland002.jpg',700,347),
      new Array('Holland Stone 15','SPLHolland003.jpg',700,347)
	  
	)
  ),
  
  new Array('Natural Collections','natural_collections','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Arbel 1','ADMSArbel001.jpg',700,347),
      new Array('Arbel 2','ADMSArbel002.jpg',700,347),
      new Array('Arbel 3','ADMSArbelCeltik001.jpg',700,347),
      new Array('Arbel 4','ADMSArbelUrbana001.jpg',700,347),
      new Array('Arbel 5','AKSArbel003.jpg',700,347),
      new Array('Arbel 6','AKSArbel006.jpg',700,347),
      new Array('Arbel 7','BEND2008ArbelUrbana002.jpg',700,347),
      new Array('Arbel 8','BENDArbel002.jpg',700,347),
      new Array('Arbel 9','BENDArbelUrbana001.jpg',700,347),
      new Array('Arbel 10','collections_01.jpg',700,347),
      new Array('Arbel 11','MLR2008ArbelUrbana002.jpg',700,347),
      new Array('Arbel 12','NFD2009Arbel001.jpg',700,347),
      new Array('Arbel 13','NFDArbel001.jpg',700,347),
      new Array('Arbel 14','NFDArbel001_walkway.jpg',700,347),
      new Array('Arbel 15','NFDArbel002.jpg',700,347),
      new Array('Arbel 16','SRAArbel001.jpg',700,347),
      new Array('Arbel 17','SRAArbel004.jpg',700,347),
	  
      new Array('Lafitt Patio Slab 1','GMSBelairWall001_1.jpg',700,347),
      new Array('Lafitt Patio Slab 2','GMSDeepSlateSlab001.jpg',700,347),
      new Array('Lafitt Patio Slab 3','GMSDeepSlateSlab002.jpg',700,347),
      new Array('Lafitt Patio Slab 4','NFD2009DeepSlateSlab001.jpg',700,347),
	  
      new Array('Mega Lafitt 1','collections_04.jpg',700,347),
      new Array('Mega Lafitt 2','Mega_Lafitt_New_Final_1.jpg',700,347),
      new Array('Mega Lafitt 3','NFD2009MegaLaffitBelairWall001.jpg',700,347),
      new Array('Mega Lafitt 4','NFD2009MegaLaffitBelairWall002.jpg',700,347),
	  
      new Array('Mega-Arbel 1','ADMSMegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 2','ADMSMegaArbel002.jpg',700,347),
      new Array('Mega-Arbel 3','AKS2008MegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 4','AKS2008MegaBergArbelDufferin003.jpg',700,347),
      new Array('Mega-Arbel 5','BEND2008MegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 6','BEND2008MegaArbelAnchorUrbanaDublin001.jpg',700,347),
      new Array('Mega-Arbel 7','BEND2008MegaArbelUrbana001.jpg',700,347),
      new Array('Mega-Arbel 8','BEND2008MegaArbelWestonStone002.jpg',700,347),
      new Array('Mega-Arbel 9','collections_02.jpg',700,347),
      new Array('Mega-Arbel 10','MLR2009MegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 11','MLR2009MegaArbelUrbana001.jpg',700,347),
      new Array('Mega-Arbel 12','MLR2009MegaArbelUrbanaAnchorHighland001.jpg',700,347),
      new Array('Mega-Arbel 13','MLR2009MegaArbelUrbanaWestonWallCountryManor001.jpg',700,347),
      new Array('Mega-Arbel 14','NFD2008MegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 15','NFD2008MegaArbelWeston006.jpg',700,347),
      new Array('Mega-Arbel 16','NFD2009MegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 17','NFD2009MegaArbel002.jpg',700,347),
      new Array('Mega-Arbel 18','NFD2009MegaArbel003.jpg',700,347),
      new Array('Mega-Arbel 19','NFD2009MegaArbel004.jpg',700,347),
      new Array('Mega-Arbel 20','NFD2009MegaArbelUrbana001.jpg',700,347),
      new Array('Mega-Arbel 21','SCH2008MegaArbelUrbana001.jpg',700,347),
      new Array('Mega-Arbel 22','SCH2009MegaArbelMegaBergerac001.jpg',700,347),
      new Array('Mega-Arbel 23','SRAMegaArbel001.jpg',700,347),
      new Array('Mega-Arbel 24','SRAMegaArbel002.jpg',700,347),
      new Array('Mega-Arbel 25','SRAMegaArbel003.jpg',700,347),
	  
      new Array('Old World 1','collections_05.jpg',700,347),
      new Array('Old World 2','FOS2008OldWorld001.jpg',700,347),
      new Array('Old World 3','FOS2008OldWorld002.jpg',700,347),
      new Array('Old World 4','FOS2008OldWorld003.jpg',700,347),
      new Array('Old World 5','FOS2008OldWorld004.jpg',700,347),
      new Array('Old World 6','FOS2008OldWorld006.jpg',700,347),
      new Array('Old World 7','FOS2008OldWorld007.jpg',700,347),
      new Array('Old World 8','Goria2008OldWorld003.jpg',700,347),
      new Array('Old World 9','NFD2009OldWorldAnchorHighlandWall001.jpg',700,347),
      new Array('Old World 10','NFD2009OldWorldAnchorHighlandWallWaterfordStone001.jpg',700,347),
      new Array('Old World 11','OldWorld001.jpg',700,347),
	  
      new Array('Subterra Stone 1','ADMSSubterra001.jpg',700,347),
      new Array('Subterra Stone 2','ADMSSubterra002.jpg',700,347),
      new Array('Subterra Stone 3','ADMSSubterra003.jpg',700,347),
      new Array('Subterra Stone 4','ADMSSubterra004.jpg',700,347),
      new Array('Subterra Stone 5','ADMSSubterra005.jpg',700,347),
      new Array('Subterra Stone 6','ADMSSubterra006.jpg',700,347),
      new Array('Subterra Stone 7','ADMSSubterra007.jpg',700,347),
      new Array('Subterra Stone 8','GMSSubterra001.jpg',700,347),
      new Array('Subterra Stone 9','GMSSubterra002.jpg',700,347),
      new Array('Subterra Stone 10','GMSSubterra003.jpg',700,347),
	  
      new Array('Urbana 1','ADMSUrbana001.jpg',700,347),
      new Array('Urbana 2','ADMSUrbana002.jpg',700,347),
      new Array('Urbana 3','ADMSUrbana003.jpg',700,347),
      new Array('Urbana 4','ADMSUrbana004.jpg',700,347),
      new Array('Urbana 5','ADMSUrbana005.jpg',700,347),
      new Array('Urbana 6','AKS2008Urbana002.jpg',700,347),
      new Array('Urbana 7','AKS2008UrbanaStonegate001.jpg',700,347),
      new Array('Urbana 8','BEND2008UrbanaAnchorDublin001.jpg',700,347),
      new Array('Urbana 9','BEND2008UrbanaWestonArbel001.jpg',700,347),
      new Array('Urbana 10','BENDUrbana002.jpg',700,347),
      new Array('Urbana 11','BENDUrbana004.jpg',700,347),
      new Array('Urbana 12','BENDUrbana005.jpg',700,347),
      new Array('Urbana 13','collections_03.jpg',700,347),
      new Array('Urbana 14','Goria2008Urbana007.jpg',700,347),
      new Array('Urbana 15','JWL2008Urbana002.jpg',700,347),
      new Array('Urbana 16','MLR2009Urbana001.jpg',700,347),
      new Array('Urbana 17','MLR2009Urbana002.jpg',700,347),
      new Array('Urbana 18','MLR2009UrbanaAnchorHighlandWall001.jpg',700,347),
      new Array('Urbana 19','MLR2009UrbanaAnchorHighlandWall002.jpg',700,347),
      new Array('Urbana 20','MLR2009UrbanaMegaArbel001.jpg',700,347),
      new Array('Urbana 21','NFD2008UrbanaWeston001.jpg',700,347),
      new Array('Urbana 22','NFD2009UrbanaAnchorHighlandWall001.jpg',700,347),
      new Array('Urbana 23','NFD2009UrbanaAnchorHighlandWall002.jpg',700,347),
      new Array('Urbana 24','SCH2008Urbana001.jpg',700,347),
      new Array('Urbana 25','SCH2008Urbana003.jpg',700,347),
      new Array('Urbana 26','SCH2008UrbanaWeston001.jpg',700,347),
      new Array('Urbana 27','SCH2008UrbanaWeston002.jpg',700,347),
      new Array('Urbana 28','SCH2008UrbanaWeston004.jpg',700,347),
      new Array('Urbana 29','SCH2009UrbanaWestonWall001.jpg',700,347),
      new Array('Urbana 30','SCH2009UrbanaWestonWall002.jpg',700,347),
      new Array('Urbana 31','SCH2009UrbanaWestonWall003.jpg',700,347),
      new Array('Urbana 32','SRA2008Urbana001.jpg',700,347)
	  
	)
  ),
  
  new Array('Walls','walls','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('BelAir Wall 1','1019_-001282.jpg',700,347),
      new Array('BelAir Wall 2','AncScWall_FSW_1028_-037673.jpg',700,347),
      new Array('BelAir Wall 3','AncScWall_FSW_crop_1028_-037749.jpg',700,347),
      new Array('BelAir Wall 4','AncScWall_FS_1018_-035823.jpg',700,347),
      new Array('BelAir Wall 5','AncScWall_SRW_1019_-001002.jpg',700,347),
      new Array('BelAir Wall 6','collections_11.jpg',700,347),
      new Array('BelAir Wall 7','GMSBelairWall001.jpg',700,347),
      new Array('BelAir Wall 8','GMSBelairWall002.jpg',700,347),
      new Array('BelAir Wall 9','GMSBelairWall003.jpg',700,347),
      new Array('BelAir Wall 10','GMSBelairWall004.jpg',700,347),
      new Array('BelAir Wall 11','NFD2009BelairWall001.jpg',700,347),
      new Array('BelAir Wall 12','NFD2009BelairWall002.jpg',700,347),
      new Array('BelAir Wall 13','SCH2009BelAirWall001.jpg',700,347),
      new Array('BelAir Wall 14','SCH2009BelAirWall002.jpg',700,347),
      new Array('BelAir Wall 15','SCH2009BelAirWall003.jpg',700,347),
      new Array('BelAir Wall 16','SCH2009BelAirWallDublin001.jpg',700,347),
	  
      new Array('Celtik Wall 1','4DCeltic003.jpg',700,347),
      new Array('Celtik Wall 2','ADMSCeltik001.jpg',700,347),
      new Array('Celtik Wall 3','ADMSCeltik002.jpg',700,347),
      new Array('Celtik Wall 4','ANCBergeracCeltic001.jpg',700,347),
      new Array('Celtik Wall 5','BAL2004Celtic001.jpg',700,347),
      new Array('Celtik Wall 6','BOSCeltic001.jpg',700,347),
      new Array('Celtik Wall 7','collections_12.jpg',700,347),
      new Array('Celtik Wall 8','createSPLCeltic007.jpg',700,347),
      new Array('Celtik Wall 9','GORCeltic007.jpg',700,347),
      new Array('Celtik Wall 10','GORcelticSB002.jpg',700,347),
      new Array('Celtik Wall 11','GORdublinceltic002.jpg',700,347),
      new Array('Celtik Wall 12','GORDublinCeltic005.jpg',700,347),
      new Array('Celtik Wall 13','MLR2009Celtik001.jpg',700,347),
      new Array('Celtik Wall 14','MLR2009Celtik002.jpg',700,347),
      new Array('Celtik Wall 15','MLR2009Celtik003.jpg',700,347),
      new Array('Celtik Wall 16','MLR2009Celtik004.jpg',700,347),
      new Array('Celtik Wall 17','MLR2009CeltikWestonWall001.jpg',700,347),
      new Array('Celtik Wall 18','MLRCeltic003.jpg',700,347),
      new Array('Celtik Wall 19','SCH2008Celtik003.jpg',700,347),
      new Array('Celtik Wall 20','SCH2009Celtik001.jpg',700,347),
      new Array('Celtik Wall 21','SCH2009Celtik002.jpg',700,347),
      new Array('Celtik Wall 22','SCH2009CeltikDublin001.jpg',700,347),
      new Array('Celtik Wall 23','SCHCeltic001.jpg',700,347),
      new Array('Celtik Wall 24','SCHCeltic006.jpg',700,347),
      new Array('Celtik Wall 25','SCHDublinCeltic010.jpg',700,347),
      new Array('Celtik Wall 26','SPLCambridgeCeltic001.jpg',700,347),
      new Array('Celtik Wall 27','SPLCeltic001.jpg',700,347)
    )
  )
)

section = getParameter(self.document.location.href, 'section');
var sectionIndex = 0;

if (section != '') {
  for (var i=0; i<arImages.length; i++) {
    if (arImages[i][1] == section) {
	  sectionIndex = i;
	  break;
	}
  }
}
section = arImages[sectionIndex][1];

ind = getParameter(self.document.location.href, 'ind');
if (isNaN(ind) || (ind=='') || (ind<0) || (ind>arImages[sectionIndex][5].length))
  ind = 0;

var arPreloadImages = new Array();
function preload() {
  if (arImages[sectionIndex][3]!='') {
    for (i=ind;(i<(Number(ind)+Number(countX*countY))) && (i<arImages[sectionIndex][5].length);i++) {
      arPreloadImages[i] = new Image(mediumSizes[0],mediumSizes[1]);
      arPreloadImages[i].src = arImages[sectionIndex][3]+arImages[sectionIndex][5][i][1];
    }
  }
}

function showImageMedium(number) {
  showImage('imagemedium',arImages[sectionIndex][3]+arImages[sectionIndex][5][number][1]);
  showMessage('imagemediumname',arImages[sectionIndex][5][number][0]);
}
