').attr({'data-sc-role':'modal'}).prependTo('body:eq(0)').hide();var $modalInner=$('
').attr({'data-sc-role':'modal-inner'}).appendTo($modal);if(href.substring(0,1)=='#'){$(href).show().appendTo($modalInner);$modal.fadeIn(200);$('*[data-sc-role="wrapper"]').fadeOut(100);}else{}});var pathname=location.pathname;$(window).bind('popstate',function(e){e.preventDefault();if(pathname==location.pathname){$('*[data-sc-role="modal"]').fadeOut(100,function(){$('*[data-sc-role="modal-inner"]').children().hide().appendTo('body:eq(0)');$(this).remove();});$('*[data-sc-role="wrapper"]').fadeIn(200);}});});})(jQuery);$(function(){$('.gMap').css('width','100%');$('.twtr-doc').css('width','');$('.rslides img').css('max-width','');$('#navi img').css('max-width','');});$(document).ready(function(){$('.accordion_head').click(function(){$(this).next().slideToggle();}).next().hide();});window.addEventListener('load',function(){setTimeout(doScroll,100);},false);window.onorientationchange=function(){setTimeout(doScroll,100);};function doScroll(){if(window.pageYOffset===0){window.scrollTo(0,1);}}