var arProducts = new Array(
  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('Catalogs Library','belgard_catalogs.htm'),
      new Array('Technical Notes','belgard_technical.htm'),
      new Array('Sales Tools','belgard_sales.htm')
    ),'menul_0',75,10
  ),

  new Array('Versa-Lok',
    new Array(
      new Array('Showroom','versalok.htm')
    ),'menul_1',49,10
  ),  
  
  new Array('Anchor Wall',
    new Array(
      new Array('Showroom','anchorwall.htm')
    ),'menul_2',63,10
  ),  

  new Array('Celtik Wall',
    new Array(
      new Array('Photo Gallery','celtik.htm'),
      new Array('Shapes & Sizes','belgard_shapes.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')
    ),'menul_3',56,10
  ),
  
  new Array('Brick Products',
    new Array(
      new Array('Photo Gallery','brick_photos.htm')
    ),'menul_4',76,10
  ),   
  
  new Array('Landmark Stone',
    new Array(
      new Array('Showroom','landmarkstone.htm')
    ),'menul_5',80,10
  ),    
  
  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')
    ),'menul_6',73,10
  )
)

function menu_companies() {
  var i;
  for (i=0;i<arProducts.length;i++) {
    document.write('<tr>');	
     document.write('<td width="14"><img src="images/box.gif" alt="" width="7" height="7" border="0" style="margin-top:1px;"></td>');
     document.write('<td height="18" width="*"><a href="'+arProducts[i][1][0][1]+'"><img src="images/'+arProducts[i][2]+(((company==i))?'d':'')+'.jpg" alt="" width="'+arProducts[i][3]+'" height="'+arProducts[i][4]+'" border="0"></a></td>');		
    document.write('</tr>');
   if (i<(arProducts.length-1)) {
	document.write('<tr>');
     document.write('<td width="14"><img src="images/space.gif" width=1 height=1></td>');
     document.write('<td height="1" width="*" background="images/delim.gif"><img src="images/space.gif" width=1 height=1></td>');			 
    document.write('</tr>');
   }	
  }
}

function menu_products() {
  var i;
  var id = (company==-1)?0:company;
  for (i=0;i<arProducts[id][1].length;i++) {
    document.write('<tr>');
     document.write('<td width="14"><img src="images/box2.gif" alt="" width="7" height="7" border="0" style="margin-top:1px;"></td>');
     document.write('<td height="19" width="*"><a href="'+arProducts[id][1][i][1]+'" class="' + (((index==i))?'prodmenu1_d':'prodmenu1') + '">'+arProducts[id][1][i][0]+'</a></td>');
    document.write('</tr>');
   if (i<(arProducts[id][1].length-1)) {
	document.write('<tr>');
     document.write('<td width="14"><img src="images/space.gif" width=1 height=1></td>');
     document.write('<td height="1" width="*" background="images/delim1.gif"><img src="images/space.gif" width=1 height=1></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="text111">Product Guide:&nbsp;<select name="products" class="inputmenu" 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>')
}

