A procedure is given for the calculation of the weight function for a
surface crack located in a thin surface layer perpendicular to the int
erface. The procedure is demonstrated for cracks approaching the inter
face and cracks going beyond the interface.