$(function () {
$(window).on('load', function(){
$(".slidebox").bgswitcher({
images:['images/mv_01.jpg','images/mv_02.jpg'],
interval:4000
});
$(window).on('resize', function () {
var topOffset = $('.section02 table tr').eq(0).offset().top;;
var bottomOffset = $('.section02 table tr:last').offset().top;;
$('#main #section02 .tour_dot').height(bottomOffset - topOffset - 50);
var leftOffset = $('.section02 table tr td').eq(0).width() / 2 - 4;
$('#main #section02 .tour_dot').css('left', (leftOffset) + 'px');
}).trigger('resize');
});
});