RIGHT-ANGLED LINKS IN THICKENED SURFACES