<script>
var MobilePlatformCase_ = {
Android: function() { return navigator.userAgent.match(/Android/i) ? "Android" : ""; },
BlackBerry: function() { return navigator.userAgent.match(/BlackBerry/i) ? "BlackBerry" : ""; },
iOS: function() { return navigator.userAgent.match(/iPhone|iPad|iPod/i) ? "iOS" : ""; },
Windows: function() { return navigator.userAgent.match(/IEMobile/i) ? "Windows Phone" : ""; }
};
function MobilePlatform_() {
return MobilePlatformCase_.Android() + MobilePlatformCase_.BlackBerry() + MobilePlatformCase_.iOS() + MobilePlatformCase_.Windows();
}
function IsMobilePlatform_() {
if (navigator.platform.indexOf("Win32") != -1) return false;
if (MobilePlatform_() == "") return false;
return true;
}
function RedirectWap(par) {
//var system={win:false,mac:false,xll:false};var _p=navigator.platform;system.win=_p.indexOf("Win")==0;system.mac=_p.indexOf("Mac")==0;system.x11=(_p=="X11")||(_p.indexOf("Linux")==0);if(!system.win&&!system.mac&&!system.xll)window.location=par;
if(IsMobilePlatform_())window.location=par;
}
RedirectWap("/m");
</script>