Warning: Undefined array key "HTTP_ACCEPT_ENCODING" in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 202

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 202

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php:202) in /var/www/vhosts/michinoeki-nakatsu.com/httpdocs/webroot/gbcenter/gb_center.php on line 218
if(!Object.create){Object.create=(function(){function F(){} return function(o){if(arguments.length!=1){throw new Error('Object.create implementation only accepts one parameter.')} F.prototype=o;return new F()}})()};(function($,win,doc,undefined){'use strict';function destroy(elem){var $data=$.data($(elem)[0],'dbpasCarousel');if($data){clearInterval($data.timerHandle);$(elem).parent().parent().find('*').off('.dbpasCarousel');$(elem).unwrap().unwrap().siblings('[data-carousel-control]').remove();$(elem).find('.caption').remove();$(elem).removeAttr('style').children().removeAttr('style');$(elem).removeData('dbpasCarousel')}else{console.log('dbpasCarousel: unable to destroy selected element!')}} var Carousel={init:function(options,elem){var self=this;self.elem=elem;self.$elem=$(elem);self.options=$.extend({},$.fn.dbpasCarousel.options,options);self.timerHandle=null;self.$queue=$({});self.build();self.$wrapper=self.$elem.parent();self.$controlLeft=self.$wrapper.siblings('[data-carousel-control="left"]');self.$controlRight=self.$wrapper.siblings('[data-carousel-control="right"]');self.$li=self.$elem.find('li');self.$first_li=self.$elem.find('li:first');self.maxOuterWidth=0;self.maxWidth=0;var slider_name="#dbpas-slider";if(self.options.b_id){slider_name=slider_name+self.options.b_id} if(self.options.name){slider_name="#"+self.options.name} self.get_deta_row=$(slider_name).attr("data-row");self.get_deta_count=1;self.get_deta_max=$(slider_name).attr("data-max");self.get_data_width=$(slider_name).attr("data-width");self.maxLeftCount=self.get_deta_max-self.get_deta_row;if(self.maxLeftCount<0){self.maxLeftCount=0} self.maxRightCount=self.get_deta_count;self.$li.each(function(){if($(this).outerWidth()>=self.maxOuterWidth){self.maxOuterWidth=$(this).outerWidth();self.maxWidth=$(this).width()} if(self.options.imgCaption&&$(this).find('img:first').attr('alt')){$(this).append($('

').addClass('caption').html($(this).find('img:first').attr('alt')))}});self.$li.css({'width':(self.maxWidth)+'px'});if($('#dad-preview').length&&$('#dad-preview').hasClass('dad-preview-pc')&&self.$li.find('.type008-box').length&&!self.$li.find('.type008-box').hasClass('type001')){self.$first_li.css({'margin-left':'7.5px'})} self.$wrapper.css({'max-width':self.get_data_width+'px'});self.$elem.css({'left':'0px'});self.events();self.complete()},build:function(){var self=this;self.$elem.wrap($('

').addClass("dad-not-link panel-open").attr('data-carousel-name',self.$elem.attr('id')||'')).wrap($('
').attr('data-carousel-control','wrapper'));if(self.$elem.data("prev-text")){if(self.options.carouselFlg){self.$elem.parent().parent().prepend($('').attr('tabIndex','0').attr('data-carousel-control','left').attr("data-not-panel","true").addClass("fa fa-angle-left dad-not-link carousel-design sys_style7").html('
'+self.$elem.data("prev-text")+'
')).append($('').html('
'+self.$elem.data("next-text")+'
').attr('data-carousel-control','right').attr("data-not-panel","true").addClass("fa fa-angle-right dad-not-link carousel-design sys_style7"))}else{self.$elem.parent().parent().prepend($('').attr('tabIndex','0').attr('data-carousel-control','left').attr("data-not-panel","true").addClass("fa fa-angle-left dad-not-link mbcolor-op10 fcolor-op20 carousel-design sys_style7").html('
'+self.$elem.data("prev-text")+'
')).append($('').html('
'+self.$elem.data("next-text")+'
').attr('data-carousel-control','right').attr("data-not-panel","true").addClass("fa fa-angle-right dad-not-link mbcolor-op30 fcolor carousel-design sys_style7"))}}else{if(self.options.carouselFlg){self.$elem.parent().parent().prepend($('').attr('tabIndex','0').attr('data-carousel-control','left').attr("data-not-panel","true").addClass("fa fa-angle-left dad-not-link carousel-design sys_style7").html('')).append($('').html('').attr('data-carousel-control','right').attr("data-not-panel","true").addClass("fa fa-angle-right dad-not-link carousel-design sys_style7"))}else{self.$elem.parent().parent().prepend($('').attr('tabIndex','0').attr('data-carousel-control','left').attr("data-not-panel","true").addClass("fa fa-angle-left dad-not-link mbcolor-op10 fcolor-op20 carousel-design sys_style7").html('')).append($('').html('').attr('data-carousel-control','right').attr("data-not-panel","true").addClass("fa fa-angle-right dad-not-link mbcolor-op30 fcolor carousel-design sys_style7"))}}},navigation:function(direction){var self=this;self.leftIndent=0;if(direction=='right'){self.leftIndent=parseInt(self.$elem.css('left'))+self.maxOuterWidth}else{self.leftIndent=parseInt(self.$elem.css('left'))-self.maxOuterWidth} self.$elem.not(':animated').animate({'left':self.leftIndent},self.options.slideDelay,function(){})},timer:function(action){var self=this;if(action=='start'){self.timerHandle=setInterval(function(){self.navigation('left')},self.options.autoDelay)}else{clearInterval(self.timerHandle)}},events:function(){var self=this,eventNS='.dbpasCarousel',pauseActionStart,pauseActionStop,controlAction;if('ontouchstart' in doc.documentElement){controlAction='touchstart'+eventNS;pauseActionStart='touchstart'+eventNS;pauseActionStop='touchend'+eventNS}else{controlAction='click'+eventNS;pauseActionStart='mouseenter'+eventNS;pauseActionStop='mouseleave'+eventNS;$('body').addClass('no-touch')} if(self.options.autoSlide){self.timer('start');if(self.options.hoverPause){self.$wrapper.parent().on(pauseActionStart,function(){self.timer('stop')});self.$wrapper.parent().on(pauseActionStop,function(){self.timer('start')})}} self.$controlLeft.on(controlAction,function(){if(self.$elem.is(':animated')){return}else{if(self.get_deta_count>1){self.get_deta_count--;self.navigation('right');self.$controlRight.css("color","#ABABAB");self.$controlRight.css("border","2px solid #ABABAB");self.$controlRight.removeClass('fcolor-op20');self.$controlRight.addClass('fcolor');self.$controlRight.addClass('mbcolor-op30');self.$controlRight.removeClass('mbcolor-op10')} if(self.get_deta_count==1){self.$controlLeft.css("color","#E6E6E6");self.$controlLeft.css("border","2px solid #E6E6E6");self.$controlLeft.addClass('fcolor-op20');self.$controlLeft.removeClass('fcolor');self.$controlLeft.addClass('mbcolor-op10');self.$controlLeft.removeClass('mbcolor-op30')}}});self.$controlRight.on(controlAction,function(){if(self.$elem.is(':animated')){return}else{if(self.get_deta_count<=self.maxLeftCount){self.get_deta_count++;self.navigation('left');self.$controlLeft.css("color","#ABABAB");self.$controlLeft.css("border","2px solid #ABABAB");self.$controlLeft.removeClass('fcolor-op20');self.$controlLeft.addClass('fcolor');self.$controlLeft.addClass('mbcolor-op30');self.$controlLeft.removeClass('mbcolor-op10')} if(self.get_deta_count>self.maxLeftCount){self.$controlRight.css("color","#E6E6E6");self.$controlRight.css("border","2px solid #E6E6E6");self.$controlRight.addClass('fcolor-op20');self.$controlRight.removeClass('fcolor');self.$controlRight.addClass('mbcolor-op10');self.$controlRight.removeClass('mbcolor-op30')}}})},complete:function(){var self=this;if(typeof self.options.onComplete==='function'){self.options.onComplete.apply(self.$elem)}}};$.fn.dbpasCarousel=function(options){return this.each(function(){if(this.tagName.toLowerCase()=='ul'){if(typeof options==='string'){switch(options.toLowerCase()){case 'destroy':destroy(this);break;default:console.log('dbpasCarousel: "'+options+'" is an invalid method!')}}else{var carousel=Object.create(Carousel);carousel.init(options,this);$.data(this,'dbpasCarousel',carousel)}}else{console.log('dbpasCarousel: selected element is not a "UL"!')}})};$.fn.dbpasCarousel.options={itemsVisible:2,slideDelay:500,autoSlide:0,autoDelay:5000,hoverPause:1,imgCaption:1,onComplete:null,carouselFlg:0,b_id:0,name:""}})(jQuery,window,document)