/*****************************************************************************
Default browsercheck
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck()
var mDebugging=2

oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""
oCMenu.useNS4links=1
oCMenu.NS4padding=2
oCMenu.checkselect=0
oCMenu.offlineUrl="../scripts/"
oCMenu.onlineUrl="http://simplythebest.net/scripts/coolmenus3/"

oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=1000

oCMenu.usebar=0
oCMenu.barcolor="#cfcfff"
oCMenu.barwidth="menu"
oCMenu.barheight="menu"
oCMenu.barx="menu"
oCMenu.bary="menu"
oCMenu.barinheritborder=0

oCMenu.rows=0
oCMenu.fromleft=5
oCMenu.fromtop=120
oCMenu.pxbetween=15
oCMenu.menuplacement=0
oCMenu.NS4hover=1

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=100 
oCMenu.level[0].height=15 
oCMenu.level[0].bgcoloroff="transparent"
oCMenu.level[0].bgcoloron="transparent" 
oCMenu.level[0].textcolor="#ffffff"
oCMenu.level[0].hovercolor="#ffffcc" 
oCMenu.level[0].style="font-family: garamond,arial,helvetica; font-size:14px; font-weight:bold"
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="" 
oCMenu.level[0].offsetX=-10 
oCMenu.level[0].offsetY=-0 
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="white"
oCMenu.level[0].align="right"

//dynamic effect (controllable for each level)
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=20
oCMenu.level[0].cliptim=20

//special animation filters (IE5.5+ only, controllable for each level).
oCMenu.level[0].filter=0

//menu definitions
oCMenu.level[1]=new Array() 
oCMenu.level[1].width=90
oCMenu.level[1].height=18
oCMenu.level[1].bgcoloroff="#ffffcc"
oCMenu.level[1].bgcoloron="#336699"
oCMenu.level[1].textcolor="#336699"
oCMenu.level[1].hovercolor="#ffffcc"
oCMenu.level[1].style="padding:2px; font-family: garamond,arial,helvetica; font-size:12px; font-weight:bold"
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0 
oCMenu.level[1].bordercolor="#006699"
oCMenu.level[1].NS4font="arial,helvetica"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="black"

//dynamic effect (controllable for each level)
oCMenu.level[1].clip=1
oCMenu.level[1].clippx=20
oCMenu.level[1].cliptim=20

oCMenu.level[2]=new Array()
oCMenu.level[2].width=90
oCMenu.level[2].height=18
oCMenu.level[2].style="padding:2px; font-family: garamond,arial,helvetica; font-size:11px; font-weight:normal"
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=0 
oCMenu.level[2].bordercolor="#006699"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].NS4fontColor="black"
oCMenu.level[2].bgcoloroff="#ffffcc"
oCMenu.level[2].bgcoloron="#336699"
oCMenu.level[2].textcolor="#336699"
oCMenu.level[2].hovercolor="#ffffcc"

oCMenu.makeMenu('top0','','What we believe','beliefs.htm','',115,0)

oCMenu.makeMenu('top1','','Our Ministries','ministries.htm','',115,0)
	oCMenu.makeMenu('sub11','top1','Worship','worship.htm','',120,0)

	oCMenu.makeMenu('sub12','top1','Education','education.htm','',120,0)

	oCMenu.makeMenu('sub13','top1','Outreach','outreach.htm','',120,0)
		
	oCMenu.makeMenu('sub14','top1','Youth','youth.htm','',120,0)

	oCMenu.makeMenu('sub15','top1','Adult','adult.htm','',120,0)

	oCMenu.makeMenu('sub16','top1','Community Groups','groups.htm','',120,0)

oCMenu.makeMenu('top2','','Youth News','youth.htm','',120,0)

oCMenu.makeMenu('top3','','News & Events','news.htm','',120,0)
	oCMenu.makeMenu('sub31','top3','This Week\'s Communi-K','communi-k.htm','',155,0)
	oCMenu.makeMenu('sub32','top3','SSJ Newsletter','ssj.htm','',155,0)
	oCMenu.makeMenu('sub33','top3','Community Calendar','calendar/calendar.htm','',155,0)
	oCMenu.makeMenu('sub34','top3','Community Connections','connections.htm','',155,0)
	oCMenu.makeMenu('sub35','top3','*Special Events*','events.htm','',155,0)

oCMenu.makeMenu('top4','','Directions','directions.htm','',115,0)

oCMenu.makeMenu('top5','','Sermons','sermons.htm','',115,0)

oCMenu.makeMenu('top6','','History','ccchistory.htm','',115,0)
	oCMenu.makeMenu('sub61','top6','Community Christian Church','ccchistory.htm','',210,0)
	oCMenu.makeMenu('sub62','top6','Christian Church (Disciples of Christ)','dochistory.htm','',210,0)

oCMenu.makeMenu('top7','','Contact Us','contact.htm','',115,0)
	oCMenu.makeMenu('sub71','top7','Staff listing','staff.htm','',220,0)
	oCMenu.makeMenu('sub72','top7','e-mail Jeannine Frank, Secretary','mailto:jeannine@cccrichardson.org','',220,0)
	oCMenu.makeMenu('sub73','top7','e-mail Rev. David Cartwright, Minister','mailto:djc@cccrichardson.org','',220,0)

oCMenu.makeMenu('top8','','Join the Journey','ssj.htm','',180,0)

oCMenu.makeMenu('top9','','*Special Events*','events.htm','',180,0)

//menu activation
oCMenu.makeStyle(); oCMenu.construct()