_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="#005529";
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(menuStyle1=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Tahoma, Verdana, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="";//#ffffff
headercolor="";//#000000
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="";//black
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left="10%";
top=80;
orientation="verticle";
style=menuStyle1;


var tt = document.URL;
var ttw= tt.split("/");

var page1=ttw[ttw.length-1].split(".");

var page=page1[0];
//alert(page);

//var page='<?=$name?>';
	/*if(page=='index')
	{
		
	aI("image=./home_in.jpg;url=index.php;");
	}	
	else
	{
	aI("image=./home_out.jpg;overimage=./home_in.jpg;url=index.php;");
	}*/

if( page=='dhistory')
	{
	aI("image=./rotary_web_update_sliced_04.jpg;url=dhistory.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_04.jpg;overimage=./rotary_web_04.jpg;url=dhistory.html;");
}

if(page=='dteam')
	{
	aI("image=./rotary_web_update_sliced_05.jpg;url=dteam.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_05.jpg;overimage=./rotary_web_update_sliced_05.jpg;url=dteam.html;");
}


if(page=='president')
	{
	aI("image=./rotary_web_update_sliced_32.jpg;url=president.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_32.jpg;overimage=./rotary_web_update_sliced_32.jpg;url=president.html;");
}
	

if( page=='governor')
	{
	aI("image=./rotary_web_update_sliced_06.jpg;url=governor.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_06.jpg;overimage=./rotary_web_update_sliced_06.jpg;url=governor.html;");
}

if( page=='dsecretariat')
	{
	aI("image=./rotary_web_update_sliced_23.jpg;url=dsecretariat.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_23.jpg;overimage=./rotary_web_update_sliced_23.jpg;url=dsecretariat.html;");
}

if(page=='devents')
	{
	aI("showmenu=devents;image=./rotary_web_update_sliced_10.jpg;url=devents.html");
	}
	else
	{
	aI("showmenu=devents;image=./rotary_web_update_sliced_10.jpg;overimage=./rotary_web_update_sliced_10.jpg;url=devents.html");
}

if( page=='partnersearch')
	{
	aI("image=./rotary_web_update_sliced_27.jpg;url=partnersearch.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_27.jpg;overimage=./rotary_web_update_sliced_27.jpg;url=partnersearch.html;");
}

if(page=='projects')
	{
	aI("showmenu=projects;image=./rotary_web_update_sliced_25.jpg;");
	}
	else
	{
	aI("showmenu=projects;image=./rotary_web_update_sliced_25.jpg;overimage=./rotary_web_update_sliced_25.jpg;");
}

if( page=='dge')
	{
	aI("image=./rotary_web_update_sliced_13.jpg;url=dge.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_13.jpg;overimage=./rotary_web_update_sliced_13.jpg;title=District Governor Elect;url=dge.html;");
}

if( page=='dgn')
	{
	aI("image=./rotary_web_update_sliced_14.jpg;url=dgn.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_14.jpg;overimage=./rotary_web_update_sliced_14.jpg;title=District Governor Nominee;url=dgn.html;");
}

if( page=='gml')
	{
	aI("image=./rotary_web_update_sliced_09.jpg;url=gml.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_09.jpg;overimage=./rotary_web_update_sliced_09.jpg;title=Governor's Monthly Letter;url=gml.html;");
}

if( page=='pgallery')
	{
	aI("image=./rotary_web_update_sliced_21.jpg;url=photogallery.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_21.jpg;overimage=./rotary_web_update_sliced_21.jpg;url=photogallery.html;");
}

if( page=='dofficers')
	{
	aI("showmenu=dofficers;image=./news.jpg;url=news.html;");
	}
	else
	{
	aI("showmenu=dofficers;image=./news.jpg;overimage=./news.jpg;url=news.html;");
}
/*
if( page=='joinrotary')
	{
	aI("image=./rotary_web_update_sliced_07.jpg;url=dofficers.php;");
	}
	{
	aI("image=./rotary_web_update_sliced_07.jpg;overimage=./rotary_web_update_sliced_07.jpg;url=dofficers.php;");
}*/

if( page=='downloads')
	{
	aI("image=./downloads.jpg;url=downloads.html;");
	}
	else
	{
	aI("image=./downloads.jpg;overimage=./downloads.jpg;url=downloads.html;");
}

if( page=='links')
	{
	aI("image=./rotary_web_update_sliced_29.jpg;url=links.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_29.jpg;overimage=./rotary_web_update_sliced_29.jpg;url=links.html;");
}

if( page=='contactus')
	{
	aI("image=./rotary_web_update_sliced_28.jpg;url=contactus.html;");
	}
	else
	{
	aI("image=./rotary_web_update_sliced_28.jpg;overimage=./rotary_web_update_sliced_28.jpg;url=contactus.html;");
}

if( page=='calendar')
	{
	aI("image=./rotary_web_update_sliced_28.jpg;url=http://www.google.com/calendar/embed?src=jld06shqb09cbf8iv2qbcvisq4%40g;");
	}
	else
	{
	aI("image=.calendar.jpg;overimage=.calendar.jpg;url=http://www.google.com/calendar/embed?src=jld06shqb09cbf8iv2qbcvisq4%40group.calendar.google.com&ctz=Asia/Calcutta");
}

//aI("image=semler2_08.jpg;url=contactus.php;");

}



with(milonic=new menuname("projects")){
style=menuStyle;
itemwidth=140;

top=268;
//left="28%";//280;

aI("text=Heart Surgery;url=heartsurgery.html;target=self");
aI("text=Eye Surgery;url=eyesurgery.html");
aI("text=4Way Test;url=4way_test.html");
aI("text=Comfort Station;url=comfortstation.html");
aI("text=Polio Corrective Surgery;url=poliocorrectivesurgery.php");
aI("text=School Desks;url=schooldesks.php");
aI("text=Cleft Lip Surgery;url=cleftlipsurgery.php");
aI("text=Bala Vidya;url=balavidya.html");
aI("text=Archieves;url=archieves.php");
aI("text=Club;url=club.html");
aI("text=Sankya a Computer Project;url=http://www.rotarybangaloresouth.com/sankya/index.html;target=new");
aI("text=Sankya Plus Digital Library Project;url=http://www.rotarybangaloresouth.com/digital/index.html;target=new");
aI("text=Vocational Training;url=vocational_training.html");
}

with(milonic=new menuname("devents")){
style=menuStyle;
itemwidth=140;
top=218;
//left=280;
aI("showmenu=district;text=District;url=devents.html");
aI("showmenu=handout;text=General Information");
//aI("text=AIDS Awareness Programme;url=awarness.pdf");


}
with(milonic=new menuname("handout")){
style=menuStyle;
itemwidth=140;
top=242;
//left=420;

aI("text=Handout1;url=handout1.html");
aI("text=Handout2;url=handout3.html");
aI("text=Handout3;url=handout4.html");
//aI("text=Handout4;url=handout4.html");
aI("text=2007-08 District Governors of Rotary International;url=rotary_international.html");

}

with(milonic=new menuname("dofficers")){
style=menuStyle;
itemwidth=140;
top=390;
left=280;
aI("text=Archieves;url=archieves.php");
}

with(milonic=new menuname("district")){
style=menuStyle;
itemwidth=140;
top=220;

//left=420;

aI("text=Foundation Seminar - 13th December 2007;url=devents.html;");
aI("text=Srilankan Jamboori - a festive fiesta;url=devents.html#jamboori;");
aI("text=Presidential Conference and forth coming events;url=pres_conf.html;");
aI("text=Presidential Conference On Membership Development;url=PresidentialConference.pdf;target=new");
aI("text=District Sports& Games;url=Distsports&games.php;");
//aI("text=District Sports& Games;url=Distsports&games.php;");

//aI("text=Rotary Family Nite;url=http://www.rotary3190.org/rotaryfamilynight.html");
//aI("text=Yuva Spandana;url=http://www.rotary3190.org/yuvaspandana.ppt");
//aI("text=ICGF;url=http://www.rotary3190.org/ICGF.html");

}

drawMenus();