
var arProducts = new Array(
  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('Technical Notes','technical.htm'),
      new Array('Case Studies','case.htm'),	  
      new Array('Sales Tools','sales.htm')
    )
  ),

  new Array('Retaining Wall',
    new Array(
      new Array('Celtik Wall','retaining_celtik.htm'),
      new Array('Keystone Wall','retaining_keystone.htm'),
      new Array('Century Wall','retaining_century.htm')	  	  
    )
  ),

  new Array('Trenwyth Products',
    new Array(
      new Array('Showroom','tren_showroom.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('Belgard Pavers',
    new Array(
      new Array('Photo Gallery','belgard_photos.htm'),
      new Array('Shapes & Sizes','belgard_shapes1.htm'),
      new Array('Colors Collection','belgard_colors.htm'),
      new Array('Patterns','belgard_patterns.htm'),
      new Array('Catalogs Library','belgard_catalogs.htm'),
      new Array('Technical Notes','belgard_technical.htm'),
      new Array('Sales Tools','belgard_sales.htm')
    )
  ),
   
  new Array('Quik-Brik',
    new Array(
      new Array('Photo Gallery','quik_photos.htm'),
      new Array('Benefits','quik_benefits.htm'),
      new Array('Colors Collection','quik_colors.htm'),
      new Array('Technical Notes','quik_technical.htm'),
      new Array('FAQ`s','quik_faq.htm'),
      new Array('Digital Catalog','javascript:;'),
      new Array('Sales Tools','quik_sales.htm')
    )
  ),

  new Array('Patios',
    new Array(
      new Array('Photo Gallery','patio_photos.htm'),
      new Array('Shapes & Sizes','patio_shapes.htm'),
      new Array('Colors Collection','patio_colors.htm'),
      new Array('Technical Notes','patio_technical.htm'),
      new Array('Sales Tools','patio_sales.htm')
    )
  ),

  new Array('Masonry Block',
    new Array(
      new Array('Shapes & Sizes','masonry_shapes.htm')
    )
  )
)

function menu_companies() {
  var i;
  for (i=0;i<arProducts.length;i++) {
    document.write('<tr>');
    document.write('<td width=16><img src="images/arrow_r1.gif" width="11" height="13" 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=6></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 background="arrow_r1.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></tr>');
    document.write('<tr><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></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>')
}

