var MENU_ITEMS_XP = [
	
	[wrap_root('Home Page'), null, {'sw' : 85},
                                          [wrap_child('Home Page', 'nav_home.gif'), 'http://www.fourdirectionsyoga.com/index.html'],
			[wrap_child('Site Map', 'nav_help.gif'), 'http://www.fourdirectionsyoga.com/sitemap.html'
     ]
], 


        [wrap_root('Schedule'), null, {'sw' : 85},
			[wrap_child('Teacher Training', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/teacher-training.html'],
			[wrap_child('Classes', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/schedule.html'],			
			[wrap_child('Workshops & Retreats', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/workshop.html'

     ]
], 

	[wrap_root('Teacher Training'), 'http://www.fourdirectionsyoga.com/teacher-training.html', {'sw' : 110}], 

	[wrap_root('What is Yoga'), 'http://www.fourdirectionsyoga.com/what.html', {'sw' : 95}], 


      [wrap_root('Products'), 'http://www.fourdirectionsyoga.com/products.html', {'sw' : 85},
			[wrap_child('Books', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/yoga-books.html'],
	                            [wrap_child('CDs', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/yoga-cds.html'],
	                            [wrap_child('DVDs', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/yoga-dvds.html'],
			[wrap_child('Tea', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/yoga-tea.html'
     ]

], 
	


	

       [wrap_root('About Us'), null, {'sw' : 85},
			[wrap_child('About Us', 'nav_sessions.gif'), 'http://www.fourdirectionsyoga.com/aboutus.html'],
			[wrap_child('Testimonials', 'icon_forum.gif'), 'http://www.fourdirectionsyoga.com/testimonials.html'],
	            [wrap_child('Links', 'yfolder16a.gif'), 'http://www.fourdirectionsyoga.com/links.html'
   
     ]
], 


	[wrap_root('Contact'), null, {'sw' : 80},
                                          [wrap_child('Contact Information', 'yogaicon.gif'), 'http://www.fourdirectionsyoga.com/contact.html'],
			[wrap_child('Phone', 'icon_audio.gif'), 'http://www.fourdirectionsyoga.com/contact.html#mail'],
			[wrap_child('E-mail', 'email.gif'), 'http://www.fourdirectionsyoga.com/contact.html#email'],
			[wrap_child('Directions', 'map3.gif'), 'http://www.fourdirectionsyoga.com/contact.html#map']
	]
]; 
var ii0 = new Image(); ii0.src = 'icns/arr.gif';
var ii1 = new Image(); ii1.src = 'icns/i.gif';
var ii2 = new Image(); ii2.src = 'icns/n7.gif';
var ii3 = new Image(); ii3.src = 'icns/m12.gif';
var ii4 = new Image(); ii4.src = 'icns/o.gif';
var ii5 = new Image(); ii5.src = 'icns/email.gif';
var ii6 = new Image(); ii6.src = 'icns/icq.gif';
var ii7 = new Image(); ii7.src = 'icns/yahoo.gif';
var ii8 = new Image(); ii8.src = 'icns/aol.gif';
var ii9 = new Image(); ii9.src = 'menu_files/pixel.gif';

function wrap_parent (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#CACADA><tr><td bgcolor=#CACADA><img height=16 src=', icon !=null ? 'icns/' + icon: 'menu_files/pixel.gif width=16', ' 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=icns/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=#CACADA><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#CACADA><tr><td><img height=16 src=', icon !=null ? 'icns/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icns/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=#CACADA><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#EAE9E0><tr><td><img height=16 src=', icon !=null ? 'icns/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icns/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=1 cellspacing=0 border=0 width=100%><tr><td bgcolor=#CACADA><img height=16 src=', icon !=null ? 'icns/' + icon: 'menu_files/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=#CACADA><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#F1E9EE><tr><td><img height=16 src=', icon !=null ? 'icns/' + icon: 'menu_files/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=#CACADA><tr><td><table cellpadding=1 cellspacing=0 border=0 width=100% height=22 bgcolor=#EAE9E0><tr><td><img height=16 src=', icon !=null ? 'icns/' + icon: 'menu_files/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=0 cellspacing=0 border=0 width=100% height=21><tr><td width=100% class=a0 align="center">&nbsp; ' + text + ' &nbsp;</td></tr></table></td></tr></table>',
	'<table cellpadding=1 cellspacing=0 border=0 width=100% bgcolor=#CACADA><tr><td><table cellpadding=0 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=#CACADA><tr><td><table cellpadding=0 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>'
	];
}
