function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// JavaScript Document
function navMenu(){

var a=""
a+='<TABLE class=rollSubMenu id=BranchesMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="Branches Menu"><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="http://www.ymcawnc.org/branches.php?content=asheville" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'downtown\',\'\',\'images/downtown_o.gif\',1)"><img src="images/downtown.gif" name="downtown" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="http://www.ymcawnc.org/branches.php?content=corpening" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'downtown2\',\'\',\'images/downtown2_o.gif\',1)"><img src="images/downtown2.gif" name="downtown2" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="http://www.ymcawnc.org/branches.php?content=reuter" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'downtown3\',\'\',\'images/downtown3_o.gif\',1)"><img src="images/downtown3.gif" name="downtown3" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="http://www.ymcawnc.org/branches.php?content=youthcenter" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'downtown4\',\'\',\'images/downtown4_o.gif\',1)"><img src="images/downtown4.gif" name="downtown4" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="http://www.ymcawnc.org/branches.php?content=childcare" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'downtown5\',\'\',\'images/downtown5_o.gif\',1)"><img src="images/downtown5.gif" name="downtown5" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="http://www.ymcawnc.org/branches.php?content=woodfin" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'downtown6\',\'\',\'images/downtown6_o.gif\',1)"><img src="images/downtown6.gif" name="downtown6" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For Branches menu
+'<TABLE class=rollSubMenu id=AboutsMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="About Menu" border=0><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="about.php?content=everyoneiswelcome" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'about_item3\',\'\',\'images/about_item3_o.jpg\',1)"><img src="images/about_item3.jpg" name="about_item3" width="156" height="23" border="0"></a></TD></TR>'
//+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="about.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'about_item1\',\'\',\'images/about_item1_o.jpg\',1)"><img src="images/about_item1.jpg" name="about_item1" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="about.php?content=history" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'about_item2\',\'\',\'images/about_item2_o.jpg\',1)"><img src="images/about_item2.jpg" name="about_item2" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For About menu
+'<TABLE class=rollSubMenu id=JoMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="Join Menu" border=0><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="join.php?content=membership" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'join_item4\',\'\',\'images/join_item4_o.gif\',1)"><img src="images/join_item4.gif" name="join_item4" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="join.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'join_item1\',\'\',\'images/join_item1_o.gif\',1)"><img src="images/join_item1.gif" name="join_item1" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For Join menu
+'<TABLE class=rollSubMenu id=ProMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="Programs Menu" border=0><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#aquatics" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item2\',\'\',\'images/program_item2_o.gif\',1)"><img src="images/program_item2.gif" name="program_item2" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#childcare" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item3\',\'\',\'images/program_item3_o.gif\',1)"><img src="images/program_item3.gif" name="program_item3" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#sports" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item7\',\'\',\'images/program_item7_o.gif\',1)"><img src="images/program_item7.gif" name="program_item7" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#fitness" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item5\',\'\',\'images/program_item5_o.gif\',1)"><img src="images/program_item5.gif" name="program_item5" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#teens" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item6\',\'\',\'images/program_item6_o.gif\',1)"><img src="images/program_item6.gif" name="program_item6" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#family" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item4\',\'\',\'images/program_item4_o.gif\',1)"><img src="images/program_item4.gif" name="program_item4" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="programs.php#summer" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'program_item8\',\'\',\'images/program_item8_o.gif\',1)"><img src="images/program_item8.gif" name="program_item8" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For Programs menu
+'<TABLE class=rollSubMenu id=GiveMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="About Menu" border=0><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="give.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'give_item1\',\'\',\'images/give_item1_o.gif\',1)"><img src="images/give_item1.gif" name="give_item1" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="give.php?content=strongkids" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'give_item2\',\'\',\'images/give_item2_o.gif\',1)"><img src="images/give_item2.gif" name="give_item2" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="give.php?content=donation" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'give_item3\',\'\',\'images/give_item3_o.gif\',1)"><img src="images/give_item3.gif" name="give_item3" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="give.php?content=heritage" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'give_item4\',\'\',\'images/give_item4_o.gif\',1)"><img src="images/give_item4.gif" name="give_item4" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="give.php?content=giving" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'give_item5\',\'\',\'images/give_item5_o.gif\',1)"><img src="images/give_item5.gif" name="give_item5" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For Give menu
+'<TABLE class=rollSubMenu id=ContactMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="About Menu" border=0><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="contact.php?content=staff" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'contact_item2\',\'\',\'images/contact_item2_o.gif\',1)"><img src="images/contact_item2.gif" name="contact_item2" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="contact.php?content=board" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'contact_item3\',\'\',\'images/contact_item3_o.gif\',1)"><img src="images/contact_item3.gif" name="contact_item3" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For Contact menu
+'<TABLE class=rollSubMenu id=EmpMenu  style="border: 1px solid #cccccc; Z-INDEX: 100; LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px" onmouseout=hideMenu() bgColor=#ffffff summary="Employment Menu" border=0><TBODY>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="employment.php?content=category&key=childcare" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'employment_item1\',\'\',\'images/employment_item1_o.gif\',1)"><img src="images/employment_item1.gif" name="employment_item1" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="employment.php?content=category&key=aquatics" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'employment_item2\',\'\',\'images/employment_item2_o.gif\',1)"><img src="images/employment_item2.gif" name="employment_item2" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="employment.php?content=category&key=membership" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'employment_item3\',\'\',\'images/employment_item3_o.gif\',1)"><img src="images/employment_item3.gif" name="employment_item3" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="employment.php?content=category&key=fitness" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'employment_item4\',\'\',\'images/employment_item4_o.gif\',1)"><img src="images/employment_item4.gif" name="employment_item4" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="employment.php?content=category&key=maintenance" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'employment_item5\',\'\',\'images/employment_item5_o.gif\',1)"><img src="images/employment_item5.gif" name="employment_item5" width="156" height="23" border="0"></a></TD></TR>'
+'<TR><TD class=rollSubMenu noWrap><A class=rollSubMenu><a href="employment.php?content=category&key=administration" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'employment_item6\',\'\',\'images/employment_item6_o.gif\',1)"><img src="images/employment_item6.gif" name="employment_item6" width="156" height="23" border="0"></a></TD></TR>'
+'</TABLE>'
//Table For Emp menu
document.write(a)}


      var tabs = ["daycamphome","traditional","teen","preschool","specialty","location"];

      function showtab( tab ){

        // first make sure all the forms are hidden
        for(i=0; i < tabs.length; i++){
          var obj = document.getElementById(tabs[i]);
          obj.style.display = "none";
        }
          
        // show the form we're interested in
        var obj = document.getElementById(tab);
        obj.style.display = "block";

      
      }
