/***********************************************
* 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 "aboutCK" sub-menu
var aboutCK=new Array()
aboutCK[0]='<a href="/Content/142.htm">Welcome</a>'
aboutCK[1]='<a href="/Content/184.htm">Liturgy Schedules</a>'
aboutCK[2]='<a href="/Content/188.htm">Parish History</a>'
aboutCK[3]='<a href="/Content/192.htm">FAQ’s</a>'
aboutCK[4]='<a href="/Content/208.htm">Pictorial Tour of the Church</a>'
aboutCK[5]='<a href="/Content/207.htm">Staff</a>'
aboutCK[6]='<a href="/Content/206.htm">Links</a>'


//Contents for "lifeAtCK" sub-menu
var lifeAtCK=new Array()
lifeAtCK[0]='<a href="/Content/187.htm">News and Events</a>'
lifeAtCK[1]='<a href="/Content/189.htm">Parish bulletin</a>'
lifeAtCK[2]='<a href="/Content/193.htm">Calendar</a>'
lifeAtCK[3]='<a href="/Content/194.htm">Sacramental Preparation</a>'
lifeAtCK[4]='<a href="/Content/281.htm">Register online</a>'
lifeAtCK[5]='<a href="/Content/196.htm">Sausage Fest</a>'
lifeAtCK[6]='<a href="/Content/197.htm">Prayer request</a>'
lifeAtCK[7]='<a href="/Content/286.htm">Homilies</a>'


//Contents for "faithFormation" sub-menu
var faithFormation=new Array()
faithFormation[0]='<a href="/Content/198.htm">Adult</a>'
faithFormation[1]='<a href="/Content/199.htm">High School</a>'
faithFormation[2]='<a href="/Content/200.htm">Middle School</a>'
faithFormation[3]='<a href="/Content/201.htm">Children</a>'
faithFormation[4]='<a href="/Content/202.htm">Vacation Bible School</a>'
faithFormation[5]='<a href="/Content/203.htm">CCD Calendar</a>'
faithFormation[6]='<a href="/Content/204.htm">CK School</a>'
faithFormation[7]='<a href="/Content/243.htm">Registration Forms</a>'


//Contents for "ministries" sub-menu
var ministries=new Array()
ministries[0]='<a href="/Content/209.htm">Charitable</a>'
ministries[1]='<a href="/Content/210.htm">Music</a>'
ministries[2]='<a href="/Content/211.htm">Visitation</a>'
ministries[3]='<a href="/Content/213.htm">Liturgy</a>'
ministries[4]='<a href="/Content/214.htm">Parish Organizations</a>'


//Contents for "stewardship" sub-menu
var stewardship=new Array()
stewardship[0]='<a href="/Content/218.htm">Information</a>'
stewardship[1]='<a href="/Content/289.htm">Gift of Time</a>'
stewardship[2]='<a href="/Content/290.htm">Gift of Talent</a>'
stewardship[3]='<a href="/Content/282.htm">Gift of Treasure</a>'
stewardship[4]='<a href="/Content/292.htm">Get Involved</a>'


//Contents for "vocations" sub-menu
var vocations=new Array()
vocations[0]='<a href="/Content/219.htm">Priesthood</a>'
vocations[1]='<a href="/Content/293.htm">Consecrated Life</a>'
vocations[2]='<a href="/Content/294.htm">Marriage</a>'
vocations[3]='<a href="/Content/295.htm">Permanent Diaconate</a>'
vocations[4]='<a href="/Content/296.htm">Vocation Prayers</a>'



var menuwidth='50px' //default menu width
var menubgcolor='#00349a'  //menu bgcolor
var disappeardelay=250  //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+'" 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 windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
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"
}

obj.onmouseout = delayhidemenu

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
