var bTestSite=false;

var sHttpPrefix="http://";



// establish test vs live site

if (window.location.toString().toLowerCase().indexOf("minisage.com") > -1)

{

	bTestSite=true;

}

// establish http vs https

if (window.location.toString().toLowerCase().indexOf("https") > -1)

{

	sHttpPrefix = "https://";

}



var nSubMenuAdditionalWidthMedium = 150;   	//mfindlay

var nSubMenuAdditionalWidthWide = 200;    	//mfindlay



var nMenuWidth=190;				// width of menus to appear. Set to zero to ignore

var sBaseSite="";

var sNonSSLBaseSite="";



// If test site, just use 1 base site

/*if (bTestSite) 

{

	sBaseSite = sHttpPrefix + "";

	sNonSSLBaseSite ="http://" + "";

}

else

{

	sNonSSLBaseSite = ""/"http://" + "";

	

	// live site. If https mode, use safesecureweb address

	if (sHttpPrefix=="https://")

	{

		sBaseSite = sHttpPrefix + "";

	}

	else

	{

		// non ssl mode, use normal address

		sBaseSite = sHttpPrefix + "";

	}

} */



//****************************************************

// reloadCAPTCHA

//****************************************************

function reloadCAPTCHA() 

{

	document.getElementById('CAPTCHA').src=sBaseSite + 'include/CAPTCHA/CAPTCHA_image.asp?'+Date();

}



//********************

// TD Top nav onclick

//********************

function NavigateTo(sTarget)

{

	//window.location.href = sBaseSite + sTarget;

	window.location.href = sNonSSLBaseSite + sTarget;

	return true;

}





//var submenuTopOffset = "offset=5";  see iym for reference use in submenu flyouts

//var submenuLeftOffset = "offset=1";



// 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=4;             	// Sub menu top offset from bottom of image associated with it

_subOffsetLeft=-4;            	// Sub menu left offset



// ABOUT US STYLE

with(aboutusMenuStyle=new mm_style()){

onbgcolor="#3D69A9";			// hover background color  

offbgcolor="#FFFFFF";			// normal (non-hover) background color  

offcolor="#3F3C36";				// normal (non-hover) text color  

oncolor="#FFFFFF";				// hover text color  

offclass="mmpadding";			// custom style attached to menu

onclass="mmpadding";			// custom style attached to menu

bordercolor="#A89C91";			// border color 

borderstyle="solid";

borderwidth=1;

fontfamily="Tahoma";				// font / font family

fontsize="11px";				// font size

fontstyle="normal";				// font style   

fontweight="bold";				// font weight (bold)   

//outfilter="Fade(duration=0.1)";

overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";

padding=3;						// menu item cell padding

pagebgcolor="#ffffff"; 			// this is the (non-hover) background color of the menu item last clicked 

pagecolor="#000000";  			// this is the (non-hover) text color of the menu item last clicked 

separatorcolor="#FFFFFF";		// separator color 

separatorsize="1";

subimage=sBaseSite + "sub_arrow.gif";

subimagepadding="2";

}

// POVERTY STYLE

with(povertyMenuStyle=new mm_style()){

onbgcolor="#3D69A9";			// hover background color  

offbgcolor="#FFFFFF";			// normal (non-hover) background color  

offcolor="#3F3C36";				// normal (non-hover) text color  

oncolor="#FFFFFF";				// hover text color 

offclass="mmpadding";			// custom style attached to menu

onclass="mmpadding";			// custom style attached to menu

bordercolor="#A89C91";			// border color 

borderstyle="solid";

borderwidth=1;

fontfamily="Tahoma";				// font / font family

fontsize="11px";				// font size

fontstyle="normal";				// font style   

fontweight="bold";				// font weight (bold)   

//outfilter="Fade(duration=0.1)";

overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";

padding=3;						// menu item cell padding

pagebgcolor="#ffffff"; 			// this is the (non-hover) background color of the menu item last clicked 

pagecolor="#000000";  			// this is the (non-hover) text color of the menu item last clicked 

separatorcolor="#FFFFFF";		// separator color 

separatorsize="1";

subimage=sBaseSite + "";

subimagepadding="2";

}

// PARTNERS STYLE

with(partnersMenuStyle=new mm_style()){

onbgcolor="#3D69A9";			// hover background color  

offbgcolor="#FFFFFF";			// normal (non-hover) background color  

offcolor="#3F3C36";				// normal (non-hover) text color  

oncolor="#FFFFFF";				// hover text color  

offclass="mmpadding";			// custom style attached to menu

onclass="mmpadding";			// custom style attached to menu

bordercolor="#A89C91";			// border color 

borderstyle="solid";

borderwidth=1;

fontfamily="Tahoma";				// font / font family

fontsize="11px";				// font size

fontstyle="normal";				// font style   

fontweight="bold";				// font weight (bold)   

//outfilter="Fade(duration=0.1)";

overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";

padding=3;						// menu item cell padding

pagebgcolor="#ffffff"; 			// this is the (non-hover) background color of the menu item last clicked 

pagecolor="#000000";  			// this is the (non-hover) text color of the menu item last clicked 

separatorcolor="#FFFFFF";		// separator color 

separatorsize="1";

subimage=sBaseSite + "";

subimagepadding="2";

}





// IMPACT STYLE

with(impactMenuStyle=new mm_style()){



}

// MEDIA STYLE

with(mediaMenuStyle=new mm_style()){



}

// INVOLVED STYLE

with(involvedMenuStyle=new mm_style()){



}



//******************** ABOUT Intellecap***********************************

with(milonic=new menuname("mmaboutunitus")){

//alwaysvisible=1;

//followscroll=1;

overflow="scroll";

style=aboutusMenuStyle;

itemwidth=190;  



//top=80;

//left=0;

//aI("align=center;pointer=move;text=drag to move menu;type=dragable;url=#;");

aI("text=Guiding Principles;url=" + sNonSSLBaseSite + "guiding_principles.htm;");

aI("text=Leadership Team;url=" + sNonSSLBaseSite + "leadershipteam.htm;");

aI("text=Directors;url=" + sNonSSLBaseSite + "founders_directors.htm;");

//aI("text=Alliance Partners;url=" + sNonSSLBaseSite + "alliance_partners.htm;");

aI("text=News & Events ;url=" + sNonSSLBaseSite + "newsandevents.htm;");

aI("text=Contact Us;url=" + sNonSSLBaseSite + "locations.htm;");





}



	



//******************** Practice Areas ***********************************

with(milonic=new menuname("mmpovertymf")){

//alwaysvisible=1;

//followscroll=1;

overflow="scroll";

style=povertyMenuStyle;

itemwidth=190;  



//top=80;

//left=0;

//aI("align=center;pointer=move;text=drag to move menu;type=dragable;url=#;");

// commented by programmer

/*aI("text=Poverty &amp; Microfinance;url=" + sNonSSLBaseSite + "#");

aI("text=Poverty: A Global Problem;url=" + sNonSSLBaseSite + "#");

aI("text=Microfinance: An Innovative Solution;url=" + sNonSSLBaseSite + "#");

aI("text=Industry Problem: Supply Not Meeting Demand;url=" + sNonSSLBaseSite + "#");

aI("showmenu=POV_Resources;text=Resources;url=" + sNonSSLBaseSite + "#");*/ // commeted by programmer end





aI("showmenu=IP_investors;text=For Investors;url=" + sNonSSLBaseSite + "forinvestors.htm;");

aI("showmenu=IP_enterprises;text=For Enterprises;url=" + sNonSSLBaseSite + "forenterprises.htm;");

aI("showmenu=IP_enterpreneurs;text=For Entrepreneurs;url=" + sNonSSLBaseSite + "forenterpreneurs.htm;");

aI("showmenu=IP_industry;text=Industry Knowledge;url=" + sNonSSLBaseSite + "industryknowledge.htm;");

}





	









//******************** Join Us ***********************************

with(milonic=new menuname("mmourpartners")){

//alwaysvisible=1;

//followscroll=1;

overflow="scroll";

style=partnersMenuStyle;

itemwidth=190;  

//top=80;

//left=0;

//aI("align=center;pointer=move;text=drag to move menu;type=dragable;url=#;");



aI("text=Intellecap Culture;url=" + sNonSSLBaseSite + "intellecap_culture.htm;");

aI("text=Meet Our People;url=" + sNonSSLBaseSite + "meet_our_people.htm;");

aI("text=Professional Development;url=" + sNonSSLBaseSite + "professional_development.htm;");

aI("text=Team Structure;url=" + sNonSSLBaseSite + "team_structure.htm;");



aI("showmenu=IP_preparation;text=Interview Preparation;url=" + sNonSSLBaseSite + "interview_preparation.htm;");

//aI("text=Interview Preparation;url=" + sNonSSLBaseSite + "interview_preparation.htm;");

aI("text=FAQs;url=" + sNonSSLBaseSite + "faqs.htm;");

aI("text=Apply;url=" + sNonSSLBaseSite + "apply.htm;");



}




