/*****************************************************************************
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.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() //Making browsercheck object

var mDebugging=2 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain"
oCMenu.useclick=0
oCMenu.useNS4links=1 
oCMenu.NS4padding=2
oCMenu.checkselect=0
oCMenu.offlineUrl="file:///C|/_ipg/__client_active/barnes/"
oCMenu.onlineUrl="http://www.webcourse.edu/ipg/albert/"

oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1 
oCMenu.wait=600 

oCMenu.usebar=0 
oCMenu.barcolor="#336699" 
oCMenu.barwidth="100%" 
oCMenu.barheight="menu" 
oCMenu.barx=0 
oCMenu.bary="menu"
oCMenu.barinheritborder=0 

oCMenu.rows=1
oCMenu.fromleft=100
oCMenu.fromtop=50 
oCMenu.pxbetween=0

//avail="190+((toppage.x2-210)/6)" 
oCMenu.menuplacement=new Array(72,147,230,327,410,482,582,670)

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=150 
oCMenu.level[0].height=22 
oCMenu.level[0].bgcoloroff="transparent"
oCMenu.level[0].textcolor="616161"
oCMenu.level[0].hovercolor="3232f2" 
oCMenu.level[0].style="font-family:arial; font-size:9pt; font-weight=bold"
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="" 
oCMenu.level[0].offsetX=-5 
oCMenu.level[0].offsetY=0 
oCMenu.level[0].NS4font="arial"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="616161"
oCMenu.level[0].align="bottom" 
/*New: Added animation features that can be controlled on each level.*/
oCMenu.level[0].clip=1 //Set this to 1 if you want the submenus of this level to "slide" open in a animated clip effect. - Value: 0 || 1
oCMenu.level[0].clippx=15 //If you have clip spesified you can set how many pixels it will clip each timer in here to control the speed of the animation. - Value: px 
oCMenu.level[0].cliptim=20 //This is the speed of the timer for the clip effect. Play with this and the clippx to get the desired speed for the clip effect (be carefull though and try and keep this value as high or possible or you can get problems with NS4). - Value: milliseconds
//Filters - This can be used to get some very nice effect like fade, slide, stars and so on. EXPLORER5.5+ ONLY - If you set this to a value it will override the clip on the supported browsers
oCMenu.level[0].filter=0 //VALUE: 0 || "filter specs"


oCMenu.level[1]=new Array() 
oCMenu.level[1].width=170
oCMenu.level[1].height=20
oCMenu.level[1].bgcoloroff="cbcbcb"
oCMenu.level[1].bgcoloron="cbcbcb"
oCMenu.level[1].textcolor="616161"
oCMenu.level[1].hovercolor="3232f2"
oCMenu.level[1].style="padding:2px; font-family:arial; font-size:8pt; font-weight=bold"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=-5
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0 
oCMenu.level[1].bordercolor=""
oCMenu.level[1].NS4font="arial"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="616161"

oCMenu.level[2]=new Array()
oCMenu.level[2].width=200
oCMenu.level[2].height=18
oCMenu.level[2].style="padding:1px; font-family: arial; font-size:8pt"
oCMenu.level[2].align="bottom" 
oCMenu.level[2].offsetX=-10
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=0 
oCMenu.level[2].bordercolor="#fefecb"
oCMenu.level[2].NS4font="arial"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].NS4fontColor="616161"
oCMenu.level[2].bgcoloroff="cbcbcb"
oCMenu.level[2].bgcoloron="cbcbcb"
oCMenu.level[2].textcolor="616161"
oCMenu.level[2].hovercolor="3232f2"

oCMenu.level[3]=new Array()
oCMenu.level[3].width=200
oCMenu.level[3].height=18
oCMenu.level[3].style="padding:1px; font-family: arial; font-size:8pt"
oCMenu.level[3].align="bottom" 
oCMenu.level[3].offsetX=-5
oCMenu.level[3].offsetY=0
oCMenu.level[3].border=0 
oCMenu.level[3].bordercolor="#fefecb"
oCMenu.level[3].NS4font="arial"
oCMenu.level[3].NS4fontSize="1"
oCMenu.level[3].NS4fontColor="616161"
oCMenu.level[3].bgcoloroff="cbcbcb"
oCMenu.level[3].bgcoloron="cbcbcb"
oCMenu.level[3].textcolor="616161"
oCMenu.level[3].hovercolor="003300"

oCMenu.makeMenu('top0','','<b>education</b>','http://www.barnesfoundation.org/ed_main.html')
      oCMenu.makeMenu('sub00','top0','&nbsp;overview','http://www.barnesfoundation.org/ed_main.html','',95,15,'','','cbcbcb')
      oCMenu.makeMenu('sub01','top0','&nbsp;art','http://www.barnesfoundation.org/ed_g_approach.html','',95,18,'','','cbcbcb')
         oCMenu.makeMenu('sub010','sub01','adult courses','http://www.barnesfoundation.org/ed_g_approach.html','',85,15,'','','cbcbcb')
		    oCMenu.makeMenu('sub0100','sub010','overview','http://www.barnesfoundation.org/ed_g_approach.html','',100,15,'','','cbcbcb')
		 	//oCMenu.makeMenu('sub0101','sub010','schedule','ed_art_sched.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0101','sub010','application','http://www.barnesfoundation.org/ed_forms.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0102','sub010','course descriptions','http://www.barnesfoundation.org/ed_art_outline.html','',100,15,'','','cbcbcb')
		 oCMenu.makeMenu('sub011','sub01','kids','http://www.barnesfoundation.org/ed_g_k_main.html','',85,15,'','','cbcbcb')
 		 //next line moved up from lower level at request of robin in phone call to me 3-5-03 mvp
		 oCMenu.makeMenu('sub012','sub01','workshops','http://www.barnesfoundation.org/v_lectures.html','',85,15,'','','cbcbcb')		 
         oCMenu.makeMenu('sub013','sub01','educators','http://www.barnesfoundation.org/ed_g_educator.html','',85,15,'','','cbcbcb')
		    oCMenu.makeMenu('sub0130','sub013','overview','http://www.barnesfoundation.org/ed_g_educator.html','',100,15,'','','cbcbcb') 
		    oCMenu.makeMenu('sub0131','sub013','K-12 visits','http://www.barnesfoundation.org/r_schools.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0132','sub013','workshops','http://www.barnesfoundation.org/v_lectures.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0133','sub013','tours and events','http://www.barnesfoundation.org/v_tours.html','',100,15,'','','cbcbcb')
         oCMenu.makeMenu('sub02','top0','&nbsp;horticulture','http://www.barnesfoundation.org/ed_a_arbsch.html','',95,18,'','','cbcbcb')
		 oCMenu.makeMenu('sub020','sub02','adult courses','http://www.barnesfoundation.org/ed_a_arbsch.html','',95,15,'','','cbcbcb')
		    oCMenu.makeMenu('sub0200','sub020','overview','http://www.barnesfoundation.org/ed_a_arbsch.html','',100,15,'','','cbcbcb')
			 //oCMenu.makeMenu('sub0201','sub020','schedule','ed_arbsch_sched.html','',100,15,'','','cbcbcb')
		    oCMenu.makeMenu('sub0201','sub020','application','http://www.barnesfoundation.org/ed_forms.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0202','sub020','course descriptions','http://www.barnesfoundation.org/ed_arbsch_curric.html','',100,15,'','','cbcbcb')
         oCMenu.makeMenu('sub021','sub02','kids','http://www.barnesfoundation.org/ed_a_kids.html','',95,15,'','','cbcbcb')
		 //next line moved up from lower level at request of robin in phone call to me 3-5-03 mvp
		 oCMenu.makeMenu('sub022','sub02','workshops','http://www.barnesfoundation.org/v_lectures.html','',95,15,'','','cbcbcb')
		 oCMenu.makeMenu('sub023','sub02','educators','http://www.barnesfoundation.org/ed_g_educator.html','',95,15,'','','cbcbcb')
            oCMenu.makeMenu('sub0230','sub023','overview','http://www.barnesfoundation.org/ed_g_educator.html','',100,15,'','','cbcbcb')
		    oCMenu.makeMenu('sub0231','sub023','K-12 visits','http://www.barnesfoundation.org/r_schools.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0232','sub023','workshops','http://www.barnesfoundation.org/v_lectures.html','',100,15,'','','cbcbcb')
			oCMenu.makeMenu('sub0233','sub023','tours and events','http://www.barnesfoundation.org/v_tours.html','',100,15,'','','cbcbcb')
		 oCMenu.makeMenu('sub03','top0','&nbsp;online&nbsp;brochure','http://www.barnesfoundation.org/pdf/brochure.pdf','',95,15,'','','cbcbcb')
            

oCMenu.makeMenu('top1','','<b>collections</b>')
	oCMenu.makeMenu('sub10','top1','arboretum highlights','http://www.barnesfoundation.org/ed_a_garden.html','',121,18,'','','cbcbcb')
	       oCMenu.makeMenu('sub100','sub10','bloom highlights','http://www.barnesfoundation.org/ed_a_g_bloom.html','',100,15,'','','cbcbcb')
		   oCMenu.makeMenu('sub101','sub10','garden tours','http://www.barnesfoundation.org/v_tours.html','',100,15,'','','cbcbcb')
    oCMenu.makeMenu('sub11','top1','gallery highlights','http://www.barnesfoundation.org/ed_c_highlights.html','',121,18,'','','cbcbcb')
    oCMenu.makeMenu('sub12','top1','online exhibitions','http://www.barnesfoundation.org/ed_c_vangogh.html','',121,18,'','','cbcbcb')
      

oCMenu.makeMenu('top2','','<b>about Barnes</b>','http://www.barnesfoundation.org/h_main.html')
	oCMenu.makeMenu('sub20','top2','&nbsp;overview','http://www.barnesfoundation.org/h_main.html','',115,18,'','','cbcbcb')
      oCMenu.makeMenu('sub21','top2','&nbsp;biography','http://www.barnesfoundation.org/h_bio.html','',115,18,'','','cbcbcb')
      oCMenu.makeMenu('sub22','top2','&nbsp;circle of friends','http://www.barnesfoundation.org/h_circle.html','',115,18,'','','cbcbcb')
      oCMenu.makeMenu('sub23','top2','&nbsp;executive director','http://www.barnesfoundation.org/h_message.html','',115,18,'','','cbcbcb')
      oCMenu.makeMenu('sub24','top2','&nbsp;board of trustees','http://www.barnesfoundation.org/h_board.html','',115,18,'','','cbcbcb')
      oCMenu.makeMenu('sub25','top2','&nbsp;mission statement','http://www.barnesfoundation.org/h_mission.html','',115,18,'','','cbcbcb')
			oCMenu.makeMenu('sub26','top2','&nbsp;online&nbsp;brochure','http://www.barnesfoundation.org/pdf/brochure.pdf','',115,18,'','','cbcbcb')
      
  
	
oCMenu.makeMenu('top3','','<b>what\'s&nbsp;new</b>','http://www.barnesfoundation.org/v_calendar.html','','80')
    //oCMenu.makeMenu('sub30','top3','trips','v_trips.html','',110,18,'','','cbcbcb')
	oCMenu.makeMenu('sub30','top3','upcoming events','http://www.barnesfoundation.org/v_calendar.html','',110,18,'','','cbcbcb')
	 oCMenu.makeMenu('sub31','top3','gallery tours','http://www.barnesfoundation.org/v_tours.html','',110,18,'','','cbcbcb')
	oCMenu.makeMenu('sub32','top3','workshops','http://www.barnesfoundation.org/v_lectures.html','',110,18,'','','cbcbcb')
	oCMenu.makeMenu('sub33','top3','in the press','http://www.barnesfoundation.org/v_press.html','',110,18,'','','cbcbcb')	
	    oCMenu.makeMenu('sub330','sub33','&nbsp;newspaper articles','http://www.barnesfoundation.org/v_press.html','',115,18,'','','cbcbcb')
			oCMenu.makeMenu('sub331','sub33','&nbsp;press releases','http://www.barnesfoundation.org/v_press_release.html','',115,18,'','','cbcbcb')
	oCMenu.makeMenu('sub34','top3','internships','http://www.barnesfoundation.org/v_intern.html','',110,18,'','','cbcbcb')	

		
	
	



oCMenu.makeMenu('top4','','<b>gift store</b>','http://www.barnesfoundation.org/g_main.html','','70')
	oCMenu.makeMenu('sub40','top4','&nbsp;overview','http://www.barnesfoundation.org/g_main.html','',150,18,'','','cbcbcb')
    oCMenu.makeMenu('sub41','top4','&nbsp;<font color="red">*NEW*</font> giftstore','http://store.barnesfoundation.org/giftstore','',150,18,'','','cbcbcb')
	oCMenu.makeMenu('sub42','top4','&nbsp;custom framed art prints','http://www.barnesfoundationartprints.org','',150,18,'','','cbcbcb')
	oCMenu.makeMenu('sub43','top4','&nbsp;privacy statement','http://www.barnesfoundation.org/g_privacy.html','',150,18,'','','cbcbcb')

	
oCMenu.makeMenu('top5','','<b>reservations</b>','http://www.barnesfoundation.org/r_main.html','','85')
	oCMenu.makeMenu('sub50','top5','&nbsp;overview','http://www.barnesfoundation.org/r_main.html','',93,18,'','','cbcbcb')
	oCMenu.makeMenu('sub51','top5','&nbsp;individual','http://www.barnesfoundation.org/r_indiv.html','',93,18,'','','cbcbcb')
	oCMenu.makeMenu('sub52','top5','&nbsp;group','http://www.barnesfoundation.org/r_group.html','',93,18,'','','cbcbcb')
	oCMenu.makeMenu('sub53','top5','&nbsp;international','http://www.barnesfoundation.org/r_intl.html','',93,18,'','','cbcbcb')
	oCMenu.makeMenu('sub54','top5','&nbsp;gallery tours','http://www.barnesfoundation.org/v_tours.html','',93,18,'','','cbcbcb')
	oCMenu.makeMenu('sub55','top5','&nbsp;directions','http://www.barnesfoundation.org/d_direc.html','',93,18,'','','cbcbcb')
		oCMenu.makeMenu('sub550','sub55','driving directions','http://www.barnesfoundation.org/d_direc.html','',105,15,'','','cbcbcb')
		oCMenu.makeMenu('sub551','sub55','local map','http://www.barnesfoundation.org/pdf/map.pdf','',105,15,'','','cbcbcb')
		oCMenu.makeMenu('sub552','sub55','parking information','http://www.barnesfoundation.org/d_direc.html#park','',105,15,'','','cbcbcb')
		oCMenu.makeMenu('sub553','sub55','shuttle bus rules','http://www.barnesfoundation.org/d_direc.html#shuttle','',105,15,'','','cbcbcb')
	oCMenu.makeMenu('sub56','top5','&nbsp;feedback','http://www.barnesfoundation.org/feedback.html','',93,18,'','','cbcbcb')
  oCMenu.makeMenu('sub57','top5','&nbsp;regulations','http://www.barnesfoundation.org/r_regs.html','',93,18,'','','cbcbcb')
	oCMenu.makeMenu('sub58','top5','&nbsp;online&nbsp;brochure','http://www.barnesfoundation.org/pdf/brochure.pdf','',93,18,'','','cbcbcb')

		

oCMenu.makeMenu('top6','','<b>get&nbsp;involved</b>','http://www.barnesfoundation.org/f_main.html','','85')
	//oCMenu.makeMenu('sub60','top6','&nbsp;overview','f_main.html','',100,18,'','','cbcbcb')
    //oCMenu.makeMenu('sub61','top6','&nbsp;save the barnes','f_save.html','',100,18,'','','cbcbcb')


oCMenu.makeMenu('top7','','<b>membership</b>','http://www.barnesfoundation.org/rm_members.html','','90')
      oCMenu.makeMenu('sub70','top7','&nbsp;overview','http://www.barnesfoundation.org/rm_members.html','',115,18,'','','cbcbcb')
	oCMenu.makeMenu('sub71','top7','&nbsp;&nbsp;individual','http://www.barnesfoundation.org/rm_benefits.html','',115,18,'','','cbcbcb')
    oCMenu.makeMenu('sub72','top7','&nbsp;corporate partners','http://www.barnesfoundation.org/rm_corp.html','',115,18,'','','cbcbcb')
    oCMenu.makeMenu('sub73','top7','&nbsp;alumni','http://www.barnesfoundation.org/alum_form.html','',115,18,'','','cbcbcb')
	oCMenu.makeMenu('sub74','top7','&nbsp;application','http://www.barnesfoundation.org/pdf/bs_app.pdf','',115,18,'','','cbcbcb')

		


		
		
		
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)
}