(function($){$(function(){if( navigator.userAgent.search(/iPhone|iPod/) == -1 ){ return true; }	window.addEventListener('load', function(){		function doScroll() { if (window.pageYOffset === 0) { window.scrollTo(0,1); } }		setTimeout(doScroll, 100);	}, false);	$('body.pageRestaurant').each(function(){		if( $('body').hasClass('nonflash') ){ return true; }		if( $('body.pageRestaurant') ){			$('.leftContents, .rightContents').remove();			}	});	//top	$('body#home').each(function(){		location.href = "/news/";	});		var ipw=300;		//global nav	var elm = $('#globalNav li#gnav07');	var reg = new RegExp("<span.*>(.+)<\/span>");	var txt = '<a href="/mb/">'+elm.html().match(reg)[1]+'</a>';	elm.html(txt);		$('.pageAbout .mt15px img').each(function(){		var trg = $(this);		trg.parent().html( '<span style="color:#09f;">'+trg.attr('alt')+'</span>' );	});	//img chage txt	var cliptag = $('h2 > img, h3 > img').not("body.pageParticipate .howtoList02 h3 > img");	cliptag.each(function(){		var trg = $(this);		//if( trg.width()>=320 ){			trg.parent().html( trg.attr('alt') );		//}	});	//big img resize	var imgs = $('.section img').not("h2 > img, h3 > img, p#logo3 > img");	imgs.each(function(){		var trg = $(this);		if( trg.width()>=ipw ){			trg.attr('width',ipw);			trg.attr('height',(trg.height()*(ipw/trg.width())).toFixed(1));		}	});//	$('body.pageParticipate .howtoList02 h3 > img').each(function(){		var trg = $(this);		if( trg.width()>=ipw ){			trg.attr('width',ipw);			trg.attr('height',(trg.height()*(ipw/trg.width())).toFixed(1));		}	});		$('#tapVision, #clockWhiteColumn').each(function(){		$(this).replaceWith('<div class="caution">パソコンからご覧ください</div>');	});		$('#posterList img').each(function(){		var trg = $(this);		var b=ipw/2;		trg.attr('width',b);		trg.attr('height',(trg.height()*(b/trg.width())).toFixed(1));	});		$('p#logo3 > img').each(function(){		var trg = $(this);			trg.attr('width',trg.width()*0.7);			trg.attr('height',trg.height()*0.7);	});	});})(jQuery);
