$(document).ready(function(){
		$("dl.menu_izq dd").hide();
		$("dl.menu_izq dt a").click(function(){
			$("dl.menu_izq dd:visible").slideUp("slow");
			$(this).parent().next().slideDown("slow");
			return false;
		});
	});
	
$(document).ready(function(){
		$("dl.oferta dd:not(:first)").hide();
		$("dl.oferta dt a").click(function(){
			$("dl.oferta dd:visible").slideUp("slow");
			$(this).parent().next().slideDown("slow");
			return false;
		});
	});
	
$(document).ready(function(){
		$("dl.der dd").hide();
		$("dl.der dt a").click(function(){
			$("dl.der dd:visible").slideUp("slow");
			$(this).parent().next().slideDown("slow");
			return false;
		});
	});
	
$(document).ready(function(){
		$("dl.general dd:not(:first)").hide();
		$("dl.general dt a").click(function(){
			$("dl.general dd:visible").slideUp("slow");
			$(this).parent().next().slideDown("slow");
			return false;
		});
	});
	
	
$(document).ready(function(){
		$("dl.drop_down dd").hide();
		$("dl.drop_down dd.show").show();
		$("dl.drop_down dt a").click(function(){
			$("dl.drop_down dd:visible").slideUp("slow");
			$(this).parent().next().slideDown("slow");
			return false;
		});
	});


      $(document).ready(function() {

        $('dd.down_3level, dd.down_4level').hide(); 

        $('dt.arrow_3level, dt.arrow_4level').click(function() {

          var $nextDiv = $(this).next();

          var $visibleSiblings = $nextDiv.siblings('dd:visible');

       

          if ($visibleSiblings.length ) {

            $visibleSiblings.slideUp('slow', function() {

              $nextDiv.slideToggle('slow');

            });

          } else {

             $nextDiv.slideToggle('slow');

          }

        });

      });
      

startList = function() {
if (document.all&&document.getElementById) {
  navRoot = document.getElementById("admin_menu_principal");
  for (i=0; i<navRoot.childNodes.length; i++) {
	node = navRoot.childNodes[i];
	if (node.nodeName=="LI") {
	  node.onmouseover=function() {
		this.className+=" over";
	  }
	  node.onmouseout=function() {
		this.className=this.className.replace(" over", "");
	  }
	}
  }
}
}