
var menu2=new Array()
menu2[0]='<a href="../../02bishop/bishop.htm">Bishop</a>'
menu2[1]='<a href="../../03diocese/synod_office/synod_office.htm">Synod Office</a>'
menu2[2]='<a href="../../02bishop/ConstCanons/const_canons.htm">Constitutions & Canons</a>'

var menu3=new Array()
menu3[0]='<a href="../../03diocese/clergy.htm">Licensed Clergy</a>'
menu3[1]='<a href="../../03diocese/clergy_retd.htm">Retired Clergy</a>'
menu3[2]='<a href="../../03diocese/ad_clerum/ad_clerum.htm">Ad Clerum</a>'
menu3[3]='<a href="../../03diocese/LayReaders.htm">Lay Readers</a>'
menu3[4]='<a href="../../03diocese/youth/youth.htm">Youth</a>'
menu3[5]='<a href="../../03diocese/synod_office/synod_office.htm">Synod Office</a>'
menu3[6]='<a href="../../03diocese/henry_budd/hbc_main.htm">Henry Budd College</a>'
menu3[7]='<a href="../../03diocese/resource_cen/resource_cen.htm">Resource Centre</a>'
menu3[8]='<a href="../../03diocese/calendar.htm">Calendar</a>'
menu3[9]='<a href="../../03diocese/camp/camp.htm">Camp</a>'

var menu4=new Array()
menu4[0]='<a href="../../04parishes/General/brandon_stgeorges.htm">Brandon St Georges</a>'
menu4[1]='<a href="../../04parishes/General/brandon_stmarys.htm">Brandon St Marys</a>'
menu4[2]='<a href="../../04parishes/cathedral/cathedral.htm">Brandon St Matts (Cathedral)</a>'
menu4[3]='<a href="../../04parishes/General/carberry.htm">Carberry</a>'
menu4[4]='<a href="../../04parishes/General/cormorant.htm">Cormorant</a>'
menu4[5]='<a href="../../04parishes/General/easterville.htm">Easterville</a>'
menu4[6]='<a href="../../04parishes/General/flinflon.htm">Flin Flon</a>'
menu4[7]='<a href="../../04parishes/General/glenboro.htm">Glenboro</a>'
menu4[8]='<a href="../../04parishes/General/grandrapids.htm">Grand Rapids</a>'
menu4[9]='<a href="../../04parishes/General/indianbirch.htm">Indian Birch</a>'
menu4[10]='<a href="../../04parishes/General/killarney.htm">Killarney</a>'
menu4[11]='<a href="../../04parishes/General/lynnlake.htm">Lynn Lake</a>'
menu4[12]='<a href="../../04parishes/General/mooselake.htm">Moose Lake</a>'
menu4[13]='<a href="../../04parishes/General/paschch.htm">Pas Christ Church</a>'
menu4[14]='<a href="../../04parishes/General/pasmessiah.htm">Pas Messiah</a>'
menu4[15]='<a href="../../04parishes/General/pasredeemer.htm">Pas Redeemer</a>'
menu4[16]='<a href="../../04parishes/General/pelly_trail.htm">Pelly Trail</a>'
menu4[17]='<a href="../../04parishes/General/p_mountain.htm">Prairie Mountain</a>'
menu4[18]='<a href="../../04parishes/General/rivers.htm">Rivers</a>'
menu4[19]='<a href="../../04parishes/General/snowlake.htm">Snow Lake</a>'
menu4[20]='<a href="../../04parishes/General/souris.htm">Souris</a>'
menu4[21]='<a href="../../04parishes/General/swanriver.htm">Swan River</a>'
menu4[22]='<a href="../../04parishes/General/s_parkland.htm">South Parkland</a>'
menu4[23]='<a href="../../04parishes/General/virden.htm">Virden</a>'
menu4[24]='<a href="../../04parishes/General/wabowden.htm">Wabowden</a>'

var menu5=new Array()	
menu5[0]='<a href="../../05committees/AFP.htm">AFP</a>'
menu5[1]='<a href="../../05committees/AYM.htm">AYM</a>'
menu5[2]='<a href="../../05committees/bards.htm">BARDS</a>'
menu5[3]='<a href="../../05committees/camp.htm">Camp</a>'
menu5[4]='<a href="../../05committees/child_educn.htm">Children&#146;s Education</a>'
menu5[5]='<a href="../../05committees/const_canons.htm">Constitutions & Canons</a>'
menu5[6]='<a href="../../05committees/cropthorne.htm">Cropthorne</a>'
menu5[7]='<a href="../../05committees/DCAAF.htm">DCAAF</a>'
menu5[8]='<a href="../../05committees/dioc_exec.htm">Diocesan Executive</a>'
menu5[9]='<a href="../../05committees/doctrine_worship.htm">Doctrine & Worship</a>'
menu5[10]='<a href="../../05committees/FinProp.htm">Finance & Properties</a>'
menu5[11]='<a href="../../05committees/human_sexlty.htm">Human Sexuality</a>'
menu5[12]='<a href="../../05committees/investments.htm">Investments</a>'
menu5[13]='<a href="../../05committees/MustSeed.htm">Mustard Seed</a>'
menu5[14]='<a href="../../05committees/partnrs_mission.htm">Partners in Mission</a>'
menu5[15]='<a href="../../05committees/prog_plan.htm">Program & Planning</a>'
menu5[16]='<a href="../../05committees/PWRDF.htm">PWRDF</a>'
menu5[17]='<a href="../../05committees/spir_renewal.htm">Spiritual Renewal</a>'
menu5[18]='<a href="../../05committees/stipends_benfits.htm">Stipends & Benefits</a>'
menu5[19]='<a href="../../05committees/Technology.htm">Technology</a>'
menu5[20]='<a href="../../05committees/total_ministry.htm">Total Ministry</a>'
menu5[21]='<a href="../../05committees/ResCentreBd.htm">Resource Centre Board</a>'

	
var menu6=new Array()	
menu6[0]='<a href="../../06must_seed/must_seed.pdf">Current issue</a>'

var menu7=new Array()	
menu7[0]='<a href="../../07jobs/jobs.htm">Vacancies</a>'
//menu7[1]='<a href="../../07jobs/vacancy2.htm">Vacancy2</a>'
//menu7[2]='<a href="../../07jobs/vacancy3.htm">Vacancy3</a>'

var menu8=new Array()	
menu8[0]='<a href="../../08links/otherdioceses.htm">ACoC Dioceses</a>'
menu8[1]='<a href="../../08links/links_seminaries.htm">Seminaries</a>'
menu8[2]='<a href="../../08links/http://www.mothersunioncanada.ca/">Canadian MU</a>'
menu8[3]='<a href="../../08links/otherdioceses.htm.htm">Anglicans Online</a>'
menu8[4]='<a href="../../08links/otherdioceses.htm.links_angl_comm.htmtm">Anglican Communion</a>'
menu8[5]='<a href="../../08links/otherdioceses.htlinkspubsotherdioceses.htm.htm">Publications</a>'
menu8[7]='<a href="../../08links/links_other_rel_orgs.htm">Organisations</a>'
menu8[8]='<a href="../../08links/otherdioceses.htm.htm">ACoC Dioceses</a>'

var menu9=new Array()	
menu9[0]='<a href="../../09sermon_aids/Commentaries/MainList.htm">Commentaries</a>'
menu9[1]='<a href="../../09sermon_aids/BookReviews/aaCurrent/reviewspage.htm">Book Reviews</a>'
//menu9[2]='<a href="../../09sermon_aids/articles/articles.htm">Articles</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="-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

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
