function checkMobile(){
var ua = navigator.userAgent.toLowerCase();
var isPad = ( /ipad|android 3|tablet|playbook|xoom|kindle/i.test(ua) );
if(isPad){
return false;
}
var isMobile = ( /iphone|ipod|android|phone|mobile|opera mobi|opera mini|ucbrowser|ucweb|iemobile|nokia|symbian|symbianos|blackBerry|palm|smartphone/i.test(ua) );
if(isMobile){
return true;
}
return false;
}