
smallSizes = new Array(77,77);
mediumSizes = new Array(200,170);
pageName = 'portfolio.htm';
scriptName = 'portfolio.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('Maryland Home & Garden Show / Awards','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Maryland Home &amp; Garden show StoneScapes &amp; Design','2110308_-203.jpg',600,400),
      new Array('Photo 2','2110308_-126.jpg',600,400),
      new Array('Photo 3','2110308_-129.jpg',600,400),
      new Array('Photo 4','2110308_-130.jpg',600,400),
      new Array('Photo 5','2110308_-133.jpg',600,400),
      new Array('Photo 6','2110308_-141.jpg',600,400),
      new Array('Photo 7','2110308_-144.jpg',600,400),
      new Array('Photo 8','2110308_-156.jpg',600,400),
      new Array('Photo 9','2110308_-162.jpg',600,400),
      new Array('Photo 10','2110308_-172.jpg',600,400),
      new Array('Photo 11','2110308_-177.jpg',600,400),
      new Array('Photo 12','2110308_-178.jpg',600,400),
      new Array('Photo 13','2110308_-189.jpg',267,400),
      new Array('Photo 14','2110308_-190.jpg',267,400),
      new Array('Photo 15','2110308_-196.jpg',267,400),
      new Array('Photo 16','2110308_-200.jpg',267,400),
      new Array('Photo 17','2110308_-202.jpg',267,400),
      new Array('Photo 18','Blue-ribbon.jpg',188,400),
      new Array('Photo 19','Best-of-show-plaq.jpg',551,400), 
      new Array('Photo 20','home-garden-show1.jpg',614,355),
      new Array('Photo 21','home-garden-show2.jpg',600,400),
      new Array('Photo 22','home-garden-show3.jpg',600,400),	  
      new Array('Photo 23','Fireplace_0170_opt.jpg',266,400),
      new Array('Photo 24','StoneScapes_set_031507a.jpg',602,400),
      new Array('Photo 25','StoneScapes-P2297803.jpg',611,400),
      new Array('Photo 26','StoneScapes-P2297804.jpg',330,401),
      new Array('Photo 27','StoneScapes-P2297805.jpg',534,400),
      new Array('Photo 28','StoneScapes-P2297806.jpg',534,400),
      new Array('Photo 29','StoneScapes-P2297814.jpg',534,401),
      new Array('Photo 30','StoneScapes-P2297816.jpg',431,400),
      new Array('Photo 31','StoneScapes-P2297820.jpg',534,400),
      new Array('Photo 32','StoneScapes-P2297821.jpg',534,400),  
      new Array('Photo 33','StoneScapes-P2297822.jpg',534,400),
      new Array('Photo 34','H-G-Show-2010-6126.jpg',267,400),
      new Array('Photo 35','H-G-Show-2010-6138.jpg',267,400),
      new Array('Photo 36','H-G-Show-2010-6152.jpg',601,400),
      new Array('Photo 37','H-G-Show-2010-6165.jpg',601,400),
      new Array('Photo 38','H-G-Show-2010-6166.jpg',601,400),
      new Array('Photo 39','H-G-Show-2010-6169.jpg',601,400),
      new Array('Photo 40','H-G-Show-2010-6170.jpg',601,400),
      new Array('Photo 41','H-G-Show-2010-6171.jpg',601,400),
      new Array('Photo 42','H-G-Show-2010-6172.jpg',601,400),
      new Array('Photo 43','H-G-Show-2010-6173.jpg',601,400),
      new Array('Photo 44','H-G-Show-2010-6176.jpg',601,400),
      new Array('Photo 45','StoneScapes-P2297824.jpg',534,400),
	  new Array('Photo 46','Fall 08 H & G Show 001.jpg',534,400),
      new Array('Photo 47','Fall 08 H & G Show 002.jpg',534,400),
      new Array('Photo 31 ','Fall 08 H & G Show 003.jpg',534,400),
      new Array('Photo 48','Fall 08 H & G Show 004.jpg',534,400),
      new Array('Photo 49','Fall 08 H & G Show 005.jpg',534,400),
      new Array('Photo 50','Fall 08 H & G Show 008.jpg',534,400),
      new Array('Photo 51','Fall 08 H & G Show 009.jpg',534,400),
      new Array('Photo 52','Fall 08 H & G Show 013.jpg',650,400),
      new Array('Photo 53','Fall 08 H & G Show 014.jpg',529,400),
      new Array('Photo 54','Fall 08 H & G Show 021.jpg',534,400),
      new Array('Photo 55','Fall 08 H & G Show 022.jpg',534,400),
      new Array('Photo 56','Fall-08-H-&-G-Show-029.jpg',534,400) 
	)
  ),
  						  
  new Array('Westfield Annapolis Display','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
   new Array(
    new Array('Westfield Annapolis Mall StoneScapes','annapolis_mall_1735-1.jpg',600,400),
    new Array('Westfield Annapolis Mall StoneScapes','annapolis_mall_1752-18.jpg',600,400),    new Array('Westfield Annapolis Mall StoneScapes','annapolis_mall_1759-25.jpg',600,400)

    )
  ),
  						  
    new Array('Retaining Walls','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
     new Array(
      new Array('Photo 1','walls03.jpg',400,263),
      new Array('Photo 2','walls04.jpg',400,300),
      new Array('Photo 3','walls05.jpg',400,300),
      new Array('Photo 4','walls06.jpg',400,300),
	  new Array('Photo 5','walls13.jpg',400,300),
	  new Array('Photo 6','0907_various jobs 019.jpg',534,400),
      new Array('Photo 7','0907_various jobs 021.jpg',534,400),
      new Array('Photo 8','0907_various jobs 027.jpg',300,400),
      new Array('Photo 9','0907_various jobs 029.jpg',534,400),
      new Array('Photo 10','0907_various jobs 043.jpg',534,400),
      new Array('Photo 11','0907_various jobs 063.jpg',534,400),
	  new Array('Photo 12','0907_A_various jobs toms camera 003.jpg',534,400),
      new Array('Photo 13','0907_A_various jobs toms camera 004.jpg',534,400),
      new Array('Photo 14','0907_A_various jobs toms camera 005.jpg',534,400),
      new Array('Photo 15','0907_A_various jobs toms camera 006.jpg',534,400),
      new Array('Photo 16','0907_A_various jobs toms camera 118.jpg',534,400),
      new Array('Photo 17','0907_A_various jobs toms camera 119 .jpg',534,400),
      new Array('Photo 18','0907_A_various jobs toms camera 123.jpg',534,400),
      new Array('Photo 19','StoneScapes-DSC04270_1.jpg',300,400),
      new Array('Photo 20','StoneScapes-DSC04464.jpg',534,400),
      new Array('Photo 21','StoneScapes-DSC04465.jpg',534,400),
      new Array('Photo 22','StoneScapes-DSC04466.jpg',534,400),
      new Array('Photo 23','RW-11-07.jpg',534,400),
      new Array('Photo 24','RW-11-13.jpg',534,400),
      new Array('Photo 25','RW-DSC07980.jpg',512,384),
      new Array('Photo 26','RW-DSC08040.jpg',512,384),
      new Array('Photo 27','RW-DSC08243.jpg',534,400),
      new Array('Photo 28','RW-StoneScapes_StoneStore 014.jpg',267,400),
      new Array('Photo 29','RW-StoneScapes_StoneStore 046.jpg',600,400),
      new Array('Photo 30','RW-StoneScapes_StoneStore 066.jpg',516,401),
      new Array('Photo 31','rw-mccollough-007.jpg',519,389),
      new Array('Photo 32','rw-mccollough-023.jpg',519,389),
      new Array('Photo 33','Dr-RW-imgp4085.jpg',534,400),
      new Array('Photo 34','RW-brawn1d+3h-026.jpg',534,400),
      new Array('Photo 35','RW-doyle_004.jpg',534,400),
      new Array('Photo 36','RW-Pat-doyle_002.jpg',534,400),
      new Array('Photo 37','walls01.jpg',400,263),
      new Array('Photo 38','walls02.jpg',400,263)

    )
  ),
  
    new Array('Stone Veneer','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
     new Array(
      new Array('Photo 1','stoneveneer01.jpg',400,300),
      new Array('Photo 2','stoneveneer02.jpg',400,300),
      new Array('Photo 3','stoneveneer03.jpg',400,300),
      new Array('Photo 4','stoneveneer04.jpg',400,300),
      new Array('Photo 5','stone_veneer_ssd_1.jpg',268,400),
	  new Array('Photo 6','0907_A_various jobs toms camera 025.jpg',534,400),
      new Array('Photo 7','0907_A_various jobs toms camera 026.jpg',534,400),
      new Array('Photo 8','0907_A_various jobs toms camera 027.jpg',534,400),
      new Array('Photo 9','0907_A_various jobs toms camera 028.jpg',534,400),
      new Array('Photo 10','0907_A_various jobs toms camera 029.jpg',534,400),
      new Array('Photo 11','0907_A_various jobs toms camera 030.jpg',534,400),
      new Array('Photo 12','0907_A_various jobs toms camera 031.jpg',534,400),
      new Array('Photo 13','0907_A_various jobs toms camera 032.jpg',534,400),
      new Array('Photo 14','0907_A_various jobs toms camera 117.jpg',534,400),
      new Array('Photo 15','0907_various jobs 031.jpg',534,400),
      new Array('Photo 16','0907_various jobs 049.jpg',534,400),
      new Array('Photo 17','0907_various jobs 051.jpg',300,400),
      new Array('Photo 18','SV-0907_A_various-jobs-toms-camera-027.jpg',534,400),
      new Array('Photo 19','SV-StoneScapes _ Stone Store 003.jpg',534,400),
      new Array('Photo 20','SV-StoneScapes _ Stone Store 008.jpg',534,400),
      new Array('Photo 21','SV-StoneScapes_StoneStore 022.jpg',700,305),
      new Array('Photo 22','SV-StoneScapes_StoneStore 047.jpg',267,400),
      new Array('Photo 23','SV-StoneScapes_StoneStore 055.jpg',267,400),
      new Array('Photo 24','SV-StoneScapes_StoneStore 056.jpg',600,400),
      new Array('Photo 25','SV-StoneScapes_StoneStore 084.jpg',267,400),
      new Array('Photo 26','SV-StoneScapes_StoneStore 085.jpg',600,400),
      new Array('Photo 27','SV-TOM-1457.jpg',534,400),
      new Array('Photo 28','SV-stonescapes_slideshow063.jpg',533,400),
      new Array('Photo 29','SV-stonescapes_slideshow066.jpg',533,400),
      new Array('Photo 30','SV-dsc00438.jpg',534,400)
    )
  ),

  new Array('Custom Stone Work','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Photo 1','custom_stone_work_041.jpg',500,291),
      new Array('Photo 2','0907_various jobs 063.jpg',534,400),
	  new Array('Photo 3','CIMG0059.jpg',219,400),
      new Array('Photo 4','CIMG2050.jpg',489,400),
      new Array('Photo 5','DSCN5647.jpg',351,400),
      new Array('Photo 6','RC-06-0079.jpg',610,400),
      new Array('Photo 7','RC-08-008.jpg',534,400),
      new Array('Photo 8','RC-08-009.jpg',701,389),
      new Array('Photo 9','RC-08-020.jpg',540,400),
      new Array('Photo 10','RC-08-024.jpg',534,400),
      new Array('Photo 11','RC-08-1976.jpg',543,401),
      new Array('Photo 12','RC-08-1982.jpg',534,400),
      new Array('Photo 13','RC-08-1984.jpg',639,400),
      new Array('Photo 14','RC-08-1985.jpg',700,390),
      new Array('Photo 15','RC-08-1988.jpg',534,400),
      new Array('Photo 16','RC-08-1996.jpg',564,400),
      new Array('Photo 17','RC-08-2014.jpg',534,400),
      new Array('Photo 18','RC-08-2016.jpg',534,400),
      new Array('Photo 19','RC-08-2069.jpg',354,400),
      new Array('Photo 20','RC-08-2071.jpg',497,400),
      new Array('Photo 21','StoneScapes-_-Stone-Store-003.jpg',534,400),
      new Array('Photo 22','StoneScapes-_-Stone-Store-004.jpg',534,400),
      new Array('Photo 23','StoneScapes-_-Stone-Store-005.jpg',534,400),
      new Array('Photo 24','StoneScapes-_-Stone-Store-006.jpg',534,400),
      new Array('Photo 25','StoneScapes-_-Stone-Store-007.jpg',534,400),
      new Array('Photo 26','StoneScapes-_-Stone-Store-008.jpg',534,400),
      new Array('Photo 27','StoneScapes-_-Stone-Store-009.jpg',534,400),
      new Array('Photo 28','StoneScapes-_-Stone-Store-010.jpg',534,400)
    )
  ),

  new Array('Patios and Walkways','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Landscape Walkways','walkway-43011-1.jpg',603,400),
      new Array('Landscape Walkways','walkway-43011-2.jpg',603,400),
      new Array('Raised Patio using Techo Bloc','img00007-20110330-1111.jpg',534,400),
      new Array('Raised Patio using Techo Bloc','img00010-20110330-1113.jpg',534,400),
      new Array('Raised Patio using Techo Bloc','img00012-20110330-1115.jpg',534,400),
	 new Array('Photo 1','Pat2-Techo Pictures 068.jpg',334,400),
	 new Array('Photo 2','Pat2-StoneScapes_StoneStore 093.jpg',267,400),
	 new Array('Photo 3','Pat2-StoneScapes_StoneStore 088.jpg',600,400),
	 new Array('Photo 4','Pat2-StoneScapes_StoneStore 075.jpg',267,400), 
	 new Array('Techo Bloc StoneScapes &amp; Design','Pat2-StoneScapes_StoneStore 072.jpg',600,400),
	 new Array('Photo 6','Pat2-StoneScapes_StoneStore 071.jpg',600,400),
	 new Array('Photo 7','Pat2-StoneScapes_StoneStore 070.jpg',600,400),
	 new Array('Photo 8','Pat2-StoneScapes_StoneStore 069.jpg',267,400),
	 new Array('Photo 9','Pat2-StoneScapes_StoneStore 068.jpg',267,400),
	 new Array('Photo 10','Pat2-StoneScapes_StoneStore 067.jpg',600,400),
	 new Array('Photo 11','Pat2-StoneScapes_StoneStore 063.jpg',600,400),
	 new Array('Photo 12','Pat-StoneScapes_StoneStore 062.jpg',600,400),
	 new Array('Photo 13','Pat-StoneScapes_StoneStore 057.jpg',600,400),
	 new Array('Photo 14','Pat-StoneScapes_StoneStore 004.jpg',600,400),
	 new Array('Photo 15','Pat-Siva_8.jpg',267,400),
	 new Array('Photo 16','Pat-Siva_5.jpg',399,400),
	 new Array('Techo Bloc Pavers, StoneScapes &amp; Design','Pat-Siva_4.jpg',267,400),
	 new Array('Photo 18','Pat-Siva_3.jpg',267,400),
	 new Array('Colonial Grey Stone, StoneScapes &amp; Design','Pat-DSC08033.jpg',512,384),
	 new Array('Photo 20','Pat-11-30.jpg',534,400),
	 new Array('Photo 21','Pat-11-28.jpg',534,400),
	 new Array('Photo 22','Pat-11-27.jpg',534,400),
	 new Array('Photo 23','Pat-0907_A_various-jobs-toms-camera-020.jpg',534,400),
	 new Array('Photo 24','Pat-0907_A_various-jobs-toms-camera-017.jpg',534,400),
	 new Array('Photo 25','Path-Techo Pictures 067.jpg',506,400),
	 new Array('Photo 26','Path-StoneScapes_StoneStore 083.jpg',600,400),
	 new Array('Photo 27','Path-StoneScapes_StoneStore 082.jpg',700,376),
	 new Array('Photo 28','Path-StoneScapes_StoneStore 081.jpg',600,400),
	 new Array('Photo 29','Path-StoneScapes_StoneStore 080.jpg',267,400),
	 new Array('Photo 30','Path-StoneScapes_StoneStore 079.jpg',600,400),
	 new Array('Photo 31','Path-StoneScapes_StoneStore 073.jpg',600,400),
	 new Array('Photo 32','Path-STONE SCAPES SLIDE SHOW 083.jpg',300,400),
	 new Array('Photo 33','Path-Siva_9.jpg',205,400),
	 new Array('Photo 34','Path-Siva_6.jpg',626,400),
	 new Array('Photo 35','Path-Siva_2.jpg',251,400),
	 new Array('Photo 36','Path-Siva_1.jpg',600,401),
	 new Array('Photo 37','Path-Install - Churchill Autumn Brown 3.jpg',603,400),
	 new Array('Photo 38','Path-HATFIELD-012.jpg',519,389),
	 new Array('Photo 39','Path-HATFIELD-007.jpg',519,389),
	 new Array('Photo 40','Path-11-02.jpg',534,400),
	 new Array('Photo 41','stonetile05.jpg',400,300),
	 new Array('Photo 42','stonetile04.jpg',400,300),
	 new Array('Photo 43','stonetile03.jpg',400,300),
	 new Array('Photo 44','stonetile02.jpg',400,300),
	 new Array('Photo 45','stonetile01.jpg',400,300),
	 new Array('Photo 46','pavers17.jpg',240,226),
	 new Array('Photo 47','pavers16.jpg',400,320),
	 new Array('Photo 48','pavers15.jpg',400,320),
	 new Array('Photo 49','pavers14.jpg',400,320),
	 new Array('Photo 50','pavers13.jpg',400,300),
	 new Array('Photo 51','pavers12.jpg',400,300), 
	 new Array('Photo 52','pavers10.jpg',400,300),
	 new Array('Photo 53','pavers08.jpg',400,300),
	 new Array('Photo 54','pavers06.jpg',400,300),
	 new Array('Photo 55','pavers05.jpg',400,300),
	 new Array('Photo 56','pavers04.jpg',400,300),
	 new Array('Photo 57','pavers03.jpg',400,300),
	 new Array('Photo 58','pavers02.jpg',400,263),
	 new Array('Photo 59','pavers01.jpg',400,263),
	 new Array('Photo 60','0907_various jobs 062.jpg',300,400),
	 new Array('Photo 61','0907_various jobs 061.jpg',534,400),
	 new Array('Photo 62','0907_various jobs 060.jpg',534,400),
	 new Array('Photo 63','0907_various jobs 059.jpg',534,400),
	 new Array('Photo 64','0907_various jobs 058.jpg',534,400),
	 new Array('Photo 65','0907_various jobs 057.jpg',534,400),
	 new Array('Photo 66','0907_various jobs 056.jpg',534,400),
	 new Array('Photo 67','0907_various jobs 055.jpg',534,400),
	 new Array('Photo 68','0907_various jobs 054.jpg',534,400),
	 new Array('Photo 69','0907_various jobs 053_2.jpg',534,400),
	 new Array('Photo 70','0907_various jobs 053.jpg',534,400),
	 new Array('Photo 71','bluestone14.jpg',400,263),
	 new Array('Photo 72','bluestone13.jpg',400,230),
	 new Array('Photo 73','bluestone06.jpg',400,263),
	 new Array('Photo 74','bluestone05.jpg',400,263),
	 new Array('Photo 75','bluestone04.jpg',400,263),
	 new Array('Photo 76','bluestone02.jpg',400,263),
	 new Array('Photo 77','bluestone01.jpg',400,300),
	 new Array('Photo 78','StoneScapes-DSC04425_1.jpg',534,400),
	 new Array('Photo 79','StoneScapes-DSC04417.jpg',534,400),
	 new Array('Photo 80','StoneScapes-DSC04415_1.jpg',534,400),
	 new Array('Photo 81','patios-walkways-0907-25.jpg',534,400),
	 new Array('Blue Stone Patio, StoneScapes &amp; Design ','patios-walkways-0907-24.jpg',534,400),
	 new Array('Photo 83','patios-walkways-0907-23.jpg',534,400),
	 new Array('Photo 84','patios-walkways-0907-22.jpg',534,400),
	 new Array('Photo 85','patios-walkways-0907-21.jpg',534,400),
	 new Array('Photo 86','patios-walkways-0907-20.jpg',534,400),
	 new Array('Photo 87','patios-walkways-0907-19.jpg',534,400),
	 new Array('Photo 88','patios-walkways-0907-18.jpg',534,400),
	 new Array('Photo 89','patios-walkways-0907-17.jpg',534,400),
	 new Array('Photo 90','patios-walkways-0907-16.jpg',534,400),
	 new Array('Maryland Supreme Stone, StoneScapes &amp; Design','patios-walkways-0907-15.jpg',534,400),
	 new Array('Photo 92','patios-walkways-0907-14.jpg',534,400),
	 new Array('Photo 93','patios_walkways12.jpg',534,400),
	 new Array('Photo 94','patios_walkways11.jpg',534,400),
	 new Array('Photo 95','patios_walkways10.jpg',534,400),
	 new Array('Photo 96','patios_walkways9.jpg',534,400),
	 new Array('Photo 97','patios_walkways8.jpg',534,400),
	 new Array('Photo 98','patios_walkways7.jpg',534,400),
	 new Array('Photo 99','patios_walkways6.jpg',534,400),
	 new Array('Photo 100','patios_walkways5.jpg',534,400),
	 new Array('Photo 101','patios_walkways4.jpg',534,400),
	 new Array('Photo 102','patios_walkways3.jpg',534,400),
	 new Array('Photo 103','patios_walkways1.jpg',534,400),
	 new Array('Photo 104','POOL-391.jpg',700,153),
	 new Array('Photo 105','pavers_621.jpg',500,375),
	 new Array('Photo 106','patio_c.jpg',500,275),
	 new Array('Photo 107','patio_b.jpg',500,375),
	 new Array('Photo 108','patio_a.jpg',500,295),
	 new Array('Photo 109','PATIOS-Marks-035.jpg',622,400),
	 new Array('Photo 110','driveway_pavers_56.jpg',476,225),
	 new Array('Photo 111','driveway_pavers_49.jpg',482,214),
     new Array('Photo 112','RW-Pat-doyle_002.jpg',534,400)  
    )
  ),
 

  new Array('Stone Fireplaces','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Photo 1','fireplace.jpg',433,400),
	  new Array('Photo 2','071031063302.jpg',299,400),
      new Array('Photo 3','StoneScapes-_-Stone-Store-003.jpg',534,400),
      new Array('Photo 4','SF-img_9013.jpg',600,400)
    )
  ),
  
  new Array('Water Features','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
	  new Array('Photo 1','WF-dsc08239.jpg',533,400),
	  new Array('Photo 2','waterfall_3181.jpg',500,375),
	  new Array('Photo 3','0907_various jobs 012.jpg',534,400),
      new Array('Photo 4','0907_various jobs 013.jpg',300,400),
      new Array('Photo 5','0907_various jobs 016.jpg',534,400),
      new Array('Photo 6','0907_various jobs 023.jpg',534,400),
	  new Array('Photo 7','StoneScapes-DSC04401.jpg',534,400),
      new Array('Photo 8','StoneScapes-DSC04405.jpg',534,400),
      new Array('Photo 9','StoneScapes-DSC04410.jpg',534,400),
	  new Array('Photo 10','StoneScapes-DSC04270.jpg',300,400),
      new Array('Photo 11','StoneScapes-DSC04402.jpg',534,400),
      new Array('Photo 12','Ponds-DSC08241.jpg',300,400)
    )
  ),
  
    new Array('Belgard','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
     new Array(
      new Array('Photo 1','Belgard-Arbel_01.jpg',398,400),
      new Array('Photo 2','Belgard-Arbel_04.jpg',282,400),
      new Array('Photo 3','Belgard-BergCircle_02.jpg',527,401),
      new Array('Photo 4','Belgard-Bullnose_03.jpg',268,400),
      new Array('Photo 5','Belgard-Celtik_07.jpg',268,400),
      new Array('Photo 6','Belgard-DubCob_04.jpg',316,400),
      new Array('Photo 7','Belgard-Holland_02.jpg',322,400),
      new Array('Photo 8','Belgard-KSCentury_01.jpg',398,400),
      new Array('Photo 9','Belgard-KSCurv_01.jpg',600,363),
      new Array('Photo 10','Belgard-KSCurv_03.jpg',520,400),
      new Array('Photo 11','Belgard-KSCurv_05.jpg',600,396),
      new Array('Photo 12','Belgard-MegaBergCircle_02.jpg',314,400),
      new Array('Photo 13','Belgard-MegaBerg_04.jpg',523,400),
      new Array('Photo 14','Belgard-Portage_01.jpg',451,400),
      new Array('Photo 15','Belgard-Portage_02.jpg',403,400)
    )
  ),

  new Array('Techo-Bloc','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Photo 1','Athena-Rotondo-Quarry01_268_518.jpg',600,387),
      new Array('Photo 2','Athena_A00069_4911.jpg',600,400),
      new Array('Photo 3','Athena_A00069_4921.jpg',600,400),
      new Array('Photo 4','Athena_Quarry_Neptune_A00068.jpg',600,400),
      new Array('Photo 5','Athena_Quarry_Neptune_A00068_5068.jpg',600,400),
      new Array('Photo 6','Athena_Quarry_Neptune_A00068_5072.jpg',267,400),
      new Array('Photo 7','Athena_Quarry_Neptune_A00068_5197.jpg',600,400),
      new Array('Photo 8','Athena_Quarry_Neptune_A00070_4965.jpg',600,400),
      new Array('Photo 9','Athena_Quarry_Neptune_A49_6412.jpg',600,400),
      new Array('Photo 10','Athena_Quarry_Neptune_A49_6519.jpg',600,400),
      new Array('Photo 11','Athena_Quary_Neptune_A00067_Lanahan2.jpg',600,400),
      new Array('Photo 12','Blu_5778_B_1.jpg',600,400),
      new Array('Photo 13','Chantilly_7314.jpg',600,400),
      new Array('Photo 14','Chantilly_7315_2.jpg',571,400),
      new Array('Photo 15','Creta.jpg',334,400),
      new Array('Photo 16','Elena_A000021_02.jpg',600,400),
      new Array('Photo 17','Hera_A00044_08.jpg',600,400),
      new Array('Photo 18','Inca_Rocka_Atlantis_A00101_5354.jpg',267,400),
      new Array('Photo 19','MiniCretaPlus_A00088_6761.jpg',600,400),
      new Array('Photo 20','MiniCretaPlus_Hera_A00102_Fireplace.jpg',600,400),
      new Array('Photo 21','Pillar_StonedgeCap_Hera_A00104_5612.jpg',600,400),
      new Array('Photo 22','QuarryStone_2377.jpg',600,400),
      new Array('Photo 23','Santorini_A00043_14.jpg',600,400),
      new Array('Photo 24','Trias_00391_07.jpg',600,400),
      new Array('Photo 25','Trias_MiniCretaPlus_A00088_6725.jpg',336,400),
      new Array('Photo 26','Victorien13-1010.jpg',600,383),
      new Array('Photo 27','Villagio_00396_7568.jpg',600,400)
   )
  ),
  
    new Array('Stone Store Display','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
     new Array(
      new Array('Photo 1','SS Display-0009.jpg',410,400),
      new Array('Photo 2','SS Display-0018.jpg',604,375),
      new Array('Photo 3','SS Display-0039.jpg',421,400),
      new Array('Photo 4','SS Display-0043.jpg',267,400),
      new Array('Photo 5','SS Display-0044.jpg',267,400),
      new Array('Photo 6','SS Display-0045.jpg',267,400),
      new Array('Photo 7','SS Display-0049.jpg',600,400),
      new Array('Photo 8','SS Display-0055.jpg',600,400),
      new Array('Photo 9','SS Display-0056.jpg',267,400),
      new Array('Photo 10','SS Display-0068.jpg',600,400),
      new Array('Photo 11','SS Display-0070.jpg',600,400),
      new Array('Photo 12','SS Display-0074.jpg',600,400),
      new Array('Photo 13','SS Display-9943.jpg',600,400),
      new Array('Photo 14','SS Display-9948.jpg',600,400),
      new Array('Photo 15','SS Display-9952.jpg',267,400)
    )
  ),

  new Array('Driveways','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
	  new Array('Photo 1','D-stonescapes_019.jpg',533,400),
      new Array('Photo 2','D-MegaBergCircle_02.jpg',314,400),
      new Array('Photo 3','D-Techo Pictures 058.jpg',378,381),
      new Array('Photo 4','D-Urbana_02.jpg',527,400),
      new Array('Photo 5','Dr-RW-imgp4085.jpg',534,400)

    )
  ),

  new Array('Custom Design','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(      
      new Array('Photo 1','Conover-(24x36)-PDF-Rendere.jpg',700,467),
      new Array('Photo 2','NGWU-(36x48)-PDF-Rendered.jpg',700,524),
      new Array('Photo 3','Perspective-(24x36).jpg',700,467),
      new Array('Photo 4','Shettle-(36x48)-PDF-Perspec.jpg',700,525)
    )
  ),

  new Array('Pools and Pool Decking','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array( 
      new Array('Pool Patio &  Decking','img00477-20110701-1326_2.jpg',534,400),
      new Array('Pool Patio &  Decking','img00493-20110705-1952_2.jpg',534,400),
      new Array('Pool Patio &  Decking','img00499-20110705-2009_2.jpg',534,400),     
      new Array('Photo 1','Pools-stonescapes_slideshow126.jpg',533,400), 
      new Array('Photo 2','RC-08-008.jpg',534,400),
      new Array('Photo 3','RC-08-1976.jpg',543,401),
      new Array('Photo 4','ppd-11-29.jpg',527,400),
      new Array('Photo 5','ppd-sss-show-043.jpg',533,400),
      new Array('Photo 6','ppd-sss-show-128.jpg',533,400),
      new Array('StoneScapes & Design','img00509-20110706-1939.jpg',534,400),
      new Array('StoneScapes & Design','img00514-20110706-1945.jpg',534,400)
    )
  ),

  new Array('Harmony Outdoor Products','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
      new Array('Harmony Outdoor','hop_picture_008.jpg',615,400),
      new Array('Harmony Outdoor','hop_picture_027.jpg',399,400),
      new Array('Harmony Outdoor Living 1','hol-picture_001.jpg',476,400),
      new Array('Harmony Outdoor Living 2','hol-picture_003.jpg',402,400),
      new Array('Harmony Outdoor Living 3','hol-picture_026.jpg',700,400)
    )
  )
)



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]);
}

