
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('Sure Touch <font color="#FF0000">(New Product)</font>',
    new Array(
      new Array('Intro/Description','suretouch_introduction.htm'),
      new Array('Insulation','suretouch_insulation.htm'),
      new Array('Colors','suretouch_colors.htm'),
      new Array('Accessories','suretouch_accessories.htm'),
      new Array('Installation','suretouch_installation.htm'),
      new Array('Photos','suretouch_photos.htm')
    )
  ),

  new Array('Belgard Pavers',
    new Array(
      new Array('Products','shapes-pavers.htm'),
      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('Case Studies','white-paper.htm')
    )
  ),

  new Array('Keystone Walls',
    new Array(
      new Array('Showroom','keystone.htm'),
      new Array('Catalogs','keystone_catalogs.htm'),
      new Array('Photo Gallery','keystone_photos.htm'),
      new Array('Technical Notes','keystone_technical.htm'),
      new Array('Technical','keystone_technical1.htm'),
      new Array('Case Studies','keystone_case.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:catalogIntegraWall();')
    )
  ), 
 
  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('Patterns','dufferin_patterns.htm'),
      new Array('Installation','dufferin_installation.htm'),
      new Array('Technical Notes','dufferin_technical.htm'),
      new Array('Digital Catalogs','dufferin_catalogs.htm')
    )
  ),

  new Array('Spec Mix Products',
    new Array(
      new Array('Showroom','specmix_products.htm')
    )
  ),
  
  new Array('Outdoor Living Products',
    new Array(
      new Array('Products','outdoor_living_products.htm'),
      new Array('Chicago Brick Ovens','shapes-chicago.htm'),
      new Array('Harmony Outdoor Living','shapes_harmony_outdoor.htm'),
      new Array('Medium Rare Appliances','shapes_medium_rare.htm')
    )
  ),
  
  new Array('Glass Block',
    new Array(
      new Array('Description','glassblock.htm'),
      new Array('Products','glassblock_products.htm'),
      new Array('Photo Gallery','glassblock_photos.htm'),
      new Array('Dealer Locations','glassblock_dealers.htm')
    )
  )

)

function menu_products() {
  if ((typeof(company)=='undefined') || (company<0))
    company = 0;
  if ((typeof(index)=='undefined'))
    product = -1;
  else
    product = index;

  for (var i=0;i<arProducts.length;i++) {
	document.write('<tr>');
	document.write('<td width="1" bgcolor="#687583"><img src="images/space.gif" width="1" height="1"></td>');
	document.write('<td width="27" bgcolor="#687583"><img src="images/space.gif" width="1" height="1"></td>');
	document.write('<td width="16" bgcolor="#687583"><img src="images/space.gif" width="1" height="1"></td>');
	document.write('<td width="158" bgcolor="#687583"><img src="images/space.gif" width="1" height="1"></td>');
	document.write('</tr>');
    document.write('<tr>');
	document.write('<td width="1"><img src="images/menuleft_company_l.gif" width="1" height="29"></td>');
	document.write('<td width="27" background="images/menuleft_company_bg.gif" valign="top"><img src="images/menuleft_company_t.gif" width="25" height="4"></td>');
	document.write('<td width="16" background="images/menuleft_company_bg.gif"><img src="images/arrow_company.gif" width="9" height="7"></td>');
	document.write('<td width="*" background="images/menuleft_company_bg.gif">');
	document.write('<a href="'+arProducts[i][1][0][1]+'" '+((company==i)?'class="menuleft_selected"':'class="menuleft"')+'>'+arProducts[i][0]+'</a>');
	document.write('</td>');
    if (company==i) {
      document.write('<tr>');
	  document.write('<td colspan="4">');
      document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
      for (var j=0;j<arProducts[i][1].length;j++) {
		if ((i==3) && (j==0)) j=1
		else if ((i==9) && (j==0)) j=1
		else if ((i==2) && (j==0)) j=1;
        document.write('<tr>');
	    document.write('<td colspan="3" bgcolor="#475E79"><img src="images/space.gif" width="1" height="1"></td>');
	    document.write('</tr>');
        document.write('<tr>');
	    document.write('<td width="44" height="29"><img src="images/space.gif" width="44" height="1"></td>');
	    document.write('<td width="16"><img src="images/arrow_product.gif" width="9" height="7"></td>');
	    document.write('<td width="*"><a href="'+arProducts[i][1][j][1]+'" '+((product==j)?'class="menuleft_selected"':'class="menuleft"')+'>'+arProducts[i][1][j][0]+'</a></td>');
	    document.write('</tr>');
	  }
      document.write('</table>');
      document.write('</td>');
      document.write('</tr>');
	}
	document.write('</tr>');
  }
  document.write('<tr>');
  document.write('<td colspan="4" bgcolor="#687583"><img src="images/space.gif" width="1" height="1"></td>');
  document.write('</tr>');


/*
for (i=0;i<arProducts[id][1].length;i++) {
    document.write('<tr><td><img src="images/space.gif" width=1 height=1></td></tr>');
    document.write('<tr height=1><td background="images/dot_bg1.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>');
    document.write('<td width="*"><a href="'+arProducts[id][1][i][1]+'" '+((index==i)?'class="menuleft1"':'class="menuleft3"')+'>'+arProducts[id][1][i][0]+'</a></td></tr>');
  }
*/
}

function menu_arrow() {
  document.write('<img src="images/space.gif" width=1 height='+Number((Number(index)+1)*15)+'><br>');
  document.write('<img src="images/arrow1.gif" width="11" height="14" border="0">');
}

