// Start Main Navigation Menu Scripts for Dangelmayer Associates by WebPaws.com

function mmLoadMenus() {
  if (window.mm_menu_For_Adults) return;

window.mm_menu_Dance_Adults = new Menu("Dance&nbsp;Programs",170,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true,0);
		mm_menu_Dance_Adults.addMenuItem("Class&nbsp;Schedule","location='/class-schedule.html'");		
		mm_menu_Dance_Adults.addMenuItem("Class&nbsp;Descriptions","location='/class_descriptions_adult.htm'");
		mm_menu_Dance_Adults.addMenuItem("Flamenco&nbsp;Classes","location='/Flamenco.html'");
		mm_menu_Dance_Adults.addMenuItem("Photos","location='/photos.htm'");		
		mm_menu_Dance_Adults.addMenuItem("Dance&nbsp;Camp&nbsp;2010","location='/adultsummercamps2010.html'");
		mm_menu_Dance_Adults.fontWeight="bold";
		mm_menu_Dance_Adults.hideOnMouseOut=true;
		mm_menu_Dance_Adults.bgColor='#D9B11F';
		mm_menu_Dance_Adults.menuBorder=0;
		mm_menu_Dance_Adults.menuLiteBgColor='#D9B11F';
		mm_menu_Dance_Adults.menuBorderBgColor='#D9B11F';


/*function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) */
window.mm_menu_Dance_Children = new Menu("Dance&nbsp;Programs",150,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
		mm_menu_Dance_Children.addMenuItem("Children&rsquo;s&nbsp;Schedule","location='/childclasses.html'");		
		mm_menu_Dance_Children.addMenuItem("Class&nbsp;Descriptions","location='/class_descriptions_children.htm'");	
		mm_menu_Dance_Children.addMenuItem("Photos","location='/photos.htm'");		
		mm_menu_Dance_Children.addMenuItem("Preschool&nbsp;Program","location='/Preschool-Program.html'");
		mm_menu_Dance_Children.addMenuItem("Primary&nbsp;Division","location='/Primary-Division.html'");
		mm_menu_Dance_Children.addMenuItem("Alternate&nbsp;Disciplines","location='/Alternate-Disciplines.html'");
		mm_menu_Dance_Children.addMenuItem("Birthday&nbsp;Parties","location='/Birthday-Parties.html'");
		mm_menu_Dance_Children.fontWeight="bold";
		mm_menu_Dance_Children.hideOnMouseOut=true;
		mm_menu_Dance_Children.bgColor='#D9B11F';
		mm_menu_Dance_Children.menuBorder=0;
		mm_menu_Dance_Children.menuLiteBgColor='#D9B11F';
		mm_menu_Dance_Children.menuBorderBgColor='#D9B11F';

window.mm_menu_Music = new Menu("Music&nbsp;Programs",250,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
		mm_menu_Music.addMenuItem("Learn&nbsp;Music","location='/learn_music.html'");
		mm_menu_Music.addMenuItem("Music&nbsp;Lessons","location='/music.html'");
		mm_menu_Music.addMenuItem("Music&nbsp;Class&nbsp;Description","location='/music_class.html'");
		mm_menu_Music.addMenuItem("Music&nbsp;Tuition&nbsp;&amp;&nbsp;Schedule","location='/music_fee_schedule.htm'");
		mm_menu_Music.addMenuItem("Get&nbsp;The&nbsp;Most&nbsp;Out&nbsp;Of&nbsp;Music&nbsp;Lessons","location='/5way.html'");
		mm_menu_Music.addMenuItem("Music&nbsp;Q&amp;A","location='/common_q_a.html'");		
		mm_menu_Music.fontWeight="bold";
		mm_menu_Music.hideOnMouseOut=true;
		mm_menu_Music.bgColor='#E5E6E7';
		mm_menu_Music.menuBorder=0;
		mm_menu_Music.menuLiteBgColor='#E5E6E7';
		mm_menu_Music.menuBorderBgColor='#E5E6E7';
		
window.mm_menu_For_Adults = new Menu("For&nbsp;Adults",180,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
		mm_menu_For_Adults.addMenuItem("Adult&nbsp;Info","location='/adult_class.htm'");
		mm_menu_For_Adults.addMenuItem(mm_menu_Music);
		mm_menu_For_Adults.addMenuItem(mm_menu_Dance_Adults);
		mm_menu_For_Adults.addMenuItem("Capoeira","location='/capoeira.htm'");
		mm_menu_For_Adults.addMenuItem("About&nbsp;our&nbsp;Dance&nbsp;Teachers","location='/bios-web.htm'");
		mm_menu_For_Adults.addMenuItem("Testimonials","location='/testimonials.html'");		
	    mm_menu_For_Adults.childMenuIcon="images/tri.gif"; 		
		mm_menu_For_Adults.fontWeight="bold";
		mm_menu_For_Adults.hideOnMouseOut=true;
		mm_menu_For_Adults.bgColor='#D9B11F';
		mm_menu_For_Adults.menuBorder=0;
		mm_menu_For_Adults.menuLiteBgColor='#D9B11F';
		mm_menu_For_Adults.menuBorderBgColor='#D9B11F';
		
window.mm_menu_For_Children = new Menu("For&nbsp;Children",180,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
		mm_menu_For_Children.addMenuItem("Children's&nbsp;Info","location='/Children.html'");
		mm_menu_For_Children.addMenuItem(mm_menu_Music);
		mm_menu_For_Children.addMenuItem(mm_menu_Dance_Children);		
		mm_menu_For_Children.addMenuItem("Capoeira","location='/capoeira.htm'");				
		mm_menu_For_Children.addMenuItem("Birthday&nbsp;Parties","location='/Birthday-Parties.html'");
		mm_menu_For_Children.addMenuItem("Class&nbsp;Memos","location='/class_memos.html'");
		mm_menu_For_Children.addMenuItem("About&nbsp;our&nbsp;Dance&nbsp;Teachers","location='/bios-web.htm'");
		mm_menu_For_Children.addMenuItem("Testimonials","location='/testimonials.html'");
		mm_menu_For_Children.childMenuIcon="images/tri.gif";
		mm_menu_For_Children.fontWeight="bold";
		mm_menu_For_Children.hideOnMouseOut=true;
		mm_menu_For_Children.bgColor='#D9B11F';
		mm_menu_For_Children.menuBorder=0;
		mm_menu_For_Children.menuLiteBgColor='#D9B11F';
		mm_menu_For_Children.menuBorderBgColor='#D9B11F';

window.mm_menu_0406132444_0 = new Menu("root",237,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
	   mm_menu_0406132444_0.addMenuItem("CityDance","location='/city_dance.htm'");
	   mm_menu_0406132444_0.addMenuItem("CityDance&nbsp;Ensemble","location='/city_dance_ensemble.htm'");
	   mm_menu_0406132444_0.addMenuItem("CityDance&nbsp;Descriptions","location='/city_dance_descriptions.html'");
	   mm_menu_0406132444_0.addMenuItem("Upcoming&nbsp;Events&nbsp;&amp;&nbsp;Recent&nbsp;Events","location='/city_dance_upcoming.html'");	  
	   mm_menu_0406132444_0.addMenuItem("CityDance&nbsp;Photos","location='/photos.htm'");
	   mm_menu_0406132444_0.fontWeight="bold";
	   mm_menu_0406132444_0.hideOnMouseOut=true;
	   mm_menu_0406132444_0.bgColor='#E5E6E7';
	   mm_menu_0406132444_0.menuBorder=0;
	   mm_menu_0406132444_0.menuLiteBgColor='#E5E6E7';
	   mm_menu_0406132444_0.menuBorderBgColor='#E5E6E7';
	   
window.mm_menu_0406133022_0 = new Menu("root",175,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
  		mm_menu_0406133022_0.addMenuItem("Workshops&nbsp;Auditions","location='/Workshops_Auditions.html'");
 		mm_menu_0406133022_0.addMenuItem("Flamenco&nbsp;Workshop","location='/Flamenco.html'");
		mm_menu_0406133022_0.addMenuItem("Auditions&nbsp;(PDF)","location='/Hitmakers_Flyer_ALANTA%20PC.pdf'");
  		mm_menu_0406133022_0.fontWeight="bold";
	    mm_menu_0406133022_0.hideOnMouseOut=true;
	    mm_menu_0406133022_0.bgColor='#E5E6E7';
	    mm_menu_0406133022_0.menuBorder=0;
	    mm_menu_0406133022_0.menuLiteBgColor='#E5E6E7';
	    mm_menu_0406133022_0.menuBorderBgColor='#E5E6E7';

	window.mm_menu_0406133535_0 = new Menu("root",150,16,"Arial, Helvetica, sans-serif",11,"#EBD37A","#160C5F","#7F75C9","#7F75C9","left","middle",3,0,100,-5,7,true,false,true,0,true,true);
	  mm_menu_0406133535_0.addMenuItem("See&nbsp;The&nbsp;School","location='/studio_tour.htm'");
	  mm_menu_0406133535_0.addMenuItem("Studio&nbsp;Location","location='/studio_location.htm'");
	  mm_menu_0406133535_0.addMenuItem("Rent&nbsp;Our&nbsp;Facilities","location='/studio-rental.html'");	  
	  mm_menu_0406133535_0.fontWeight="bold";
	  mm_menu_0406133535_0.hideOnMouseOut=true;
	  mm_menu_0406133535_0.bgColor='#E5E6E7';
	  mm_menu_0406133535_0.menuBorder=0;
	  mm_menu_0406133535_0.menuLiteBgColor='#E5E6E7';
	  mm_menu_0406133535_0.menuBorderBgColor='#E5E6E7';

	  mm_menu_0406133535_0.writeMenus();	   
	   
} // mmLoadMenus()


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_nbGroup(event, grpName) {
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
   } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}



/*function OffsetY(menu) {
		if (document.getElementById("WhatsNew")) { menu[2]
		var z = 0;
		
		if (menu[this.label] = "WhatsNew") {			
			var z = -40;
		}else{
			var z = 0;
		}	
		return z;
}*/

//MM_showMenu(window.mm_menu_0326003107_0,157,-25,null,'WhatsNew')

function MM_showMenu(menu, x, y, child, imgname, z) {
	if (!window.mmWroteMenu) return;
	MM_clearTimeout();
	if (menu) {
		var obj = FINDIT(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
		
		
		
	// If you want to move menu towards top then just put y = y - 10 where 10 is the number of pixels
	
	/*	var z;
		z = 0;
		z = OffsetY(menu);
		//z = parseInt(menu[2]); */
		if(!z) z=0;
		if (menu==mm_menu_0326003107_0) {
			z=-20;
		}
		y = y - z;

		x = moveXbySlicePos (x, obj);
		y = moveYbySlicePos (y, obj);
	}
	if (document.layers) {
		if (menu) {
			var l = menu.menuLayer || menu;
			l.top = l.left = 1;
			hideActiveMenus();
			if (this.visibility) l = this;
			window.ActiveMenu = l;
		} else {
			var l = child;
		}
		if (!l) return;
		for (var i=0; i<l.layers.length; i++) { 			   
			if (!l.layers[i].isHilite) l.layers[i].visibility = "inherit";
			//var z; 	if(!z) z="relative";  //trying to move menu up
			if (l.layers[i].document.layers.length > 0) MM_showMenu(null, "relative", "relative", l.layers[i], 0);
		}
		if (l.parentLayer) {
			if (x != "relative") l.parentLayer.left = x || window.pageX || 0;
			if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
			if (y != "relative") l.parentLayer.top = y || window.pageY || 0;
			if (l.parentLayer.isContainer) {
				l.Menu.xOffset = window.pageXOffset;
				l.Menu.yOffset = window.pageYOffset;
				l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
				l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
				if (l.parentLayer.menuContainerBgColor && l.Menu.menuBgOpaque ) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
			}
		}
		l.visibility = "inherit";
		if (l.Menu) l.Menu.container.visibility = "inherit";
	} else if (FINDIT("menuItem0")) {
		var l = menu.menuLayer || menu;	
		hideActiveMenus();
		if (typeof(l) == "string") l = FINDIT(l);
		window.ActiveMenu = l;
		var s = l.style;
		s.visibility = "inherit";
		if (x != "relative") {
			s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
			s.left = s.pixelLeft + 'px';
		}
		if (y != "relative") {
			s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
			s.top = s.pixelTop + 'px';
		}
		l.Menu.xOffset = document.body.scrollLeft;
		l.Menu.yOffset = document.body.scrollTop;
	}

	if (menu) window.activeMenus[window.activeMenus.length] = l;
	MM_clearTimeout();


}



// End Main Navigation Menu Scripts for Dangelmayer Associates by WebPaws.com
