$(document).ready(function(){
       $("#visual_button > ul").tabs({fx:{opacity:
"toggle"}}).tabs("rotate",0, true);
       $('#slider').bxSlider({
               displaySlideQty: 5,
               moveSlideQty: 5
       });
       // 読み込み後実行
       include_file(function () {
               $("#accordion").find('.accordion_head').click(function() {
                      $(this).next().slideToggle(250);
              }).next().hide();
       });
       // a.includeのhrefのファイルを読み込む
       // 読み込むファイルが存在しなくても実行する
       function include_file(cb) {
               var includes = $('a.include');
               var res = [];
               includes.each(function () {
                       var that = $(this);
                       var file = that.attr('href');
                       res.push($.get(file,function (data) {
                               that.after(data);
                               that.remove();
                       }));
               });
               $.when.apply($, res).then(cb,cb);
       }
});


// ZEBRA EFECT
$(function(){
    $(".zebraList li:even").addClass("even");
});
