// facebox
jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox() 
}) 

// アコーディオンメニューの実装
var j_achordion$ = jQuery;
 
j_achordion$(function(){
  j_achordion$(".acc").each(function(){
    j_achordion$("li > a", this).each(function(index){
      var $this = j_achordion$(this);

      if(index >= 1) $this.next().hide();
      
      $this.click(function(){
        var params = {height:"toggle", opacity:"toggle"};  
        j_achordion$(this).next().animate(params).parent().siblings()  
          .children("ul:visible").animate(params); 
        return false;
      });
    });
  });
});

