// if the modile device, redict to the modile page
var userAgentInfo = navigator.userAgent.toLowerCase();
var murl = "${pageContext.request.contextPath}/NewFile.html" ;
if ((userAgentInfo.match(/(iphone|ipod|android|ipad)/i))) {
location.replace(murl);
return ;
}