var states = ['mout', 'mover', 'mdown'],

MENU_ITEMS_General = [
	[wrapMe('&nbsp; &nbsp;Home'), 'http://www.radiology.ucla.edu', null],
	[wrapMeL1('&nbsp; &nbsp;News/Events'),, null,
		['Current Events', '/radweb', null],
		['News Archive', '/radweb/news/byYear.jsp', null],
		['Aneurysm Targeting Software', '/radweb/sections/endovascular/news/AneurysmTargetingSoftware.jsp', null],
		['Atherosclerosis: Risk Factor & treatment', '/radweb/sections/endovascular/stories/atherosclerosis_Waycott.jsp', null],
		['Coroian & Kun: 09 RSNA Research Grant', '/radweb/sections/neuro/news/2009RSNA_medicalStudentGrant.jsp', null],
		['CT Colonography: Cancer Screening Option', '/radweb/sections/abdominal/news/CTColonography.jsp', null],
		['DCVI Intensive Coronary CTA Course', 'http://dcvi.radsci.ucla.edu/html/vf_coronaryCTA.html', {'tw': 'blank'}],
		['Dr. Kangarloo: NIH/NIBIB Grant', '/radweb/news/academicResearch/2008NIH_Grant.jsp', null],
		['Dr. Kirsch: Award-winning software', '/radweb/sections/neuro/news/3D_HeadNeckAnatomy.jsp', null],
		['Dr. Vinuela: Awards & Recognitions', '/radweb/sections/endovascular/news/VinuelaUruguayTrip.jsp', null],
		["Drs. Lee & Yu: 2008 RSNA R&E Grant", '/radweb/sections/csir/news/2008RSNA_Grant.jsp', null],
		['Expansion of IR Consultation Center', '/radweb/referral/news/IRsuites.jsp', null],
		['MERCI Story', '/radweb/sections/endovascular/news/MERCI_Story.jsp', null],
		['New Imaging Center in Manhattan Beach', '/radweb/referral/news/ManhattanBeachCenter.jsp', null],
		['UCLA Prostate MR Imaging', '/radweb/sections/abdominal/news/prostateMRI.jsp', null],
		['UCLA Women\'s Imaging Services', '/radweb/sections/breast/news/WomensImagingServices.jsp', null],
		['Understanding & Surviving a Brain Attack', '/radweb/sections/endovascular/stories/stroke_richardson.jsp', null],
		['Varicose Vein Treatment', '/radweb/sections/cardioInterventional/news/VaricoseVeinTreatment.jsp', null],
		['Your Heart Imaged Gently: Low Dose CCTA', '/radweb/sections/dcvi/news/lowDoseCCTA.jsp', null]
	],
	[wrapMe('&nbsp; &nbsp;About Us'), '/radweb/aboutUs.jsp', null],
	[wrapMe('&nbsp; &nbsp;Contact Us'), '/radweb/contactUs.jsp', null],
	[wrapMe('&nbsp; &nbsp;Directions & Parking'), '/radweb/pcContactInfo.jsp', null],
	[wrapMe('&nbsp; &nbsp;Faculty Directory'), '/radweb/process?action=query&refpage=abc&category=pFA&hospital=Westwood&hospital=Santa+Monica', null]
];

MENU_ITEMS_Patients = [
	[wrapMe ('&nbsp; &nbsp;Scheduling'), '/radweb/schedule/overview.jsp', null],
	[wrapMe('&nbsp; &nbsp;Procedure Preparation'), '/radweb/procedurePrep/overview.jsp', null],
	[wrapMeL1('&nbsp; &nbsp;Imaging Specialties'), '/radweb/pcServices.jsp', null,
		['Abdominal Imaging', '/radweb/sections/abdominal/overview.jsp', null],
		['Acute Care Imaging', '/radweb/sections/general/overview.jsp', null],
		['Breast Imaging', '/radweb/sections/breast/overview.jsp', null],
		['Cross Sectional Interventional Radiology', '/radweb/sections/csir/overview.jsp', null],
		['Diagnostic Cardiovascular Imaging', '/radweb/sections/dcvi/overview.jsp', null],
		['Diagnostic Neuroradiology', '/radweb/sections/neuro/overview.jsp', null],
		['Interventional Neuroradiology', '/radweb/sections/endovascular/overview.jsp', null],
		['Interventional Radiology', '/radweb/sections/cardioInterventional/overview.jsp', null],
		['Musculoskeletal Imaging', '/radweb/sections/musculoskeletal/overview.jsp', null],
		['Pediatric Imaging', '/radweb/sections/pediatric/overview.jsp', null],
		['Santa Monica Multi-Specialty Radiology', '/radweb/sections/santaMonica/overview.jsp', null],
		['Thoracic Imaging', '/radweb/sections/thoracic/overview.jsp', null],
		['Ultrasound', '/radweb/sections/ultrasound/overview.jsp', null]
	],
	[wrapMeL1('&nbsp; &nbsp;Imaging Services'), '/radweb/modality/overview.jsp', {'bw':130},
		['CT', '/radweb/modality/ct.jsp', null],
		['IR', '/radweb/modality/ir.jsp?aboutUs', null],
		['Mammo', '/radweb/modality/mammo.jsp?aboutUs', null],
		['MRI', '/radweb/modality/mri.jsp', null],
		['PET/CT', '/radweb/modality/petct.jsp', null],
		['PICC', '/radweb/modality/picc.jsp', null],
		['Ultrasound', '/radweb/modality/us.jsp', null],
		['X-Ray/Fluoroscopy', '/radweb/modality/xray.jsp', null]
	],
	[wrapMe ('&nbsp; &nbsp;Film Library'), '/radweb/filmLibrary.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Diseases & Treatments'), '/radweb/diseaseTreatment/overview.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Visitor Information'), '/radweb/pcResources.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Patient Education'), '/radweb/radInfo/info.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Service Eval. Survey'), 'http://www.zoomerang.com/survey.zgi?p=WEB2272PLZU5LQ', {'tw': 'blank'}]
];

MENU_ITEMS_Referral = [
	[wrapMe ('&nbsp; &nbsp;Patient Referrals'), '/radweb/referral/overview.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Clinical Updates'), '/radweb/radInfo/clinicalUpdate.jsp', null],
	[wrapMe ('&nbsp; &nbsp;PACS Portal'), 'http://149.142.216.36/pip/html/CentricityPortal/login.jsp', {'tw': 'blank'}]
];

MENU_ITEMS_Education = [
	[wrapMe ('&nbsp; &nbsp;Residency Program'), '/radweb/education/program_residency.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Fellowship Programs'), '/radweb/education/program_fellowship.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Continuing Education'), 'http://www.radiology.ucla.edu/dcvi/html/vf_coronaryCTA.html', {'tw': 'blank'}]
];

MENU_ITEMS_Research = [
	[wrapMe ('&nbsp; &nbsp;Research Programs'), '/radweb/research/researchOverview.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Research Services'), '/radweb/research/services.jsp', null],
	[wrapMe ('&nbsp; &nbsp;Clinical Trials'), '/radweb/research/overview.jsp', null]
];

MENU_ITEMS_Alumni = [
	[wrapMe ('&nbsp; &nbsp;Register'), '/radweb/register.jsp', null]
];


function wrapMeL1 (text) {
	if (text == CURRENT_ITEM) {
	 return ['<table cellpadding=0 cellspacing=0 border=0 width=100% valign=middle><tr><td width=100% class="minnerOn_leftMenu" style="padding-left: 0px;" valign=middle><div style="background: #ffb300;">' , text, '</div></td><td style="padding-top: 2px; background: #ffb300;"><img src="/radweb/images/greyArrowDown_8x8.gif" width=8 height=8px border=0px style="padding-bottom: 0px;">&nbsp;</td></tr></table>'].join('');
	}
	else {
	 return ['<table cellpadding=0 cellspacing=0 border=0 width=100% valign=middle><tr><td width=100% class="minner_leftMenu" style="padding-left: 0px;" valign=middle>', text, '</td><td style="padding-top: 2px;"><img src="/radweb/images/greyArrowDown_8x8.gif" width=8 height=8px border=0px style="padding-bottom: 0px;">&nbsp;</td></tr></table>'].join('');
	}
}

function wrapMeL1_blue (text) {
	if (text == CURRENT_ITEM) {
	 return ['<table cellpadding=0 cellspacing=0 border=0 width=100% valign=middle><tr><td width=100% class="minnerOn_leftMenu" style="padding-left: 0px;" valign=middle><div style="background: #ffb300;">' , text, '</div></td><td style="padding-top: 2px; background: #ffb300;"><img src="/radweb/images/blueArrowDown_8x8.gif" width=8 height=8px border=0px style="padding-bottom: 0px;">&nbsp;</td></tr></table>'].join('');
	}
	else {
	 return ['<table cellpadding=0 cellspacing=0 border=0 width=100% valign=middle><tr><td width=100% class="minner_leftMenu" style="padding-left: 0px;" valign=middle>', text, '</td><td style="padding-top: 2px;"><img src="/radweb/images/blueArrowDown_8x8.gif" width=8 height=8px border=0px style="padding-bottom: 0px;">&nbsp;</td></tr></table>'].join('');
	}
}

function wrapMe (text) {
	if (text == CURRENT_ITEM) {
	return '<div style="background: #ffb300; color: #336699;">' + text + '</div>';
	}	
	else {
		return text;	
	}
}


function wrapHeader (text) {
	 return ['<table bgcolor="#336699" cellpadding=0 cellspacing=0 border=0 width=100% valign=middle><tr><td width=100% style="color: #ffffff; font-family: vadana, arial; font-size: 12px; font-weight: bold;" valign=middle>', text, '</td></tr></table>'].join('');
}
