if (d.tolerance == "touch")k = !(a.left > h || a.right < b || a.top > i || a.bottom < g); else if (d.tolerance == "fit")k = a.left > b && a.right < h && a.top > g && a.bottom < i;