				function MM_preloadImages() { //v3.0
				  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
				    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
				    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
				} 
						
				var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
				var horizontaloffset=1 //IMPORTANT! horizontal offset of menu from default location. (0-5 is a good value)
				var selectedmainmenu;
				/////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;position: absolute; width: 160px" 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 populatemenu(what){
				if (ie4||ns6)
				dropmenuobj.innerHTML= what
				}
				
			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)) {
					if (selectedmainmenu != "undefined")
						selectedmainmenu.style.backgroundColor = "#C0CC8F"
						delayhidemenu()
					}
				else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) {
					if (selectedmainmenu != "undefined")
						selectedmainmenu.style.backgroundColor = "#C0CC8F"
						delayhidemenu()
					}
			}
				
			function hidemenu(e){
				if (typeof dropmenuobj!="undefined"){
					if (ie4||ns6)
						dropmenuobj.style.visibility="hidden"
					}
			}
			
			function delayhidemenu(){
			if (ie4||ns6)
			delayhide=setTimeout("hidemenu()",disappeardelay)
			 selectedmainmenu.style.backgroundColor = "#C0CC8F"
			}
			
			function clearhidemenu(){
			selectedmainmenu.style.backgroundColor="#FFFFCC"
			if (typeof delayhide!="undefined")
			clearTimeout(delayhide)
			}

			function popYDisclaimer(vLink)
			{
			if (vLink == 'columns')
			{
			adisclaimer=window.open("http://www.redwoodsgroup.com/ydisclaimer.asp", "disclaimer1", "toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=450");
			parent.frames[1].location = 'columns.asp';
			}
			if (vLink == 'rm')
			{
			bdisclaimer=window.open("http://www.redwoodsgroup.com/ydisclaimer.asp", "disclaimer2", "toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=450");
			parent.frames[1].location = 'YMCA/riskmng.asp';
			}
			if (vLink == 'yprogram')
			{
			cdisclaimer=window.open("http://www.redwoodsgroup.com/ydisclaimer.asp", "disclaimer3", "toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=450");
			document.location = 'YMCAs/';
			}
			}
				



