function checkmobile()
{
	var ua = navigator.userAgent.toLowerCase();
	var isiphone = ua.indexOf("iphone") > -1;
	var isipad = ua.indexOf("ipad") > -1; 
	var isAndroid = ua.indexOf("android") > -1;
	if(isipad || isAndroid || isiphone  ) 
	{
		window.location.href  = "device/index.html";  //
	}else{
		window.location.href  = "html/index.html";	
	}
}

