
function wrap (menuid) {
	menuimg = '/images/framework/cfea_'+menuid+'_hover.png';
	MM_preloadImages(menuimg);
	return [ menuinfo[menuid],'<img src="'+menuimg+'" border="0">'];
}

//		'<img src="/pics/' + image + '_up.jpg" border="0">',
//		'<div style="position:relative;background-image:url(/images/framework/cfea_menu_hover.png)">'+names[image+'</div>',

site = 'yesfairelections.org';
http = 'http://www.' + site;
https = 'https://' + site;

var menuinfo = { 'home':'', 'why':'','news':'', 'action':'', 'endorsers':'', 'contact':'' };
var MENU_ITEMS = [
	[wrap('home'),http +'/',{'sw':71}],
	[wrap('why'),http +'/about/',{'sw':198, 'bw':218},
		['About the California Fair Elections Act',http +'/about/'],
		['Frequently Asked Questions (FAQ)',http +'/faq/'],
		['Fair Elections Work',http +'/it_works/'],
		['&nbsp;&nbsp;&nbsp;Proven in Other States',http +'/it_works/track_record.php'],
		['&nbsp;&nbsp;&nbsp;Benefits for Specific Issues',http +'/benefits/'],		
		['&nbsp;&nbsp;&nbsp;Antidote to Supreme Court Decision',http +'/it_works/citizens_united.php'],		
		['On the Ballot',http +'/about/ballot.php'],
		['&nbsp;&nbsp;&nbsp;Official Ballot Argument',http +'/about/ballot_argument.php'],		
		['&nbsp;&nbsp;&nbsp;Official Ballot Rebuttal',http +'/about/ballot_rebuttal.php'],		
		['Learn More',http +'/signup/'],
	],
	[wrap('news'),http +'/news/',{'sw':73,'bw':171},
		['Newspaper Editorials',http +'/news/editorials.php'],
		['Op-Eds and Media Coverage',http +'/news/'],
		['Letters to the Editor',http +'/letters/'],
		['Press Releases',http +'/press_releases/'],
		['Campaign Emails',http +'/news/newsletters.php'],
		['Upcoming Events/Meetings',http +'/contacts/civicrm/event/ical?reset=1&page=1&html=1']
	],
	[wrap('action'),http +'/signup/',{'sw':91, 'bw':194},
		['Donate',http +'/donate/'],
		['Sign Up or Volunteer',http +'/signup/'],
//		['Get Updates','/signup/'],
		['Tell a Friend',http +'/tellafriend/'],
		['Attend Events &amp; Meetings',http +'/contacts/civicrm/event/ical?reset=1&page=1&html=1'],
		['Download Materials',http +'/materials'],
		['Get Example Newsletters & Links',http +'/materials/examples.php'],
		['Email Us','mailto:info@yesfairelections.org']
	],
	[wrap('endorsers'),http +'/content/pdf/cfea_endorsers.pdf',{'sw':118}],
	[wrap('contact'),'mailto:info@yesfairelections.org',{'sw':90}],
	];

