
smallSizes = new Array(77,77);
mediumSizes = new Array(200,170);
pageName = 'our_exhibit.htm';
scriptName = 'our_exhibit.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('Southeastern Flower Show 2010','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
		new Array('','p1010076.jpg',300,400,''), 
		new Array('','p1010078.jpg',533,400,''), 
		new Array('','p1010081.jpg',533,400,''), 
		new Array('','p1010084.jpg',533,400,''), 
		new Array('','p1010101.jpg',533,400,''), 
		new Array('','p1010102.jpg',300,400,'') 
    ),0,''
  ),
  new Array('Southeastern Flower Show 2009','images/portfolio/small/','images/portfolio/medium/','images/portfolio/big/',
    new Array(
		new Array('','sfs_firepit.jpg',448,298,'This firepit, more specifically called "Crystal Fire", is composed of tempered glass and natural gas. The perfect way to warm up or roast marshmallows on a cool fall night.'), 
		new Array('','sfs_kitchen.jpg',448,298,'Our exhibit this year included the "Rolex of Kitchens", featuring top of the line Lynx Grill Items.'), 
		new Array('','sfs_patio.jpg',448,298,'The patio and fireplace area was in high demand this year at the show. The weatherproof TV and furniture make this "outdoor living room" convenient and functional.'), 
		new Array('','sfs_swing.jpg',448,298,'The swing for the show was carefully hand crafted by our in-house wood architect. Many people inquired about the paint color on the arbor, which is: (Ralph Lauren, Naturals, Cottage Hill, NA72)'), 
		new Array('','sfs_water.jpg',448,298,'This simple water feature added just enough sound and ambience to create a very tranquil atmosphere in our garden.') 	
//		new Array('','dsc7972.jpg',601,400,''), 
//		new Array('','fire_compressed.jpg',448,298,''), 
//		new Array('','fire_pit_compressed.jpg',448,298,''), 
//		new Array('','patio_compressed.jpg',448,298,''), 
//		new Array('','waterfall_compressed.jpg',448,298,'')
    ),0, '<p>The theme of the Southeastern Flower Show \'09 was &quot;Passion&quot; and all of the exhibits were asked to create a name for their booth that tied in with the Passion theme. Miller Landscape chose the name &quot;Home is Where the Heart Is&quot;.</p><p>&quot;Home is Where the Heart Is&quot; was designed to emphasize that the moments spent enjoying friends and family are the ones that make life fulfilling and worthwhile. It was created as a gathering place for people who share a passion for spending time with loved ones, making memories, and entertaining.</p><p>The garden is made up of several intimate -nooks- that are unique, yet are functional and realistic for everyday use. These areas are enhanced by handcrafted arbors, textured stone benches, and mortared stone paths that invite people to linger a little longer... and nestle close to the fire, listen to the waterfall, embrace deeply the color of flowers, or savor food and drinks from the kitchen and bar. The garden has been customized to ultimately enhance the outdoor &quot;home&quot; experience.</p><p>Large evergreens provide privacy, creating a homey -nest-. The evergreens also add texture to the area, serving as a backdrop for the stone and wood features of the garden. Flowering trees, shrubs and bulbs add an element of beauty and the promise of spring. All of the plants in our garden are typically found in early spring in zone 7B.</p><p>Check back daily for photo additions daily!<br>Click on the images for to view a larger display of our elegant colors, shapes and patterns.</p>'
  )
)

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 menu_portfolio() {
  var jp;
  document.write('<table border="0" cellspacing="0" cellpadding="0">');
  document.write('<tr><td>Choose a category:&nbsp;<select name="cat" class="select1" onChange="if (this.value.length!=0) window.location=this.value" style="font-size:9px;">');
  for (jp=0;jp<arImages.length;jp++) {
    document.write('<option value="'+pageName+'?section='+jp+'"'+((jp==section)?' selected':'')+'>'+arImages[jp][0]+'</option>');
  }  
  document.write('</select></td></tr>')
  document.write('</table>');
} 
  
function showImageMedium(number) {
  showImage('imagemedium',arImages[section][2]+arImages[section][4][number][1]);
  if (arImages[section][4][number][4]!='')
   showMessage('imagemediumname',arImages[section][4][number][4]);   
  else
   showMessage('imagemediumname','Photo '+Number(Number(number)+1));
}

function showImageBig(number) {
  showImagePopup(scriptName,section,number,arImages[section][4][number][2],
   arImages[section][4][number][3]);
}
