var tys = $("#types").html();if (tys == 9) {location.href = "/errors.html";}