/***********************************************
* 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
***********************************************/

//Contents for OWU Students menu
var menu1=new Array()
menu1[0]='<a href="http://mail.owu.edu/">BishopMail</a>'
menu1[1]='<a href="http://admin.owu.edu/cgi-bin/student/frame.cgi">J/CX Student Access</a>'
menu1[2]='<a href="http://studentaffairs.owu.edu/">Student Affairs</a>'
menu1[3]='<a href="http://advising.owu.edu/">Academic Advising</a>'
menu1[4]='<a href="http://directories.owu.edu/dept1.html">Academic Departments</a>'
menu1[5]='<a href="http://bb.owu.edu">Blackboard</a>'
menu1[6]='<a href="http://reserve.owu.edu">Campus Reservations</a>'
menu1[7]='<a href="https://admin.owu.edu/cgi-bin/public/OWcrsschd.cgi">Class Schedule</a>'
menu1[8]='<a href="http://www.dineoncampus.com/owu/">Dining Services</a>'
menu1[9]='<a href="http://directories.owu.edu/">Directories</a>'
menu1[10]='<a href="http://intramural.owu.edu/">Intramural Sports Program</a>'
menu1[11]='<a href="http://lis.owu.edu/">Libraries &amp; Information Services</a>'
menu1[12]='<a href="http://www.afford.com/owu" target="_blank">Online Payments</a>'
menu1[13]='<a href="http://catalog.owu.edu/">OWU Catalog</a>'
menu1[14]='<a href="http://www.owu.edu/rideshare/">OWU Student RideShare</a>'
menu1[15]='<a href="http://registrar.owu.edu/">Registrar&rsquo;s Office</a>'
menu1[16]='<a href="http://seniors.owu.edu/">Seniors (Class of 2010)</a>'
menu1[17]='<a href="http://transcript.owu.edu/">Student Newspaper (<em>The Transcript</em>)</a>'
menu1[18]='<a href="http://registrar.owu.edu/transcriptRequests.html">Transcript Requests</a>'
menu1[19]='<a href="http://whereto.owu.edu/">Where to&hellip;</a>'

//Contents for Faculty/Staff menu
var menu2=new Array()
menu2[0]='<a href="http://mail.owu.edu/">BishopMail</a>'
menu2[1]='<a href="http://admin.owu.edu/cgi-bin/faculty/frame.cgi">J/CX Faculty Access</a>'
menu2[2]='<a href="http://admin.owu.edu/cgi-bin/employee/frame.cgi">J/CX Employee Access</a>'
menu2[3]='<a href="http://advising.owu.edu/">Academic Advising</a>'
menu2[4]='<a href="http://bb.owu.edu">Blackboard</a>'
menu2[5]='<a href="http://reserve.owu.edu">Campus Reservations</a>'
menu2[6]='<a href="https://admin.owu.edu/cgi-bin/public/OWcrsschd.cgi">Class Schedule</a>'
menu2[7]='<a href="http://directories.owu.edu/">Directories</a>'
menu2[8]='<a href="http://www.owubenefits.com/" target="_blank">Human Resources</a>'
menu2[9]='<a href="http://lis.owu.edu/">Libraries &amp; Information Services</a>'
menu2[10]='<a href="http://catalog.owu.edu/">OWU Catalog</a>'
menu2[11]='<a href="http://registrar.owu.edu/">Registrar&rsquo;s Office</a>'

//Contents for Alumni menu
var menu3=new Array()
menu3[0]='<a href="http://mail.owu.edu/">BishopMail</a>'
menu3[1]='<a href="https://oldmail.owu.edu/">WebMail (old)</a>'
menu3[2]='<a href="http://www.owualumni.com/" target="_blank">myOWU</a>'
menu3[3]='<a href="http://alumni.owu.edu/apart.html">Alumni Admissions</a>'
menu3[4]='<a href="http://alumni.owu.edu/awards.html">Alumni Awards</a>'
menu3[5]='<a href="http://alumni.owu.edu/alumniassociationBoard.html">Alumni Board</a>'
menu3[6]='<a href="http://alumni.owu.edu/events.html">Alumni Events</a>'
menu3[7]='<a href="http://alumni.owu.edu/alumniJourneys.html">Alumni Journeys</a>'
menu3[8]='<a href="http://alumni.owu.edu/resources.html">Alumni Resources</a>'
menu3[9]='<a href="http://weekend.owu.edu/">Alumni Weekend</a>'
menu3[10]='<a href="http://alumni.owu.edu/bishopsInTheNews.html">Bishops in the News</a>'
menu3[11]='<a href="http://alumni.owu.edu/campus.html">Campus Overview</a>'
menu3[12]='<a href="https://www.alumniconnections.com/olc/pub/LOHW/onlinegiving/showGivingForm.jsp?form_id=1311">Give Online Now</a>'
menu3[13]='<a href="http://giving.owu.edu/">Giving to OWU</a>'
menu3[14]='<a href="http://homecoming.owu.edu/">Homecoming</a>'
menu3[15]='<a href="http://news.owu.edu/publications.html">OWU Publications</a>'
menu3[16]='<a href="http://alumni.owu.edu/apart_studentref.html">Refer a Student to OWU!</a>'
menu3[17]='<a href="http://mrrickey.owu.edu/">Remembering Mr. Rickey Campaign</a>'
menu3[18]='<a href="http://alumni.owu.edu/youngalumni.html">Young Alumni</a>'
menu3[19]='<a href="http://alumni.owu.edu/staff.html">Alumni and Development Staff</a>'

//Contents for Admission menu
var menu4=new Array()
menu4[0]='<a href="http://admission.owu.edu/index.html">Is OWU for You?</a>'
menu4[1]='<a href="http://admission.owu.edu/applyToOWU.html">Apply to OWU</a>'
menu4[2]='<a href="http://visit.owu.edu/scheduleVisit.html">Schedule Visit</a>'
menu4[3]='<a href="http://visit.owu.edu/">Visiting OWU</a>'
menu4[4]='<a href="http://admission.owu.edu/academics.html">Academics</a>'
menu4[5]='<a href="http://admission.owu.edu/app101.html">Application 101</a>'
menu4[6]='<a href="http://www.owu.edu/2013/">Class of 2013</a>'
menu4[7]='<a href="http://admission.owu.edu/collegeAdmissionAdvice.html">College Admission Advice</a>'
menu4[8]='<a href="http://admission.owu.edu/faqs.html">FAQ</a>'
menu4[9]='<a href="http://finaid.owu.edu/">Financial Aid</a>'
menu4[10]='<a href="http://admission.owu.edu/pdfs/200810-bishopBulletin.pdf" target="_blank">For Guidance Counselors (PDF)</a>'
menu4[11]='<a href="http://freshx.owu.edu">Fresh X</a>'
menu4[12]='<a href="http://intladm.owu.edu/">International Student Admission</a>'
menu4[13]='<a href="http://admission.owu.edu/chat.html">Live OWU Online Chat</a>'
menu4[14]='<a href="http://orientation.owu.edu">New Student Orientation</a>'
menu4[15]='<a href="http://www.afford.com/owu" TARGET="_blank">Online Payments</a>'
menu4[16]='<a href="http://blogs.owu.edu/">OWU Bishop Blogs</a>'
menu4[17]='<a href="http://nearyou.owu.edu/">OWU Near You</a>'
menu4[18]='<a href="http://www.facebook.com/pages/Delaware-OH/Ohio-Wesleyan-University-Admission/8688218411" target="_blank">OWU on Facebook</a>'
menu4[19]='<a href="http://about.owu.edu/pdfs/2008Viewbook.pdf" target="_blank">OWU Viewbook</a>'
menu4[20]='<a href="http://alumni.owu.edu/apart_studentref.html">Refer a Student to OWU!</a>'
menu4[21]='<a href="http://admission.owu.edu/mail.html">Request Information</a>'
menu4[22]='<a href="http://admission.owu.edu/transferringToOWU.html">Transferring to OWU</a>'
menu4[23]='<a href="http://admission.owu.edu/what2do.html">What to Do at OWU</a>'
menu4[24]='<a href="http://admission.owu.edu/yourMajor.html">Your Major</a>'

//Contents for Academics menu
var menu5=new Array()
menu5[0]='<a href="http://directories.owu.edu/dept1.html">Department Directory</a>'
menu5[1]='<a href="http://honors.owu.edu/">Honors Program</a>'
menu5[2]='<a href="http://lis.owu.edu/">Libraries &amp; Information Services</a>'
menu5[3]='<a href="http://catalog.owu.edu/">OWU Catalog</a>'
menu5[4]='<a href="http://www.perkins-observatory.org/" TARGET="_blank">Perkins Observatory</a>'
menu5[5]='<a href="http://fellowships.owu.edu/">Post-Graduate Fellowships</a>'
menu5[6]='<a href="http://registrar.owu.edu/">Registrar&rsquo;s Office</a>'
menu5[7]='<a href="http://arc.owu.edu/">Sagan Academic Resource Center</a>'
menu5[8]='<a href="http://snc.owu.edu/">Sagan National Colloquium</a>'
menu5[9]='<a href="http://ssrp.owu.edu/">Summer Science Research Program</a>'
menu5[10]='<a href="http://wcebe.owu.edu/">Woltemade Center</a>'
menu5[11]='<a href="http://admission.owu.edu/yourMajor.html">Your Major</a>'

//Contents for Athletics menu
var menu6=new Array()
menu6[0]='<a href="http://bishops.owu.edu/">Athletics Main Page</a>'
menu6[1]='<a href="http://bishops.owu.edu/coaches.html">Coaching Staff</a>'
menu6[2]='<a href="http://bishops.owu.edu/athfac.html">Facilities & Maps</a>'
menu6[3]='<a href="http://bishops.owu.edu/falske.html">Fall Schedules & Results</a>'
menu6[4]='<a href="http://bishops.owu.edu/winske.html">Winter Schedules & Results</a>'
menu6[5]='<a href="http://bishops.owu.edu/sprske.html">Spring Schedules & Results</a>'
menu6[6]='<a href="http://bishops.owu.edu/history.html">History</a>'
menu6[7]='<a href="http://bishops.owu.edu/info.html">Info & Tickets</a>'
menu6[8]='<a href="http://intramural.owu.edu/">Intramurals</a>'
menu6[9]='<a href="http://bishops.owu.edu/releases.html">News Archive</a>'
menu6[10]='<a href="http://bishops.owu.edu/gallery.html">Photo Galleries</a>'
menu6[11]='<a href="http://bishops.owu.edu/question.html">Recruitment Questionnaires</a>'
menu6[12]='<a href="http://bishops.owu.edu/rosters.html">Team Rosters</a>'
menu6[13]='<a href="http://bishops.owu.edu/stats.html">Team Statistics</a>'
menu6[14]='<a href="http://bishops.owu.edu/previews.html">Varsity Sports</a>'
menu6[15]='<a href="http://alumni.owu.edu/w.html">&ldquo;W&rdquo; Association</a>'
menu6[16]='<a href="http://annualgiving.owu.edu/teamOWU.html">Give to Team OWU</a>'

//Contents for About OWU menu
var menu7=new Array()
menu7[0]='<a href="http://news.owu.edu/">News & Media</a>'
menu7[1]='<a href="http://calendars.owu.edu/">Calendars</a>'
menu7[2]='<a href="http://admission.owu.edu/map.html">Campus Map</a>'
menu7[3]='<a href="http://safety.owu.edu/">Campus Safety</a>'
menu7[4]='<a href="http://connect2.owu.edu/">Connect2 OWU</a>'
menu7[5]='<a href="http://publicsafety.owu.edu/">Department of Public Safety</a>'
menu7[6]='<a href="http://directories.owu.edu/">Directories</a>'
menu7[7]='<a href="http://jobs.owu.edu/">Jobs @ OWU</a>'
menu7[8]='<a href="http://about.owu.edu/history.html">History of OWU</a>'
menu7[9]='<a href="http://about.owu.edu/mission.html">Mission</a>'
menu7[10]='<a href="http://unicomm.owu.edu/">Office of Marketing and Communication</a>'
menu7[11]='<a href="http://president.owu.edu/">Office of the President</a>'
menu7[12]='<a href="http://chaplain.owu.edu/">Office of University Chaplain</a>'
menu7[13]='<a href="http://bulletin.owu.edu/">OWU Bulletin</a>'
menu7[14]='<a href="http://catalog.owu.edu/">OWU Catalog</a>'
menu7[15]='<a href="http://about.owu.edu/pdfs/2008Viewbook.pdf" target="_blank">OWU Viewbook</a>'
menu7[16]='<a href="http://www.ohiowesleyan.com/" TARGET="_blank">Shop at the OWU Bookstore</a>'
menu7[17]='<a href="http://summerconferences.owu.edu/">Summer Camps / Conferences</a>'
menu7[18]='<a href="http://whereto.owu.edu/">Where to&hellip;</a>'

//Contents for Bishops | Choose Sport... menu
var menu8=new Array()
menu8[0]='<a href="http://bishops.owu.edu/baseball.html">Baseball</a>'
menu8[1]='<a href="http://bishops.owu.edu/mbb.html">Basketball (Men&rsquo;s)</a>'
menu8[2]='<a href="http://bishops.owu.edu/wbb.html">Basketball (Women&rsquo;s)</a>'
menu8[3]='<a href="http://bishops.owu.edu/mxc.html">Cross Country (Men&rsquo;s)</a>'
menu8[4]='<a href="http://bishops.owu.edu/wxc.html">Cross Country (Women&rsquo;s)</a>'
menu8[5]='<a href="http://bishops.owu.edu/fh.html">Field Hockey</a>'
menu8[6]='<a href="http://bishops.owu.edu/football.html">Football</a>'
menu8[7]='<a href="http://bishops.owu.edu/golf.html">Golf</a>'
menu8[8]='<a href="http://bishops.owu.edu/mlax.html">Lacrosse (Men&rsquo;s)</a>'
menu8[9]='<a href="http://bishops.owu.edu/wlax.html">Lacrosse (Women&rsquo;s)</a>'
menu8[10]='<a href="http://bishops.owu.edu/msoccer.html">Soccer (Men&rsquo;s)</a>'
menu8[11]='<a href="http://bishops.owu.edu/wsoccer.html">Soccer (Women&rsquo;s)</a>'
menu8[12]='<a href="http://bishops.owu.edu/softball.html">Softball</a>'
menu8[13]='<a href="http://bishops.owu.edu/mswim.html">Swimming (Men&rsquo;s)</a>'
menu8[14]='<a href="http://bishops.owu.edu/wswim.html">Swimming (Women&rsquo;s)</a>'
menu8[15]='<a href="http://bishops.owu.edu/mtennis.html">Tennis (Men&rsquo;s)</a>'
menu8[16]='<a href="http://bishops.owu.edu/wtennis.html">Tennis (Women&rsquo;s)</a>'
menu8[17]='<a href="http://bishops.owu.edu/mtrack.html">Track and Field (Men&rsquo;s)</a>'
menu8[18]='<a href="http://bishops.owu.edu/wtrack.html">Track and Field (Women&rsquo;s)</a>'
menu8[19]='<a href="http://bishops.owu.edu/vb.html">Volleyball</a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='#000000'  //menu bgcolor
var disappeardelay=400  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting 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+';opacity:.90;filter: alpha(opacity=90);" 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="-500px"
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