var phoneWidth = parseInt(window.screen.width); var phoneScale = phoneWidth / 540; var ua = navigator.userAgent; if (/Android (\d+\.\d+)/.test(ua)) { var version = parseFloat(RegExp.$1); if (version > 2.3) { document.write(''); } else { document.write(''); } } else { document.write(''); }