// mjf
// bTestSite is defined in mjf_sitelocaldata.js

var nMenuWidth=125;				// width of menus to appear. Set to zero to ignore
var sBaseSite= (bTestSite) ? "http://www.minisage.com/caseygrants/" : "http://www.caseygrants.org/";

// milonic
_menuCloseDelay=250           	// The time delay for menus to remain visible on mouse out
_menuOpenDelay=50             	// The time delay before menus open on mouse over
_subOffsetTop=5             	// Sub menu top offset from bottom of image associated with it
_subOffsetLeft=0            	// Sub menu left offset

with(menuStyle=new mm_style()){
fontfamily="Arial";				// font / font family
fontsize="11px";				// font size
fontstyle="normal";				// font style
onbgcolor="#F6F0EA";			// hover background color
oncolor="#330000";				// hover text color
offbgcolor="#E3DDD7";			// normal (non-hover) background color
offcolor="#330000";				// normal (non-hover) text color
bordercolor="#A89C91";			// border color
separatorcolor="#A89C91";		// separator color
pagebgcolor="#F6F0EA"; 			// this is the (non-hover) background color of the menu item last clicked
pagecolor="#330000";  			// this is the (non-hover) text color of the menu item last clicked
padding=3;						// menu item cell padding
borderstyle="solid";
borderwidth=1;
separatorsize="1";
headercolor="#FF0000";
headerbgcolor="#FF0000";
subimage="arrow.gif";
subimagepadding="2";
//overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="Fade(duration=0.1)";
subimage=sBaseSite + "graphics/common/flyoutarrow.gif";
}

with(milonic=new menuname("grants")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top=_subOffsetTop;
left=_subOffsetLeft;
aI("text=&nbsp;&nbsp;grants&nbsp;&nbsp;;url=" + sBaseSite + "pages/grants/grants_index.asp;");
aI("text=&nbsp;&nbsp;goals & objectives&nbsp;&nbsp;;url=" + sBaseSite + "pages/grants/grants_goalsandobj.asp;");
aI("text=&nbsp;&nbsp;about our grants&nbsp;&nbsp;;url=" + sBaseSite + "pages/grants/grants_aboutourgrants.asp;");
aI("text=&nbsp;&nbsp;faq&nbsp;&nbsp;;url=" + sBaseSite + "pages/grants/grants_faq.asp;");
aI("text=&nbsp;&nbsp;our grantees&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_ourgrantees.asp;");
}

with(milonic=new menuname("whoweare")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth; 	
top=_subOffsetTop;						
left=_subOffsetLeft;				
aI("text=&nbsp;&nbsp;who we are&nbsp;&nbsp;;url=" + sBaseSite + "pages/wwa/wwa_index.asp;");
aI("text=&nbsp;&nbsp;mission / vision&nbsp;&nbsp;;url=" + sBaseSite + "pages/wwa/wwa_missionvision.asp;");
aI("text=&nbsp;&nbsp;values&nbsp;&nbsp;;url=" + sBaseSite + "pages/wwa/wwa_values.asp;");
aI("text=&nbsp;&nbsp;remembering <br>&nbsp;&nbsp;marguerite casey&nbsp;&nbsp;;url=" + sBaseSite + "pages/wwa/wwa_rememberingmc.asp;");
aI("text=&nbsp;&nbsp;board of directors&nbsp;&nbsp;;url=" + sBaseSite + "pages/wwa/wwa_boardofdirectors.asp;");
aI("text=&nbsp;&nbsp;staff&nbsp;&nbsp;;url=" + sBaseSite + "pages/wwa/wwa_staff.asp;");
}

with(milonic=new menuname("resources")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top=_subOffsetTop;
left=_subOffsetLeft;
aI("text=&nbsp;&nbsp;resources&nbsp;&nbsp;;url=" + sBaseSite + "pages/resources/resources_index.asp;");
aI("text=&nbsp;&nbsp;publications&nbsp;&nbsp;;url=" + sBaseSite + "pages/resources/resources_reportsandpubs.asp;");
aI("text=&nbsp;&nbsp;board of directors</br>&nbsp;&nbsp;in the news;url=" + sBaseSite + "pages/resources/resources_BOD_news.asp;");
aI("text=&nbsp;&nbsp;links&nbsp;&nbsp;;url=" + sBaseSite + "pages/resources/resources_links.asp;");
}

with(milonic=new menuname("equalvoice")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth + 50;
top=_subOffsetTop;
left=_subOffsetLeft;
aI("text=&nbsp;&nbsp;equal voice&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_index.asp;");
aI("text=&nbsp;&nbsp;media list&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_medialist.asp;");
aI("text=&nbsp;&nbsp;media tools&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_mediatools.asp;");
aI("text=&nbsp;&nbsp;movement building&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_movement.asp;");
aI("text=&nbsp;&nbsp;formative papers&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_formativepapers.asp;");
aI("text=&nbsp;&nbsp;organizational capacity tool&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_org_cap_tool.asp;");
aI("text=&nbsp;&nbsp;newsroom&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_newsroom.asp;");
aI("text=&nbsp;&nbsp;policy briefs&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_policybriefs.asp;");
aI("text=&nbsp;&nbsp;best practices&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_lessons.asp;");
aI("text=&nbsp;&nbsp;grantees in the news&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_grantees_in_news_featured.asp;");
aI("text=&nbsp;&nbsp;video archive&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_videoarchive.asp;");
aI("text=&nbsp;&nbsp;our grantees&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_ourgrantees.asp;");
aI("text=&nbsp;&nbsp;grants archive&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_archive.asp;");
aI("text=&nbsp;&nbsp;reporter's rolodex&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_rolodex.asp;");
aI("text=&nbsp;&nbsp;equal voice blog&nbsp;&nbsp;;url=http://equalvoiceforamericafamilies.blogspot.com/;");
//aI("text=&nbsp;&nbsp;grantee stories&nbsp;&nbsp;;url=" + sBaseSite + "pages/stories/stories_index.asp;");
//aI("text=&nbsp;&nbsp;newsletter archive&nbsp;&nbsp;;url=" + sBaseSite + "pages/stories/stories_voices.asp;");
}


with(milonic=new menuname("contact")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top=_subOffsetTop;
left=_subOffsetLeft;
aI("text=&nbsp;&nbsp;contact us&nbsp;&nbsp;;url=" + sBaseSite + "pages/contact/contact_index.asp;");
aI("text=&nbsp;&nbsp;employment & <br>&nbsp;&nbsp;internships&nbsp;&nbsp;;url=" + sBaseSite + "pages/contact/contact_employment.asp;");
aI("text=&nbsp;&nbsp;directions&nbsp;&nbsp;;url=" + sBaseSite + "pages/contact/contact_directions.asp;");
}

//***********************************************************************************************
// voices leftnav flyout
with(milonic=new menuname("voices")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
//_subOffsetTop=-5             	// Sub menu top offset from bottom of image associated with it
//_subOffsetLeft=10            	// Sub menu left offset

top= -50;
left=120;
aI("image=" + sBaseSite + "graphics/secondarypages/voices/voice_hoverbox.jpg;;url=" + sBaseSite + "pages/equalvoice/equalvoice_index.asp;");
}

//***********************************************************************************************
// voices page 
var voices_top = -120;
var voices_bottom = 120;
nMenuWidth = 175;

with(milonic=new menuname("voices_communicate")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top= voices_top;
left=voices_bottom;
aI("text=&nbsp;&nbsp;Media Tool Kit&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_mediatools.asp;");
aI("text=&nbsp;&nbsp;Messaging & Framing&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_mediatools.asp#mf;");
aI("text=&nbsp;&nbsp;News Outlets&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_mediatools.asp#no;");
aI("text=&nbsp;&nbsp;Media Trainings&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_mediatools.asp#mt;");
aI("text=&nbsp;&nbsp;Communication Resources&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_mediatools.asp#cr;");
}
		with(milonic=new menuname("voices_communicate_presskit")){
		style=menuStyle;
		if (nMenuWidth) itemwidth=nMenuWidth;
		//top= voices_top;
		//left=voices_bottom;
		aI("text=&nbsp;&nbsp;English&nbsp;&nbsp;;url=#;");
		aI("text=&nbsp;&nbsp;Spanish&nbsp;&nbsp;;url=#;");
		}

with(milonic=new menuname("voices_difference")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top= voices_top;
left=voices_bottom;
aI("text=&nbsp;&nbsp;Movement Building&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_movement.asp;");
aI("text=&nbsp;&nbsp;Formative Papers&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_formativepapers.asp;");
aI("text=&nbsp;&nbsp;Logic Model&nbsp;&nbsp;;url=#;");
aI("text=&nbsp;&nbsp;Organizational Capacity Tool&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_org_cap_tool.asp;");
}

with(milonic=new menuname("voices_community")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top= voices_top;
left=voices_bottom;
aI("text=&nbsp;&nbsp;Lessons from the Field&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_lessons.asp;");
}

with(milonic=new menuname("voices_partnerships")){
style=menuStyle;
if (nMenuWidth) itemwidth=nMenuWidth;
top= voices_top;
left=voices_bottom;
aI("text=&nbsp;&nbsp;Grantees by Issues<br>&nbsp;&nbsp;and Region&nbsp;&nbsp;;url=" + sBaseSite + "pages/equalvoice/equalvoice_ourgrantees.asp;");
}

//drawMenus();  will do this in main body so we don't lose the page background (milonic bug)

