
/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var server = "www.woodburysch.com"

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="/district/calendar/main.php">Yearly Calendar</a>'
menu1[1]='<a href="/district/directions.php">District Map</a>'
menu1[2]='<a href="/district/dnews.php">District News</a>'
menu1[3]='<a href="/district/EmManag.php">Emergency Management</a>'
menu1[4]='<a href="/district/EmOpp.php">Employment Opportunities</a>'
menu1[5]='<a href="/district/Equplan.php">Equity &nbsp;Plan</a>'
menu1[6]='<a href="/district/MkPds.php">Marking Periods</a>'
menu1[7]='<a href="/district/WPShistory.php">Our History</a>'
menu1[8]='<a href="/district/faculty/main.php">Staff Directory</a>'
menu1[9]='<a href="/district/superintendent/superintendent.php">Office of the Superintendent</a>'
menu1[10]='<a href="/district/business/businessoffice.php">Business Office</a>'
menu1[11]='<a href="/pupilservices/pservices.php">Pupil Services</a>'
menu1[12]='<a href="/specialservices/spserv.php">Special Services</a>'
menu1[13]='<a href="/curriculum/curriculum.php">Curriculum</a>'
menu1[14]='<a href="/district/BuildGround/buildground.php">Building and Grounds</a>'
menu1[15]='<a href="/technology/techdept.php">Technology</a>'
menu1[16]='<a href="/district/CFAE.pdf">Academic Council for <br />&nbsp;&nbsp;&nbsp;&nbsp; Excellence</a>'
menu1[17]='<a href="/pupilservices/nursing/nursing.php">Nursing Services</a>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="/boed/agendaindex.php">Board Agendas</a>'
menu2[1]='<a href="/boed/committees.php">Board Committees</a>'
menu2[2]='<a href="/boed/meetings.php">Board Meeting Dates</a>'
menu2[3]='<a href="/boed/BDMembers.php">Board Members and Terms of Office</a>'
menu2[4]='<a href="/boed/ethics.php">Board Member Code of Ethics</a>'
menu2[5]='<a href="/boed/MinutesIndex.php">Board Minutes</a>'
menu2[6]='<a href="/boed/Mission.php">Mission Statement</a>'
menu2[7]='<a href="/boed/whatisaBM.php">What is a Board Member</a>'
menu2[8]='<a href="/boed/policy/intro.pdf">Board By-Laws and Policies</a>'
menu2[9]='<a href="/district/stgplan/stgplan.php">Strategic Plan</a>'
	
//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="/schools/schools.php">The Schools</a>'
menu3[1]='<a href="/schools/displayschool.php?s=ev">Evergreen Ave. School</a>'
menu3[2]='<a href="/schools/displayschool.php?s=hs">Jr-Sr High School</a>'
menu3[3]='<a href="/schools/displayschool.php?s=wa">Walnut Street School</a>'
menu3[4]='<a href="/schools/displayschool.php?s=we">West End Memorial School</a>'

		
//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="/curriculum/curriculum.php">Curriculum</a>'
menu4[1]='<a href="/curriculum/elementary/elemcurr.php">Elementary Schools</a>'
menu4[2]='<a href="/curriculum/srhigh/curr6-12.php">Jr.- Sr. High School</a>'
menu4[3]='<a href="http://www.nj.gov/njded/aps/cccs">New Jersey &nbsp;Curriculum Core &nbsp;Content Standards</a>'
menu4[4]='<a href="/curriculum/prodevel.php">Professional &nbsp;Development</a>'
menu4[5]='<a href="http://education.state.nj.us/rc/rc07/index.html">School Report Card</a>'
menu4[6]='<a href="http://www.nj.gov/njded/schools/achievement">District Reports</a>'
menu4[7]='<a href="https://www.woodburysch.com/private/allstaff/cmapping/CurrMapping.ppt">Curriculum Mapping PowerPoint</a>'
		
//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="/pupilservices/pservices.php">Pupil Services</a>'
menu5[1]='<a href="/pupilservices/elemcoun.php">Elementary Counseling</a>'
menu5[2]='<a href="/pupilservices/jhcoun.php">Junior High Counseling</a>'
menu5[3]='<a href="/pupilservices/srhighguid/shcoun.php">Senior High &nbsp;Counseling</a>'
menu5[4]='<a href="/pupilservices/nursing/nursing.php">Nursing Services</a>'
menu5[5]='<a href="/pupilservices/srhighguid/top.php">Top of the Class</a>'
menu5[6]='<a href="/pupilservices/safestudents/safe.php">Safe Homes Network</a>'
menu5[7]='<a href="/pupilservices/option2.php">Option II</a>'
menu5[8]='<a href="/pupilservices/srhighguid/HSprofile0809.pdf">High School Profile</a>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<a href="/specialservices/spserv.php">Special Services</a>'
menu6[1]='<a href="/specialservices/spserv.php#specservices">Office of Special Services</a>'
menu6[2]='<a href="/specialservices/spserv.php#specservices">Child Study Team Members</a>'
menu6[3]='<a href="/specialservices/spserv.php#specedprog">Special Education Programs</a>'
menu6[4]='<a href="/specialservices/spserv.php#specedteachers">Special Education Faculty</a>'
menu6[5]='<a href="/specialservices/violence.php">Stop School Violence</a>'
menu6[6]='<a href="/specialservices/childfine.php">Special Education Child Find</a>'

//Contents for menu 7
var menu7=new Array()
menu7[0]='<a href="/technology/techdept.php">Technology</a>'
menu7[1]='<a href="/technology/elemtech/elemtech.php">Elementary School &nbsp;Technology</a>'
menu7[2]='<a href="/technology/srhightech/6-12tech.php">Jr./Sr. High School &nbsp;Technology</a>'
menu7[3]='<a href="/technology/TechPlan07.pdf">Three Year &nbsp;Technology Plan</a>'

//Contents for menu 8
var menu8=new Array()
menu8[0]='<a href="/athletics/athletics.php#welcome">AD’s Welcome Letter</a>'
menu8[1]='<a href="http://www.colonialconference.org/g5-bin/client.cgi?G5genie=313&school_id=15">Schedules</a>'
menu8[2]='<a href="/athletics/scheduler0811.pdf">Activity Scheduler &nbsp;&nbsp;&nbsp;&nbsp;Guide</a>'
menu8[3]='<a href="/activities/programs.php">Activities</a>'
menu8[4]='<a class="headertext5">Athletics</a>'
menu8[5]='<a href="/athletics/sportcoaches.php" class="linktext3">&nbsp;&nbsp;Sports/Coaches</a>'
menu8[6]='<a href="/athletics/WHSfielddirection.php" class="linktext3">&nbsp;Directions to Woodbury &nbsp;&nbsp;Jr./Sr. High School Athletic &nbsp;&nbsp;&nbsp;Fields </a>'
menu8[7]='<a href="/athletics/directionscc.php" class="linktext3">&nbsp;Directions to Colonial &nbsp;&nbsp;&nbsp;Conference Fields </a>'
menu8[8]='<a href="/athletics/directionsos.php" class="linktext3">&nbsp;Directions to Other &nbsp;Schools</a>'
menu8[9]='<a href="/athletics/parentcoaches.php" class="linktext3">&nbsp;&nbsp;Parent/Coach &nbsp;&nbsp;&nbsp;Communication Guide</a>'
menu8[10]='<a href="http://www.nj.gov/education/students/safety/health/records/athleticphysicalsform.pdf" class="linktext3">&nbsp;&nbsp;Physicals</a>'
menu8[11]='<a href="/athletics/halloffame.php" class="linktext3">&nbsp;&nbsp;Hall of Fame</a>'
menu8[12]='<a href="/athletics/trainer.php" class="linktext3">&nbsp;&nbsp;Athletic Trainer</a>'
menu8[13]='<a href="/athletics/relays.php" class="linktext3">&nbsp;&nbsp;Woodbury Relays</a>'
menu8[14]='<a href="/athletics/fieldtripform.pdf">Field Trip Permission Slip</a>'
menu8[15]='<a href="/athletics/SCDBrochure0311.pdf">SCD In Young Adults</a>'


//Contents for menu 9
var menu9=new Array()
menu9[0]='<a href="/community/community.php">Community</a>'
menu9[1]='<a href="http://www.woodbury.nj.us">Woodbury</a>'
menu9[2]='<a href="/district/dnews.php">District News</a>'
menu9[3]='<a href="/district/WPShistory.php">History of Woodbury Public Schools</a>'
menu9[4]='<a href="/community/porg/porg.php">Parent Organizations</a>'
menu9[5]='<a href="/community/alumni/almni.php">Woodbury Alumni Association </a>'


//Contents for menu 10
var menu10=new Array()
menu10[0]='<a href="/parentinfo/parent.php">Parent Information</a>'
menu10[1]='<a href="/district/directions.php">District Map</a>'
menu10[2]='<a href="http://education.state.nj.us/rc/rc07/index.html">School Report Card</a>'
menu10[3]='<a href="/specialservices/spserv.php">Special Services</a>'
menu10[4]='<a href="/parentinfo/software.php">Free and Reduced Priced Software</a>'
menu10[5]='<a href="https://powerschool.woodburysch.com/public">PowerSchool for Parents</a>'


//Contents for menu 11
var menu11=new Array()
menu11[0]='<a href="https://'+server+'/private/allstaff/forms/forms.php">Forms</a>'
menu11[1]='<a href="https://'+server+'/private/allstaff/evalforms/evalforms.php">Staff Evaluation Forms</a>'
menu11[2]='<a href="https://'+server+'/private/allstaff/payroll/payroll.php">Payroll and Benefits</a>'
menu11[3]='<a href="https://powerschool.woodburysch.com/teachers/pw.html">PowerSchool for Teachers</a>'
menu11[4]='<a href="https://powerschool.woodburysch.com/admin/pw.html">PowerSchool for Administrators</a>'
menu11[5]='<a href="http://login.clihome.com/">Curriculum Mapper</a>'
menu11[6]='<a href="https://succeed.naviance.com/signin.php">Naviance</a>'
menu11[7]='<a href="https://'+server+'/private/allstaff/staffcurr/staffcurr.php">Staff Curricular Information</a>'
menu11[8]='<a href="https://hosted235.renlearn.com/16498/">Elementary Accelerated Math &amp; Reading</a>'
menu11[9]='<a href="https://reports.nwea.org/Login.aspx">Map Test Results</a>'
menu11[10]='<a href="/district/faculty/main.php">Staff Directory</a>'
menu11[11]='<a href="https://mail.woodburysch.com/exchange">Webmail</a>'

//Contents for menu 12
var menu12=new Array()
menu12[0]='<a href="/parentinfo/software.php">Software Discounts</a>'
menu12[1]='<a href="https://powerschool.woodburysch.com/public">PowerSchool for Parents</a>'
menu12[2]='<a href="http://www.woodbury.nj.us">The City of Woodbury</a>'
menu12[3]='<a href="/community/porg/porg.php">Parent Organizations</a>'
menu12[4]='<a href="/community/alumni/almni.php">Woodbury Alumni Association</a>'
//menu12[6]='<a href="https://www.woodburysch.com/tools/surveysays/takesurvey.php?sid=7">Community Survey</a>'

var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editing needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
<!-- dropmenuobj.style.left=dropmenuobj.style.top=-500 -->
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

