if(document.documentElement.clientWidth <= 787 && document.URL.search("mobile") == -1)
{
if(navigator.userAgent.indexOf("Android") != -1) { document.location(document.URL + "?useformat=mobile"); } else { window.location.replace(document.URL + "?useformat=mobile"); }
}