//;(function(win, doc, $) {
// 'use strict';
// if (!$) { return; }
// $.fn.search = (function() {
// var search = {};
//
// $.extend(search, {
// init: init_,
// redirect: redirect_
// });
//
// function init_() {
// search.redirect()
// $(win).on('resize',search.redirect);
// }
//
// function redirect_() {
// if ($('html').hasClass('device-sp')) {
// location.href = 'http://www.e-map.ne.jp/smt/gskemap/?p_f14=1';
// };
// }
//
// $(function(){
// search.init();
// });
//
// return search;
// })();
//
//})(window, document, jQuery);
;(function(win, doc, $) {
'use strict';
if (!$) { return; }
$.fn.recipient = (function() {
var recipient = {};
$.extend(recipient, {
init: init_
});
function init_() {
var tab_ = $('.tabs li')
tab_.each(function(i) {
var i_ = i;
$(this).click(function(e) {
// tab-section邉サ繧帝撼繧「繧ッ繝�ぅ繝悶↓
$('.tabs>li').each(function() {
$(this).removeClass('active');
});
// 隧イ蠖薙�tabs li 繧誕ctive縺ォ
$('.tabs .tab-'+(i_+1)).addClass('active');
// tab-section邉サ繧帝撼繧「繧ッ繝�ぅ繝悶↓
$('.tab-wrap>.block-frame-inner>div').each(function() {
$(this).removeClass('active');
});
// 隧イ蠖薙�tab-section繧誕ctive縺ォ
$('.tab-wrap .tab-section-'+(i_+1)).addClass('active');
});
});
}
// START
$(function(){
recipient.init();
});
// methodchain逧�↑
return recipient;
})();
})(window, document, jQuery);