// 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(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.jpg";
subimagepadding=0;
}

with(menuStyle_stretched=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=140;

subimage="image/arrow.jpg";
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.jpg";
subimagepadding=0;
}

with(menuStyle_small=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=60;

subimage="image/arrow.jpg";
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>About School</b>;url=;");
aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Current Event(s)</b>;url=currentnews.html;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Courses</b>;url=course.html;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=ADM;text=<b>Admission </b>;url=admission.html;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=Result;text=<b>Result Analysis </b>;url=;");

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 Archive</b>;url=video_archives.html;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("showmenu=staff;text=<b>Staff </b>;url=;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Road Map </b>;url=roadmap.html;");

aI("text=<img src='image/line2.jpg' height=1 width=181 border=0>;onbgcolor=#F8F8F8;");
aI("text=<b>Contact Us</b>;url=contactus.html;");
}

with(rkmv=new menuname("rkmv")){
overflow="scroll";
style=menuStyle;
aI("text=Introduction;url=index.html;")
aI("text=Infrastructure;url=infrastructure.html;") 
}

with(rkmv=new menuname("adm")){
overflow="scroll";
style=menuStyle;
aI("showmenu=Admission V;text=Admission V;url=;")
aI("showmenu=Admission XI;text=Admission XI;url=;")
}

with(rkmv=new menuname("Admission V")){
overflow="scroll";
style=menuStyle_stretched;
aI("text=Information;url=admissionv.html;");
}

with(rkmv=new menuname("Admission XI")){
overflow="scroll";
style=menuStyle_stretched;
aI("text=Information;url=admissionxi.html;");
}


with(rkmv=new menuname("")){
overflow="scroll";
style=menuStyle;
aI("showmenu=Board Result;text=Board Result;url=;");
}

with(rkmv=new menuname("Result")){
overflow="scroll";
style=menuStyle;
aI("text=WBBSE(X);url=resultX.html;")
aI("text=WBCHSE(XII);url=resultXII.html;")
}

with(rkmv=new menuname("School Result")){
overflow="scroll";
style=menuStyle;
aI("text=V;url=../VI_1st_2011.asp;");
aI("text=VI;url=../VII_2nd_2011.asp;");
aI("text=VII;url=../VIII_2nd_2011.asp;");
aI("text=VIII;url=../VI_1st_2011.asp;");
aI("text=IX;url=../IX_2nd_2011.asp;");
aI("text=X;url=../X_2nd_2011.asp;");
aI("text=XI;url=../XI_Annual_2010_11.asp;");
aI("text=XII;url=../XII_2nd_2011.asp;");
}

with(rkmv=new menuname("festivalsgallery")){
overflow="scroll";
style=menuStyle;
aI("showmenu=gallery_a;text=Academic;url=;")
aI("showmenu=gallery_b;text=Co-curricular;url=;")
aI("showmenu=gallery_c;text=Miscellaneous;url=;")
}

with(rkmv=new menuname("video1")){
overflow="scroll";
style=menuStyle;
aI("text=Annual Sports;url=;")
aI("text=Exhibition;url=;")
aI("text=Rabindra Jayanti;url=")
aI("text=NSS Camp;url=")
aI("text=Campus;url=")
aI("text=Alumni;url=")
aI("text=Miscellaneous;url=")
}

with(rkmv=new menuname("courses")){
overflow="scroll";
style=menuStyle;
aI("text=Vocational;url=VOC.pdf;")
aI("text=Regular;url=VOC.pdf;")
}

with(rkmv=new menuname("staff")){
overflow="scroll";
style=menuStyle;
aI("text=Permanent;url=staffp.html;")
aI("text=Temporary;url=stafft.html;")
}

with(rkmv=new menuname("gallery_a")){
overflow="scroll";
style=menuStyle;
aI("text=Class Room;url=class.html;")
aI("text=Laboratory;url=lab.html;")
aI("text=Library;url=library.html;")
aI("text=Examination Hall;url=examh.html;")
}

with(rkmv=new menuname("gallery_b")){
overflow="scroll";
style=menuStyle;
aI("text=Cultural;url=cultural.html;")
aI("text=Social;url=social.html;")
aI("text=Games & Sports;url=sports.html;")
aI("text=Exhibition;url=exhibition.html;")
}

with(rkmv=new menuname("gallery_c")){
overflow="scroll";
style=menuStyle;
aI("text=Alumni;url=alumni.html;")
}

drawMenus();


