/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
	function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(this.agent.indexOf("Opera 5")>-1)
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;	
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=(this.ie4||this.ie5||this.ie6||this.ie7)
	this.mac=(this.agent.indexOf("Mac")>-1)
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)

if( (this.ver == "4.0 (compatible; Internet Explorer 5; Macintosh; I; PPC)")&&(this.agent == ("Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)") || ("Mozilla/4.0 (compatible; MSIE 5.1b1; Mac_PowerPC)")) && (this.mac == true) ) {

this.opera5=false;
this.ie4=false;
this.ie5=1;
this.ie6=0;
this.ie=1;
this.ns6=0;
this.ns4=0;
this.bw=1;

}

	return this
}
var bw=new lib_bwcheck() //Making browsercheck object

var mDebugging=2 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.useNS4links=1 
oCMenu.checkselect=1
oCMenu.offlineUrl="file:///C|/"
oCMenu.onlineUrl="http://www.thenaturecorps.org/"


oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=1000 

oCMenu.usebar=1
oCMenu.barcolor=""
oCMenu.barwidth="632" 
oCMenu.barheight="menu" 
oCMenu.barx=0
oCMenu.bary="menu"
oCMenu.barinheritborder=0

oCMenu.rows=1
oCMenu.fromleft=236
oCMenu.fromtop=149
oCMenu.pxbetween=0

oCMenu.menuplacement="center"


oCMenu.level[0]=new Array() 
oCMenu.level[0].width=
oCMenu.level[0].height=
oCMenu.level[0].bgcoloroff="transparent"
oCMenu.level[0].bgcoloron="" 
oCMenu.level[0].textcolor=""
oCMenu.level[0].hovercolor="" 
oCMenu.level[0].style="font-family:arial,helvetica; font-size:11px;"
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1 
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="#FFFFFF"
oCMenu.level[0].align="bottom"

oCMenu.level[1]=new Array() 
oCMenu.level[1].width=135
oCMenu.level[1].height=20
oCMenu.level[1].bgcoloroff="#821D00"
oCMenu.level[1].bgcoloron="#E5B65C"
oCMenu.level[1].textcolor="#F6F6F6"
oCMenu.level[1].hovercolor="#000000"
oCMenu.level[1].style="font-family:arial,helvetica; font-size:10px; text-align:left; font-weight:normal;"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0 
oCMenu.level[1].bordercolor=""
oCMenu.level[1].NS4font="arial,helvetica"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="black"


oCMenu.level[2]=new Array() 
oCMenu.level[2].width=135
oCMenu.level[2].height=20
oCMenu.level[2].bgcoloroff="#821D00"
oCMenu.level[2].bgcoloron="#E5B65C"
oCMenu.level[2].textcolor="#F6F6F6"
oCMenu.level[2].hovercolor="#000000"
oCMenu.level[2].style="font-family:arial,helvetica; font-size:10px; text-align:left; font-weight:normal;"
oCMenu.level[2].align="bottom" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=0 
oCMenu.level[2].bordercolor=""
oCMenu.level[2].NS4font="arial,helvetica"
oCMenu.level[2].NS4fontSize="2"
oCMenu.level[2].NS4fontColor="black"


oCMenu.makeMenu('top0','','','','',173,40,'images/spacer.gif','images/spacer.gif')


oCMenu.makeMenu('top1','','','','',89,40,'images/navigation/about_but.gif','images/navigation/about_but_ovr.gif')
		oCMenu.makeMenu('sub010','top1','&nbsp;&nbsp;Our Mission','http://www.thenaturecorps.org/mission.html')
		oCMenu.makeMenu('sub011','top1','&nbsp;&nbsp;Our History','http://www.thenaturecorps.org/history.html')		
		oCMenu.makeMenu('sub012','top1','&nbsp;&nbsp;Timeline','http://www.thenaturecorps.org/timeline.html')				
		oCMenu.makeMenu('sub013','top1','&nbsp;&nbsp;Accomplishments','http://www.thenaturecorps.org/accomplishments.html')
		oCMenu.makeMenu('sub014','top1','&nbsp;&nbsp;Awards','http://www.thenaturecorps.org/awards.html')
		oCMenu.makeMenu('sub015','top1','&nbsp;&nbsp;Directors/Officers ','http://www.thenaturecorps.org/board_directors.html')


oCMenu.makeMenu('top2','','','','',124,40,'images/navigation/programs_but.gif','images/navigation/programs_but_ovr.gif')
		oCMenu.makeMenu('sub020','top2','&nbsp;&nbsp;Conservation Strategy','http://www.thenaturecorps.org/strategy.html')
		oCMenu.makeMenu('sub021','top2','&nbsp;&nbsp;Park Projects &nbsp;&nbsp;&raquo;','')
			oCMenu.makeMenu('sub0231','sub021','&nbsp;&nbsp;Yosemite','http://www.thenaturecorps.org/yosemite.html')
			oCMenu.makeMenu('sub0232','sub021','&nbsp;&nbsp;Sequoia','http://www.thenaturecorps.org/sequoia.html')
			oCMenu.makeMenu('sub0233','sub021','&nbsp;&nbsp;Kings Canyon','http://www.thenaturecorps.org/sequoia.html')
			oCMenu.makeMenu('sub0234','sub021','&nbsp;&nbsp;Channel Islands','http://www.thenaturecorps.org/channel_islands.html')
			oCMenu.makeMenu('sub0239','sub021','&nbsp;&nbsp;Hawaii Volcanoes','http://www.thenaturecorps.org/hawaii.html')
			oCMenu.makeMenu('sub0240','sub021','&nbsp;&nbsp;Future Park Projects','http://www.thenaturecorps.org/future_projects.html')


oCMenu.makeMenu('top3','','','','',98,40,'images/navigation/volunteer_but.gif','images/navigation/volunteer_but_ovr.gif')
		oCMenu.makeMenu('sub030','top3','&nbsp;&nbsp;One Day Projects','http://www.thenaturecorps.org/project_save.html')
		oCMenu.makeMenu('sub031','top3','&nbsp;&nbsp;Volunteer Vacations &nbsp;&nbsp;&raquo;','http://www.thenaturecorps.org/volunteer_vacations.html')
			oCMenu.makeMenu('sub0311','sub031','&nbsp;&nbsp;Program Details','http://www.thenaturecorps.org/volunteer_vacations.html')
			oCMenu.makeMenu('sub0312','sub031','&nbsp;&nbsp;Llama Tours','http://www.thenaturecorps.org/llama_tours.html')
		oCMenu.makeMenu('sub033','top3','&nbsp;&nbsp;Student Outings','http://www.thenaturecorps.org/youth.html')
		oCMenu.makeMenu('sub034','top3','&nbsp;&nbsp;Teacher Programs &nbsp;&nbsp;&raquo;','http://www.thenaturecorps.org/ce.html')
			oCMenu.makeMenu('sub0341','sub034','&nbsp;&nbsp;Program Details','http://www.thenaturecorps.org/ce.html')		
			oCMenu.makeMenu('sub0342','sub034','&nbsp;&nbsp;CEU Hawaii Details','http://www.thenaturecorps.org/hawaii_details.html')		
			oCMenu.makeMenu('sub0343','sub034','&nbsp;&nbsp;CEU Sierra Nevada Details','http://www.thenaturecorps.org/sn_details.html')		
		oCMenu.makeMenu('sub035','top3','&nbsp;&nbsp;Employee Programs &nbsp;&nbsp;&raquo;','http://www.thenaturecorps.org/employee_programs.html')
			oCMenu.makeMenu('sub0351','sub035','&nbsp;&nbsp;Program Details','http://www.thenaturecorps.org/employee_programs.html')		
			oCMenu.makeMenu('sub0352','sub035','&nbsp;&nbsp;Program Services','http://www.thenaturecorps.org/employee_services.html')		
			oCMenu.makeMenu('sub0353','sub035','&nbsp;&nbsp;Program Itinerary','http://www.thenaturecorps.org/employee_itinerary.html')
			oCMenu.makeMenu('sub0354','sub035','&nbsp;&nbsp;Llama Tours','http://www.thenaturecorps.org/llama_tours.html')			
		oCMenu.makeMenu('sub036','top3','&nbsp;&nbsp;FAQ','http://www.thenaturecorps.org/faq.html')
		oCMenu.makeMenu('sub037','top3','&nbsp;&nbsp;Register Now!','')
		oCMenu.makeMenu('sub038','top3','&nbsp;&nbsp;Testimonials','http://www.thenaturecorps.org/testimonials.html')


oCMenu.makeMenu('top4','','','http://www.thenaturecorps.org/membership.html','',77,40,'images/navigation/donate_but.gif','images/navigation/donate_but_ovr.gif')
		oCMenu.makeMenu('sub046','top4','&nbsp;&nbsp;Membership - NEW!','http://www.thenaturecorps.org/membership.html')
		oCMenu.makeMenu('sub040','top4','&nbsp;&nbsp;Donate Now','http://www.thenaturecorps.org/donate.html')
		oCMenu.makeMenu('sub041','top4','&nbsp;&nbsp;Donate at Work','http://www.thenaturecorps.org/donate_work.html')
		oCMenu.makeMenu('sub042','top4','&nbsp;&nbsp;Planned Giving &nbsp;&nbsp;&raquo;','')
			oCMenu.makeMenu('sub0431','sub042','&nbsp;&nbsp;Gifts From Your Will','yourwill.html')
			oCMenu.makeMenu('sub0432','sub042','&nbsp;&nbsp;Annuities and Trusts','annuities.html')
			oCMenu.makeMenu('sub0433','sub042','&nbsp;&nbsp;Stock or Securities','stocks.html')

		oCMenu.makeMenu('sub043','top4','&nbsp;&nbsp;In-kind Donation','')
		oCMenu.makeMenu('sub044','top4','&nbsp;&nbsp;Wish List','http://www.thenaturecorps.org/wishlist.html')
		oCMenu.makeMenu('sub045','top4','&nbsp;&nbsp;Why Give to Nature Corps','http://www.thenaturecorps.org/whygive.html')
		


oCMenu.makeMenu('top5','','','','',86,40,'images/navigation/sponsor_but.gif','images/navigation/sponsor_but_ovr.gif')
		oCMenu.makeMenu('sub050','top5','&nbsp;&nbsp;Park Projects','http://www.thenaturecorps.org/sponsor_park.html')
		oCMenu.makeMenu('sub051','top5','&nbsp;&nbsp;Student Volunteers','http://www.thenaturecorps.org/sponsor_student.html')
		oCMenu.makeMenu('sub052','top5','&nbsp;&nbsp;Your Employees','http://www.thenaturecorps.org/employee_programs.html')

oCMenu.makeMenu('top6','','','http://www.thenaturecorps.org/news.html','',124,40,'images/navigation/news_media_but.gif','images/navigation/news_media_but_ovr.gif')
		oCMenu.makeMenu('sub066','top6','&nbsp;&nbsp;News','http://www.thenaturecorps.org/news.html')
		oCMenu.makeMenu('sub060','top6','&nbsp;&nbsp;Press Releases','http://www.thenaturecorps.org/press.html')
		oCMenu.makeMenu('sub061','top6','&nbsp;&nbsp;Fact Sheet','http://www.thenaturecorps.org/factsheet.html')
		oCMenu.makeMenu('sub062','top6','&nbsp;&nbsp;Newsletter','http://www.thenaturecorps.org/newsletter.html')		
		oCMenu.makeMenu('sub063','top6','&nbsp;&nbsp;Timeline','http://www.thenaturecorps.org/timeline.html')						
		oCMenu.makeMenu('sub064','top6','&nbsp;&nbsp;Accomplishments','http://www.thenaturecorps.org/accomplishments.html')
		oCMenu.makeMenu('sub065','top6','&nbsp;&nbsp;Awards','http://www.thenaturecorps.org/awards.html')
		



oCMenu.makeStyle(); oCMenu.construct()		


function cm_checkScrolled(obj){
	if(bw.ns4 || bw.ns6) obj.scrolledY=obj.win.pageYOffset
	else obj.scrolledY=obj.win.document.body.scrollTop
	if(obj.scrolledY!=obj.lastScrolled){
		if(!obj.useframes){
			self.status=obj.scrolledY
			if(obj.scrolledY>119){
				for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.scrolledY)}
				if(obj.usebar) obj.oBar.moveY(obj.scrolledY)
			}else{
				for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.fromtop)}
				if(obj.usebar) obj.oBar.moveY(obj.fromtop)
			}

		}
		obj.lastScrolled=obj.scrolledY; page.y=obj.scrolledY; page.y2=page.y2orig+obj.scrolledY
		if(!obj.useframes || bw.ie){ clearTimeout(obj.tim); obj.isover=0; obj.hideSubs(1,0)}
	}
	if((bw.ns4 || bw.ns6) && !obj.useframes) setTimeout("cm_checkScrolled("+obj.name+")",200)
}