$m.add("mobile",{
	isM: false,
	checked: false,
	init: function() {
		$do(function(){
			if($m("mobile").isMobile()) {
				$body.addClass("ice-mobile");
			}else{
				$body.addClass("ice-desktop");
			}
		});
	},
	isMobile: function() {
		if($m("mobile").checked===true) return $m("mobile").isM;
		$m("mobile").isM = !!(/android|iphone|ipod|ipad|ios|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent));
		$m("mobile").checked = true;
		return $m("mobile").isM;
	}
});
$m("mobile").init();
