if (isMobileDevice = navigator.userAgent.match(/iPad|iPhone|iPod/i) != null || screen.width <= 480) { location.href='iOS_intro.html'; }