var ua = navigator.userAgent; if ((ua.match(/iPhone/i)) || (ua.match(/Android/i))) { location.replace("drum-lessons-alameda-county-mobile.html"); }