var MENU_ITEMS_XP = [

        [wrap_root('About Us'), null, {'sw' : 74},
                                  [wrap_child('President\'s Message', ''), 'http://awramedia.org/mainblog/category/presidents-message/'],
                                  [wrap_child('Board of Directors', ''), '/about/bod.html'],
                                  [wrap_child('Staff', ''), '/about/staff.html'],
				  [wrap_child('Mission/Promise/Objectives', ''), '/about/index.html'],
				  [wrap_child('Bylaws', ''), '/about/bylaws.pdf'],
				  [wrap_child('History of AWRA', ''), '/about/history.html']
        ],
        [wrap_root('Membership'), null, {'sw' : 94},
                                  [wrap_child('Join AWRA', ''), '/memberservices/index.html'],
                                  [wrap_child('Renew Membership', ''), '/memberservices/index.html'],
                                  [wrap_child('Membership Types/Benefits', ''), '/memberservices/membership.html'],
                                  [wrap_child('Members Directory', ''), 'http://members.awra.org'],
                                  [wrap_child('Associate Members', ''), '/memberservices/member.php'],
                                  [wrap_child('Technical Committees', ''), '/committees/index.html']
  

        ],
        [wrap_root('Events'), null, {'sw' : 54},
				  [wrap_parent('National AWRA Events', ''), null, null,
                                                        [wrap_child('Current Meeting Schedule', ''), '/index.html']

                                  ],
                                  [wrap_child('AWRA State/Student Events', ''), '/state_studentindex.html'],
                                  [wrap_child('Non-AWRA Events', ''), '/meetings/index.html'],
								  [wrap_child('AWRA Conference Series', ''), '/meetings/conference_series/']

        ],
        [wrap_root('Publications'), null, {'sw' : 96},
                                  [wrap_parent('JAWRA', ''), null, null,
                                                        [wrap_child('Subscribe', ''), 'http://www.wiley.com/bw/subs.asp?ref=1093-474X&site=1'],
                                                        [wrap_child('About JAWRA', ''), 'http://www.blackwellpublishing.com/journal.asp?ref=1093-474X&site=1'],
                                                        [wrap_child('Latest Issue Highlights', ''), '/jawra/highlights.html'],
							[wrap_child('News', ''), '/jawra/index.html'],
                                                        [wrap_child('Editors', ''), '/jawra/editors.html'],
                                                        [wrap_child('Table of Contents', ''), 'http://www3.interscience.wiley.com/journal/118544603/home'],
                                                        [wrap_child('JAWRA Online', ''), ' http://www.blackwellpublishing.com/subs.asp?ref=1093-474X&site=1'],
							[wrap_child('Instructions for Authors', ''), '/jawra/instructionsforauthors.html'],
							[wrap_child('Become a Reviewer', ''), '/jawra/becomereviewer.html'],
							[wrap_child('Book Reviews', ''), '/jawra/bookreviews.html'],
                                                        [wrap_child('Purchase Articles', ''), 'http://www3.interscience.wiley.com/journal/118544603/home'],
							[wrap_child('Cover Photo', ''), '/jawra/cover.html'],
							[wrap_child('Featured Collections', ''), '/meetings/conference_series/']
                                  ],
                                  [wrap_parent('IMPACT', ''), null, null,
                                  			[wrap_child('Latest Issue Highlights', ''), '/impact/pdfs/highlights.pdf'],
							[wrap_child('Table of Contents', ''), '/impact/'],
                                                        [wrap_child('Editor-in-Chief', ''), '/impact/editor.html'],
                                                        [wrap_child('Editors and Topics', ''), '/impact/editors.html'],
                                                        [wrap_child('Advertise', ''), '/mediakit/impact_info.pdf'],
                                                        [wrap_child('Subscribe', ''), '/impact/rates.html'],
                                                        [wrap_child('Instructions for Authors/Editors', ''), '/impact/instructions.html']
                                  ],
				  [wrap_parent('Proceedings', ''), null, null,
                                                        [wrap_child('CD Proceedings for Sale', ''), '/proceedings/cdrom.html'],
                                                        [wrap_child('Print Proceedings for Sale', ''), '/proceedings/paper.html'],
                                                        [wrap_child('Online Proceedings (Members-Only)', ''), 'http://members.awra.org'],
                                                        [wrap_child('Online Proceedings (Open Access)', ''), '/proceedings/online.html'],
														[wrap_child('Past Proceedings Index', ''), '/proceedings/past_proceedings.html']
                                                        
                                  ],
				  [wrap_child('Podcasts', ''), 'http://www.awra.org/podcasts/'],
				  [wrap_child('Newsletter', ''), 'http://archive.constantcontact.com/fs041/1011215259037/archive/1102298002780.html'],
        ],

        [wrap_root('Careers'),null, {'sw' : 70},
                               [wrap_child('Jobs Board', ''), '/careers/index.html'],
                               [wrap_child('Post a Resume', ''), '/careers/resumes.html'],
                               [wrap_child('Career Links', ''), '/careers/resources.html']
        ],
         [wrap_root('Community'), null, {'sw' : 92},
	 		       [wrap_child('State Sections and Student Chapters', ''), '/state_studentindex.html'],
                               [wrap_child('Virtual Exhibit Hall', ''), '/memberservices/member.php'],
                   [wrap_child('RNRF Members', ''), '/community/index.html'],
			       [wrap_child('Related Organizations', ''), '/community/other.html'],
			       [wrap_child('Websites of Interest', ''), '/community/recommended.html']
        ],

        [wrap_root('Media Kit'), '/mediakit/index.html', {'sw' : 80},
        ],
		[wrap_root('News'), '/news/index.html', {'sw' : 60},
        ],
        [wrap_root('Contact AWRA'), '/web/', {'sw' : 100},

        ],
	[wrap_root('Home'), '/index.html', {'sw' : 50},

        ],


];



function wrap_parent (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td width=100% class=override2>&nbsp; ', text, '</td><td><img src=/images/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td width=100% class=override2>&nbsp; ', text, '</td><td><img src=/images/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td width=100% class=override2>&nbsp; ', text, '</td><td><img src=/images/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table>'].join('')
	];
}

function wrap_child (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td class=override2>&nbsp; ', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td width=100% class=override2>&nbsp; ', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td width=100% class=override2>&nbsp; ', text, '</td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding=0 cellspacing=0 border=0 width=100% height=20><tr><td width=100% align="center" class=override2>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=0 cellspacing=0 border=0 width=100% height=20><tr><td width=100% align="center" class=override2>&nbsp; ' + text + ' &nbsp;</td></tr></table>',
	'<table cellpadding=0 cellspacing=0 border=0 width=100% height=20><tr><td width=100% align="center" class=override2>&nbsp; ' + text + ' &nbsp;</td></tr></table>'
	];
}

