_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=10;
_subOffsetLeft=-10;


with(menuStyle=new mm_style()){
bordercolor="#999999";//
//borderstyle="dashed";
//borderwidth=1;
fontfamily="Arial, Tahoma, Verdana";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";//
headercolor="#000000";//
offbgcolor="#85BF2C";
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#003964";
pagecolor="";//black
separatorcolor="#666666";//#999999
separatorsize=1;
subimage="./arrow.gif";
subimagepadding=2;
//bgimage="shade.jpg";
}


	with(milonic=new menuname("Main Menu")){
	style=menuStyle;
	top=155;
	left=200;
	alwaysvisible=1;
	orientation="vertical";
	overfilter="";
	
	position="relative";


	
if(page=='index' || page=='mission' )
	{
	aI("image=./home_in.jpg;url=index.html;");
	}
	else
	{
	aI("image=./inner_02.jpg;url=index.html;");
	}



if(page=='history' || page=='mission' )
	{
	aI("image=./history_in.jpg;url=history.html;");
	}
	else
	{
	aI("image=./inner_05.jpg;url=history.html;");
	}



		if(page=='founder' || page=='mission' )
	{

	aI("image=./founder_in.jpg;url=foundermember.html;");
	}
	else
	{
	aI("image=./founder_out.jpg;url=foundermember.html;");
	}

		if(page=='president' || page=='mission' )
	{

	aI("image=./presi_out.jpg;url=president.html;");
	}
	else
	{
	aI("image=./inner_08.jpg;url=president.;html");
	}

		if(page=='projects' || page=='mission' )
	{

	aI("image=./projects_out.jpg;url=projects.html;");
	}
	else
	{
	aI("image=./inner_06.jpg;url=projects.html;");
	}

	
	if(page=='press' || page=='mission' )
	{

	aI("image=./presscoverage_in.jpg;url=press.html;");
	}
	else
	{
	aI("image=./presscoverage_out.jpg;url=press.html;");
	}


		if(page=='events' || page=='mission' )
	{

	aI("image=./events_in.jpg;url=events.html;");
	}
	else
	{
	aI("image=./events_out.jpg;url=events.html;");
	}

	if(page=='bday' || page=='mission')
	{

	aI("image=./bday_in.jpg;url=birthday.html;");
	}
	else
	{
	aI("image=./bday_out.jpg;overimage=./bday_in.jpg;url=birthday.html;");
	}


		if(page=='gallery' || page=='mission' )
	{

	aI("image=./gallery_in.jpg;url=photogallery.php;");
	}
	else
	{
	aI("image=./inner_04.jpg;url=photogallery.php;");
	}


		if(page=='awards')
	{

	aI("image=./awards_in.jpg;overimage=./awards_out.jpg;url=awards.html;");
	}
	else
	{
	aI("image=./awards_out.jpg;url=awards.html;");
	}


		if(page=='faq' || page=='mission' )
	{

	aI("image=./faq_in.jpg;url=faq.html;");
	}
	else
	{
	aI("image=./inner_09.jpg;url=faq.html;");
	}

if(page=='jyothi' || page=='mission' )
	{

	aI("image=./jyo_out.jpg;url=jyothi.html;");
	}
	else
	{
	aI("image=./jyo_in.jpg;url=jyothi.html;");
	}

/*if(page=='contest'  || page=='mission' )
	{
	aI("image=./con_in.jpg;url=contest.php;");
	}
	else
	{
	aI("image=./con_out.jpg;url=contest.php;");
	}

*/

	if(page=='acknowledgment' || page=='mission' )
	{

	aI("image=./acknowledgments_in.jpg;url=acknowledge.html;");
	}
	else
	{
	aI("image=./acknowledgments_out.jpg;url=acknowledge.html;");
	}

                  if(page=='contact' || page=='mission' )
	{

	aI("image=./cont_in.jpg;url=contact.html;");
	}
	else
	{
	aI("image=./cont_out.jpg;url=contact.html;");
	}                  
		}
	drawMenus();	
