
var arProducts = new Array(

  new Array('Amcor 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('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','belgard_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('Rendering Software','belgard_signupinfo.htm')
    )
  ),

  new Array('Keystone Walls',
    new Array(
      new Array('Showroom','keystone_showroom.htm'),
      new Array('Catalogs Library','keystone.htm')
    )
  ),

  new Array('Versalok Walls',
    new Array(
      new Array('Retaining Walls','versalok.htm'),
      new Array('Photo Gallery','versalok_photos.htm'),
      new Array('Shapes & Sizes','versalok_shapes.htm'),
      new Array('Technical Details','versalok_technical.htm')
    )
  ), 
 
  new Array('Trenwyth Stone',
    new Array(
      new Array('Astra-Glaze-SW+','tren_astra.htm'),
      new Array('New AG Platinum','tren_platinum.htm'),
      new Array('Trendstone','tren_trendstone.htm'),
      new Array('Trendstone Plus','tren_trendstoneplus.htm'),
      new Array('Mesastone','tren_mesastone.htm'),
      new Array('<i>PRAIRIE</i> stone','tren_prairiestone.htm'),
      new Array('Acousta-Wal','tren_acousta.htm'),
      new Array('Split Face','tren_splitface.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('Sales Tools','quik_sales.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','dufferin_catalogs.htm')
    )
  )

)

function menu_companies() {
  var i;
  var id = (company==-1)?0:company;
  for (i=0;i<arProducts.length;i++) {
    if (id!=i) {
			document.write('<tr>');
			 document.write('<td height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="1" height="1"></td>');
			document.write('</tr>');
			document.write('<tr>');
			 document.write('<td height="25" class="menu_side_products" style="padding-left:24px" background="images/menu_bg1.jpg"><img src="images/arrow_menu.gif" width="9" height="10">&nbsp;&nbsp;<a href="'+arProducts[i][1][0][1]+'" class="menu_side_products">'+arProducts[i][0]+'</a></td>');
			document.write('</tr>');
    }
  }
}


function menu_products() {
  var i;
  var id = (company==-1)?0:company;
   document.write('<tr>');
   document.write('<td height="23 class="menu_side_products" style="padding-left:24px" background="images/menu_bg1.jpg"><img src="images/arrow_menu.gif" width="9" height="10">&nbsp;&nbsp;<a href="products.htm" class="menu_side_products">'+arProducts[id][0]+'</a></td>');
   document.write('</tr>');
     for (i=0;i<arProducts[id][1].length;i++) {
       document.write('<tr>');
       document.write('<td height="1" bgcolor="#FFFFFF"><img src="images/space.gif" width="1" height="1"></td>');
       document.write('</tr>');
       document.write('<tr>');
       document.write('<td height="25" background="images/menu_bg2.jpg" class="menu_side" style="padding-left:43px"><img src="images/arrow_menu1.gif" width="4" height="8">&nbsp;&nbsp;<a href="'+arProducts[id][1][i][1]+'" '+((index==i)?'class="menu_side"':'class="menu_side"')+'>'+arProducts[id][1][i][0]+'</a></td>');
       document.write('</tr>');

  }
}






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="text1">Choose our Products:&nbsp;<select name="products" 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>')
}

