// JavaScript Document

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps

_menuCloseDelay=500;

_menuOpenDelay=150;

_subOffsetTop=2;

_subOffsetLeft=-2;


with(menuStyle11=new mm_style()){
bordercolor="#006600";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana";
fontsize="12";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FFFFFF";
offcolor="#006600";
onbgcolor="#006600";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=4;
pagebgcolor="#FFFFFF";
pagecolor="#FFFFFF";
separatorcolor="#006600";
separatorsize=1;
itemwidth=123;

subimage="image/arrow.gif";
subimagepadding=0;
}

with(menuStyle1=new mm_style()){
align="left";
bordercolor="#006600";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana";
fontsize="12";
fontstyle="Normal";
fontweight="Nromal";
headerbgcolor="#FFFFFF";
headercolor="#000000";
offbgcolor="#F8F8F8";
offcolor="#006600";
onbgcolor="#006600";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=3;
pagebgcolor="#FFFFFF";
pagecolor="#FFFFFF";
separatorcolor="#FF0000";
separatorsize=0;
image="image/nil1.gif";
imagepadding=0;

subimage="image/arrow.gif";
subimagepadding=0;
}

with(menuStyle2=new mm_style()){
align="left";
bordercolor="#006600";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana";
fontsize="12";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#FFFFFF";
headercolor="#000000";
offbgcolor="#F8F8F8";
offcolor="#006600";
onbgcolor="#006600";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=2;
pagebgcolor="#FFFFFF";
pagecolor="#FFFFFF";
separatorcolor="#FF0000";
separatorsize=1;

image="image/nil.gif";
imagepadding=1;
subimage="image/nil.gif";
subimagepadding=0;

subimage="image/arrow.gif";
subimagepadding=0;
}

with(menuStyle=new mm_style()){
bordercolor="#006600";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FFFFFF";
offcolor="#006600";
onbgcolor="#006600";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777,Direction=135,Strength=5)";
padding=4;
pagebgcolor="#FFFFFF";
pagecolor="#FFFFFF";
separatorcolor="#006600";
separatorsize=1;
itemwidth=123;

subimage="image/arrow.gif";
subimagepadding=0;
}

with(menuStyle8=new mm_style()){
bordercolor="#006600";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FFFFFF";
offcolor="#006600";
onbgcolor="#006600";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777,Direction=135,Strength=5)";
padding=4;
pagebgcolor="#FFFFFF";
pagecolor="#FFFFFF";
separatorcolor="#006600";
separatorsize=1;
itemwidth=170;

subimage="image/arrow.gif";
subimagepadding=0;
}


with(rkmv=new menuname("Main Menu")){
alwaysvisible=1;
left=130;
//overflow="scroll";
style=menuStyle1;
top=400;
position="relative"; 

aI("showmenu=rkmv;text=<b>R K Mission Vidyapith</b>;url=rkmv.htm;");
aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");

aI("showmenu=rkm;text=<b>Ramakrishna Mission</b>;url=rkmission.htm;");
aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");

aI("text=Sri Ramakrishna;url=sriramakrishna.htm;");

aI("text=Sri  Sarada Devi;url=srisaradadevi.htm;");

aI("text=Swami Vivekananda;url=swamivivekananda.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=ADM;text=<b>Admission </b>;url=admission.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=news1;text=<b>Current News</b>;url=;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Relief and Rehabilitation</b>;url=relief.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=relief1;text=<b>Appeal</b>;url=donation.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Publications</b>;url=publication.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Festival Calendar</b>;url=festivals.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=festivalsgallery;text=<b>Photo Gallery</b>;url=;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=video1;text=<b>Video Archives</b>;url=;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=alum;text=<b>Alumni</b>;url=alumni.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Site Map</b>;url=sitemap.htm;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Contact Us</b>;url=contactus.htm;");
}


with(festgal=new menuname("festivalsgallery")){
overflow="scroll";
style=menuStyle;
aI("showmenu=gallery_a;text=Annual day;url=Annualday.htm;")
aI("showmenu=gallery_b;text=Vidyapith Temple;url=picgallery.htm;")
aI("showmenu=gallery_c;text=Campus;url=building.htm")
aI("showmenu=gallery_d;text=Balkendra;url=balkendra.htm")
aI("showmenu=gallery_d;text=Swimming Pool inaugration;url=swp.htm")
aI("showmenu=gallery_d;text=Excursion;url=excursion.htm")
aI("showmenu=gallery_d;text=Youth Day Celebration;url=youthday.htm")
aI("showmenu=gallery_d;text=Staff Picnic;url=staffpicnic.htm")
}

with(alm=new menuname("alum")){
overflow="scroll";
style=menuStyle;
aI("text=Registration;url=alumnireg.htm;")

}
with(festgal=new menuname("news1")){
overflow="scroll";
style=menuStyle;
aI("text=News & Events 2008;url=currentnews08.html;")
aI("text=News & Events 2009;url=currentnews.html;")
aI("text=News & Events 2010;url=currentnews10.html;")

}

with(video=new menuname("video1")){
overflow="scroll";
style=menuStyle;
aI("text=Drill;url=drill.htm;")
aI("text=Fire Jump;url=firejump.htm;")
aI("text=Gymnastic;url=gymnastic.htm;")
aI("text=Karate;url=Karate.htm;")
aI("text=Parallel Bar;url=pbar.htm;")
aI("text=Swimming Pool;url=swimmingpool.htm;")
aI("text=Yoga;url=yoga.htm;")

}

with(relief=new menuname("relief1")){
overflow="scroll";
style=menuStyle22;
aI("text=Adult Education ;url=YatriNiwas.pdf;")
aI("text=Yatri Niwas ;url=adulteducation.pdf;")

}
drawMenus();

