 $(document).ready(function() {  
	$("#sideBar .menu,#sideBar .menu2,#sideBar, #header h1 img,#lw_NaviInf2 h4,#lw_SFormL h3 img").pngfix();  
	});

var j$ = jQuery; 
 
j$(function(){ 
  j$(".menu > ul ").each(function(){ 
    j$("li.page-item-15 > a", this).each(function(index){ 
      var $this = j$(this); 
 
      if(index > 0) $this.next().hide(); 
      $this.click(function(){ 
var params = {height:"toggle", opacity:"toggle"}; 
j$(this).next().animate(params).parent().siblings() 
  .children("ul:visible").animate(params); 
        return false; 
      }); 
    }); 
  }); 
});

$(document).ready(function(){
  $('li > li > a').click(function(){
    // 引数には開閉する速度を指定します
	$("li > ul").css("display","block");
  });
});

//scroll

$(function() {  
    $('a[href*=#]').click(function() {  
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') &&　location.hostname == this.hostname) {  
            var target = $(this.hash);  
            target = target.length && target;  
            if (target.length) {  
                var sclpos = 30;  
                var scldurat = 1200;  
                var targetOffset = target.offset().top - sclpos;  
                $('html,body')  
                    .animate({scrollTop: targetOffset}, {duration: scldurat, easing: "easeOutExpo"});  
                return false;  
            }  
        }  
    });  
});  


 
