var MENU_ITEMS_FDL = [
	[wrap_root('Forms'), null, {'bw' : 160},
			[wrap_child('Group Benefits Forms'), '/lang_en/forms/forms.htm'],
			[wrap_child('Annuity Products Forms'), '/lang_en/forms/annuity_forms.htm']
	]
];

function wrap_parent (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100%><table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td class=a0>&nbsp; ', text, '</td></tr></table></td><td><img src=icons/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% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0>&nbsp; ', text, '</td><td><img src=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) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=160 height=25><tr><td background=/js/tm_dynamic_menu/bkgd_tabs.jpg width=10 height=25 class=a0>&nbsp;</td><td background=/js/tm_dynamic_menu/bkgd_tabs.jpg width=150 height=25 class=a0>', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=160 height=25><tr><td background=/js/tm_dynamic_menu/bkgd_tabs.jpg width=10 height=25 class=a0>&nbsp;</td><td background=/js/tm_dynamic_menu/bkgd_tabs.jpg width=150 height=25 class=aa0>', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=160 height=25><tr><td background=/js/tm_dynamic_menu/bkgd_tabs.jpg width=10 height=25 class=a0>&nbsp;</td><td background=/js/tm_dynamic_menu/bkgd_tabs.jpg width=150 height=25 class=aa0>', text, '</td></tr></table>'].join('')
	];
}

function wrap_root (text) {
	return [
	'<table cellpadding="0" cellspacing="0" border="0" width="63" height="27"><tr><td><img src="/img/nav/forms_out.gif" alt="Forms" name="fdl_forms" width="63" height="27" border="0" id="fdl_forms"></td></tr></table>',
	'<table cellpadding="0" cellspacing="0" border="0" width="63" height="27"><tr><td><img src="/img/nav/forms_over.gif" alt="Forms" name="fdl_forms" width="63" height="27" border="0" id="fdl_forms"></td></tr></table>',
	'<table cellpadding="0" cellspacing="0" border="0" width="63" height="27"><tr><td><img src="/img/nav/forms_over.gif" alt="Forms" name="fdl_forms" width="63" height="27" border="0" id="fdl_forms"></td></tr></table>'
	];
}



var MENU_ITEMS_FORMS = [
	[wrap_root_forms('Forms'), null, {'bw' : 160},
			[wrap_child_forms('Group Benefits Forms'), '/lang_en/forms/forms.htm'],
			[wrap_child_forms('Annuity Products Forms'), '/lang_en/forms/annuity_forms.htm']
	]
];

function wrap_parent_forms (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#EFEDDE><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100%><table cellpadding=0 cellspacing=0 border=0 width=100% height=22><tr><td class=a0_forms>&nbsp; ', text, '</td></tr></table></td><td><img src=icons/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% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0_forms>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=100% bgcolor=#93A070><tr><td><table cellpadding=0 cellspacing=0 border=0 width=100% height=22 bgcolor=#CED1C3><tr><td><img height=16 src=', icon !=null ? 'icons/' + icon: 'menu_files/pixel.gif width=16', ' hspace=3></td><td width=100% class=a0_forms>&nbsp; ', text, '</td><td><img src=icons/arr.gif width=4 height=7 align="middle" align=absmiddle hspace=3></td></tr></table></td></tr></table>'].join('')
	];
}

function wrap_child_forms (text,icon) {
	return [['<table cellpadding=0 cellspacing=0 border=0 width=160 height=25><tr><td background=/js/tm_dynamic_menu/bkgd_tabs_forms.jpg width=10 height=25 class=a0_forms>&nbsp;</td><td background=/js/tm_dynamic_menu/bkgd_tabs_forms.jpg width=150 height=25 class=a0_forms>', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=160 height=25><tr><td background=/js/tm_dynamic_menu/bkgd_tabs_forms.jpg width=10 height=25 class=a0_forms>&nbsp;</td><td background=/js/tm_dynamic_menu/bkgd_tabs_forms.jpg width=150 height=25 class=aa0_forms>', text, '</td></tr></table>'].join(''),
	['<table cellpadding=0 cellspacing=0 border=0 width=160 height=25><tr><td background=/js/tm_dynamic_menu/bkgd_tabs_forms.jpg width=10 height=25 class=a0_forms>&nbsp;</td><td background=/js/tm_dynamic_menu/bkgd_tabs_forms.jpg width=150 height=25 class=aa0_forms>', text, '</td></tr></table>'].join('')
	];
}

function wrap_root_forms (text) {
	return [
	'<table cellpadding="0" cellspacing="0" border="0" width="63" height="27"><tr><td><img src="/img/nav/forms_on.gif" alt="Forms" name="fdl_forms" width="63" height="27" border="0" id="fdl_forms"></td></tr></table>',
	'<table cellpadding="0" cellspacing="0" border="0" width="63" height="27"><tr><td><img src="/img/nav/forms_on.gif" alt="Forms" name="fdl_forms" width="63" height="27" border="0" id="fdl_forms"></td></tr></table>',
	'<table cellpadding="0" cellspacing="0" border="0" width="63" height="27"><tr><td><img src="/img/nav/forms_on.gif" alt="Forms" name="fdl_forms" width="63" height="27" border="0" id="fdl_forms"></td></tr></table>'
	];
}
