 
  
var MENU_ITEMS_XP = [ 
	[wrap_root('Products'), '/content/products.php', {'bw' : 120},  	  
	  [wrap_child('Catalogs'), '/content/catalogs.php', {'bw' : 120}],
	  [wrap_child('Browse'), '/content/products.php', {'bw' : 120}],
	  [wrap_child('Search', 'search.gif'), '/content/search.php', null],
	  [wrap_child('About Us'), '/content/about.php', null],
	  [wrap_child('Contact Us', 'email.gif'), '/content/contact.php', null],	  	
	],
	[wrap_root('News / Specials'), '/content/specials/', {'sw' : 120,'bw' : 120}],
	[wrap_root('Inquiry Basket'), '/content/cart.php', {'bw' : 120},
       [wrap_child('View Basket'), '/content/cart.php', null],
	   [wrap_child('Send Inquiry', 'email.gif'), '/content/cart.php?mode=showform', null],
	],
	[wrap_root('About Us'), '/content/about.php', {'bw' : 135}],
	[wrap_root('Contact Us'), '/content/contact.php', {'bw' : 135},
	   [wrap_child('Contact Form'), '/content/contact.php', null],
	   [wrap_child('Customer Survey'), '/content/survey.php', null],
	]
]; 


var ii5 = new Image(); ii5.src   = '/content/styles/tigra/icons/email.gif';
var ii11 = new Image(); ii11.src = '/content/styles/tigra/icons/search.gif';

function wrap_parent (text,icon) {  
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=/content/styles/tigra/icons/', icon !=null ? icon: 'pixel.gif width=16 border=0', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td><td><img src=/content/styles/tigra/icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=/content/styles/tigra/icons/', icon !=null ?  icon: 'pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=/content/styles/tigra/icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=/content/styles/tigra/icons/', icon !=null ?  icon: 'pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=/content/styles/tigra/icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
  //alert('('+ text + ')\n(' + icon + ')');
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=/content/styles/tigra/icons/', icon !=null ? icon: 'pixel.gif width=15"', ' hspace=3></td><td width=100%><table cellpadding=1 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=/content/styles/tigra/icons/', icon !=null ? icon: 'pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=/content/styles/tigra/icons/', icon !=null ? icon: 'pixel.gif width=16', ' hspace=3></td><td width=99% class=a0>&nbsp; ', text, '</td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=root_menu align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a1 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>'
	];
}