fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=50;
_subOffsetTop=0;
_subOffsetLeft=-1;


with(menuStyle=new mm_style()){
bordercolor="#CC3335";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#F7F7F7";
offcolor="#000000";
onbgcolor="#999999";
oncolor="#000000";
align="left";
//outfilter="GradientWipe(GradientSize=0.50,wipestyle=1,motion=reverse);  ";
//outfilter="blendTrans(duration=0.3)";
//overfilter="GradientWipe(GradientSize=0.50,wipestyle=1,motion=forward);Alpha(opacity=85);Shadow(color=#777777', Direction=135, Strength=0)";
padding=5;
pagebgcolor="#F7F7F7";
pagecolor="black";
separatorcolor="#CC3335";
separatorsize=1;
subimage="images/red-arrow.png";
subimagepadding=5;
}

with(MainmenuStyle=new mm_style()){
bordercolor="#CCCCCC";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#666666";
oncolor="#ffffff";
outfilter="Fade(duration=0.3);  ";
//outfilter="blendTrans(duration=0.3)";
overfilter="Fade(duration=0.3)";
padding=0;
pagebgcolor="#cccccc";
pagecolor="black";
separatorcolor="#cccccc";
separatorsize=0;
subimage="";
subimagepadding=5;
}


with(milonic=new menuname("Main Menu")){
// ===== script to detect screen resolution and assige left, top values
alwaysvisible=1;
orientation="horizontal";
position="relative";
style=MainmenuStyle;
//top=55;
aI("image=images/abouttrust.jpg;overimage=images/abouttrust_f2.jpg;url=html/about_devdeveshwar_trust.html;");
aI("image=images/trustees.jpg;overimage=images/trustees_f2.jpg;url=html/trustees.html;");
aI("image=images/trustactivities.jpg;overimage=images/trustactivities_f2.jpg;url=html/trust_activities.html;");
aI("image=images/aroundparvati.jpg;overimage=images/aroundparvati_f2.jpg;url=html/around_parvati.html;");
aI("image=images/aboutpune.jpg;overimage=images/aboutpune_f2.jpg;url=html/about_pune.html;");
aI("image=images/findus.jpg;overimage=images/findus_f2.jpg;showmenu=healthline;url=html/find_us.html;");
aI("image=images/contactus.jpg;overimage=images/contactus_f2.jpg;url=html/contact_us.html;");
}
drawMenus();


