//This is the external file for the navigation on AHS
//Do not alter this first section, go straight to "Edit the appearance"



MenuTitles=new Array()

SubMenuLinks=new Array()

function Rtrn(c){

if (document.layers) c.bgColor=HighLight;

if (document.all) c.style.background=HighLight;

}

function HghLght(c){

if (document.layers) c.bgColor=MenuBgColor;

if (document.all) c.style.background=MenuBgColor;

}

OpenLayer=(document.layers)?"<br><layer width=100% onMouseOver='HghLght(this)'; onMouseOut='Rtrn(this)'><center>":"<span style='width:100%' onMouseOver='HghLght(this)'; onMouseOut='Rtrn(this)'>";

CloseLayer=(document.layers)?'</center></layer>':'</span>';



/*************** Edit the appearance here ***************/



MenuWidth=(document.layers)?131/*NS width*/:129 /*IE width*/;

MenuFont='Arial';

MenuFontSize=2; //1 to 7 only!

MenuFontColor='ffffff'; //Should match link colour!

MenuBgColor='006000';

HighLight='006000';

Separater=1;



/********* Menu titles here. Add or delete as needed *********/



MenuTitles[0]='Administration';

MenuTitles[1]='Faculty';

MenuTitles[2]='Guidance';

MenuTitles[3]='Sports/Clubs';

MenuTitles[4]='Contact Us!';

MenuTitles[5]='District Schools';



/**************************************************************************

The sub menu titles are the drop down links which appear when the corresponding 

main menu titles/headers are moused over. eg: When MenuTitles[0] is moused over, 

all the links in SubMenuLinks[0] will appear etc. You can have any number of links 

in the sub menus. !!Make sure your links are in the same format as shown!!.



Do not alter  +OpenLayer+"  and  "+CloseLayer  at the beginnings and ends!!



The first 3 links in SubMenuLinks[0] are examples!!

**************************************************************************/



SubMenuLinks[0]=""

+OpenLayer+"<a href='http://www.athenshigh.org/admin/index.html'>Main</a>"+CloseLayer






SubMenuLinks[1]=""



+OpenLayer+"<a href='http://www.athenshigh.org/faculty/science.html'>Science Department</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/faculty/english.html'>English Department</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/faculty/math.html'>Math Department</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/faculty/history.html'>History Department</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/faculty/business.html'>Business Department</a>"+CloseLayer





SubMenuLinks[2]=""

+OpenLayer+"<a href='http://www.athenshigh.org/guidance.html'>Guidance Contacts</a>"+CloseLayer

+OpenLayer+"<a href='http://www.seorf.ohiou.edu/~xx149/'>Guidance Homepage</a>"+CloseLayer


SubMenuLinks[3]=""

+OpenLayer+"<a href='http://www.athenshigh.org/sports/fall.html'>Fall Sports</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/sports/winter.html'>Winter Sports</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/sports/spring.html'>Spring Sports</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/clubs/key.html'>Key Club</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/clubs/spanish.html'>Spanish Club</a>"+CloseLayer

+OpenLayer+"<a href='http://www.athenshigh.org/clubs/interact.html'>Interact</a>"+CloseLayer


SubMenuLinks[4]=""

+OpenLayer+"<a href='http://cs1.setcampus.com/cgi-bin/contactahs.pl'>Contact us</a>"+CloseLayer


SubMenuLinks[5]=""

+OpenLayer+"<a href='http://www.seorf.ohiou.edu/~xx130'>Middle School</a>"+CloseLayer

+OpenLayer+"<a href='http://www.seorf.ohiou.edu/~ae911/chauncey/homepage.html'>Chauncey ES</a>"+CloseLayer

+OpenLayer+"<a href='http://www.seorf.ohiou.edu/~xx070'>East ES</a>"+CloseLayer

+OpenLayer+"<a href='http://www.seorf.ohiou.edu/~xx036'>Morrison ES</a>"+CloseLayer

+OpenLayer+"<a href='http://www.acrcp.org/theplainselementary'>The Plains ES</a>"+CloseLayer

+OpenLayer+"<a href='http://www.frognet.net/~west/2000'>West ES</a>"+CloseLayer

+OpenLayer+"<a href='http://athenscity.k12.oh.us/~xx130'>District Homepage</a>"+CloseLayer







/****************** You don't need to alter anything past this point ******************/





Spacer=MenuWidth+Separater;

IniPos= -MenuWidth-Separater;

aSpacer=MenuWidth+Separater;

aIniPos= -MenuWidth-Separater;

MenuAmount=MenuTitles.length;

if (document.layers){

for (i=0; i < MenuAmount; i++){

document.write("<layer name='submenu"+i+"' top=0 left="+(aIniPos+=aSpacer)+" "

+"height=10 width="+MenuWidth+" bgcolor="+HighLight+" visibility=hide"

+" onMouseOver='this.visibility=\"show\"; var cd=this.id.length-1; var ab=this.id.charAt(cd); H(ab)' "

+" onMouseOut='this.visibility=\"hide\"; var ef=this.id.length-1; var gh=this.id.charAt(ef); B(gh)'>"

+"<center><font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">"

+"&nbsp;<br>"+SubMenuLinks[i]+"<br></font></center></layer>");

} 

for (i=0; i < MenuAmount; i++){

document.write("<layer name='nsmenu"+i+"' top=0 left="+(IniPos+=Spacer)+" height=0 " 

+"width="+MenuWidth+" bgcolor="+MenuBgColor+" "

+"onMouseOver=\"this.bgColor=HighLight; var e=this.id.length-1; var d=this.id.charAt(e); On(d)\" "

+"onMouseOut=\"this.bgColor=MenuBgColor; var e=this.id.length-1; var d=this.id.charAt(e); Off(d)\">"

+"<center><font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">"

+MenuTitles[i]+"</font></center></layer>");                                       

}

function On(x){

 for (i=0; i < MenuAmount; i++){

 document.layers['submenu'+x].visibility='show';

 }

}

function Off(x){

 for (i=0; i < MenuAmount; i++){

 document.layers['submenu'+x].visibility='hide';

 }

}

function B(y){

 for (i=0; i < MenuAmount; i++){

 document.layers['nsmenu'+y].bgColor=MenuBgColor;

 }

}

function H(y){

 for (i=0; i < MenuAmount; i++){

 document.layers['nsmenu'+y].bgColor=HighLight;

 }

}

}

if (document.all){

for (i=0; i < MenuAmount; i++){

document.write("<div id='sub"+i+"' style='position:absolute;"

+"top:0px;"

+"left:"+(aIniPos+=aSpacer)+";"

+"height:0px;"

+"width:"+MenuWidth+";"

+"background:"+HighLight+";"

+"visibility:hidden'" 

+" onMouseOver='this.style.visibility=\"visible\";"

+" document.all[\"headers"+i+"\"].style.background=HighLight';"

+" onMouseOut='this.style.visibility=\"hidden\";"

+" document.all[\"headers"+i+"\"].style.background=MenuBgColor'>"

+"<center><font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">"

+"&nbsp;<br>&nbsp;<br>"+SubMenuLinks[i]+"</font></center></div>");

}

for (i=0; i < MenuAmount; i++){

document.write("<div id='headers"+i+"' style='position:absolute;"  

+"top:0px;"

+"left:"+(IniPos+=Spacer)+";"

+"height:0px;"

+"width:"+MenuWidth+";"

+"background:"+MenuBgColor+";"

+"padding:0px'"

+" onMouseOver='document.all[\"sub"+i+"\"].style.visibility=\"visible\";"

+" this.style.background=HighLight'" 

+" onMouseOut='document.all[\"sub"+i+"\"].style.visibility=\"hidden\";"

+" this.style.background=MenuBgColor'>"

+"<center><font face="+MenuFont+" size="+MenuFontSize+" color="+MenuFontColor+">"

+MenuTitles[i]+"</font></center></div>");

}

}

//-->