
var arProducts = new Array(
  new Array('LEED Documentation',
    new Array(
      new Array('Overview','leed_documentation.htm')
    )
  ),
  
  new Array('Architectural Block',
    new Array(
      new Array('Photo Gallery','photos.htm'),
      new Array('Shapes & Sizes','shapes.htm'),
      new Array('Colors Collection','colors.htm'),
      new Array('Catalog Library','catalogs.htm'),
      new Array('Technical Notes','technical.htm'),
      new Array('Case Studies','case.htm'),	  
      new Array('Sales Tools','sales.htm')
    )
  ),

  new Array('Trenwyth Products',
    new Array(
      new Array('Showroom','tren_showroom.htm')
    )
  ),

  
  new Array('Belgard Pavers',
    new Array(
      new Array('Photo Gallery','belgard_photos.htm'),
      new Array('Shapes & Sizes','belgard_shapes.htm'),
      new Array('Colors Collection','belgard_colors.htm'),
      new Array('Patterns','belgard_patterns.htm'),
      new Array('New Products','new_products.htm'),
      new Array('Catalogs Library','belgard_catalogs.htm'),
      new Array('Technical Notes','belgard_technical.htm'),
      new Array('Sales Tools','belgard_sales.htm')
    )
  ),
  
  new Array('Integra Wall',
    new Array(
      new Array('Introduction','integra_introduction.htm'),
      new Array('Photo Gallery','integra_photos.htm'),
      new Array('Shapes & Sizes','integra_shapes.htm'),
      new Array('Colors Collection','integra_colors.htm'),
      new Array('Technical Notes','integra_technical.htm'),
      new Array('Digital Catalog','javascript:integra();'),
      new Array('Sales Tools','integra_sales.htm')
    )
  ),  

  new Array('Retaining Wall',
    new Array(
      new Array('Overview','retainingwall.htm')
    )
  ),
 
  new Array('Dufferin Stone',
    new Array(
      new Array('Overview','dufferin_overview.htm'),
      new Array('Photo Gallery','dufferin_photos.htm'),
      new Array('Colors Collection','dufferin_colors.htm'),
      new Array('Technical Notes','dufferin_technical.htm'),
      new Array('Digital Catalog','javascript:dufferin();'),
      new Array('Sales Tools','dufferin_sales.htm')
    )
  ),
 
  new Array('Glass Block',
    new Array(
      new Array('Showroom','glassblock.htm')
    )
  )
)

function menu_companies() {
  var i;
  for (i=0;i<arProducts.length;i++) {
    document.write('<tr>');
    document.write('<td width=15><img src="images/arrow_r3.gif" width="11" height="12" border="0" alt=""></td>');
    document.write('<td width="*"><a href="'+arProducts[i][1][0][1]+'" '+((company==i)?'class="menuleft3"':'class="menuleft"')+'>'+arProducts[i][0]+'</a></td>');
    document.write('</tr>');
    document.write('<tr><td colSpan=2><img src="images/space.gif" width=1 height=4></td></tr>');
  }
}

function menu_products() {
  var i;
  var id = (company==-1)?0:company;
  for (i=0;i<arProducts[id][1].length;i++) {
    document.write('<tr><td><img src="images/space.gif" width=1 height=1></td><td background="images/point3.gif"><img src="images/space.gif" width=1 height=1></td></tr>');
    document.write('<tr><td><img src="images/space.gif" width=1 height=1></td><td><img src="images/space.gif" width=1 height=1></td></tr>');
    document.write('<tr><td width="15">');
	if (i==index)   document.write('<img src="images/arrow_r2.gif" width="10" height="13" border="0" alt="">');
	  else document.write('<img src="images/space.gif" width=1 height=1>');
	document.write('</td><td><a href="'+arProducts[id][1][i][1]+'" '+((index==i)?'class="menuleft4"':'class="menuleft1"')+'>'+arProducts[id][1][i][0]+'</a></td></tr>');
    document.write('<tr><td><img src="images/space.gif" width=1 height=1></td><td><img src="images/space.gif" width=1 height=1></td></tr>');
  }
}

function menu_arrow() {
  document.write('<img src="images/space.gif" width=1 height='+Number((Number(index)+1)*19)+'><br>');
  document.write('<img src="images/arrow2.gif" width="10" height="12" border="0" alt="">');
}
                  
function menu_products1() {
  var i;
  var id = (company==-1)?0:company; 
  document.write('<table border="0" cellspacing="0" cellpadding="0">');
  document.write('<tr><td class="text11">Choose our Products:&nbsp;<select name="products" class="select1" onChange="if (this.value.length!=0) window.location=this.value">');
  document.write('<option value="">Product Menu</option>');
  for (i=0;i<arProducts[id][1].length;i++) {
    document.write('<option value="'+arProducts[id][1][i][1]+'"'
     +((i==index)?' selected':'')+'>'+arProducts[id][1][i][0]+'</option>');
  }
  document.write('</select></td></tr></table>')
}

