if (/Android|webOS|iPhone|iPod|BlackBerry|Windows CE|Windows Phone/i.test(navigator.userAgent)) { if (window.location.href.indexOf("?pc") < 0) { window.location.href = "http://m./store/shop/index.aspx?id=361145"; } }