An electric resistance layer 4-82 and an active layer 4-81 are formed by patterning so that the electric resistance layer 4-82 lies in the area corresponding to the place where the source electrode 5-81 is to be provided, and the active layer 4-81 is located in an area other than the place where the electric resistance layer 4-82 is disposed.