IF (hsub_dat(ihsub)(1:1) .EQ. 'x') THEN
IF ((hsub_dat(ihsub)(1:1) .EQ. 'y')
& .OR. (hsub_dat(ihsub)(2:2) .EQ. 'y')) THEN
character*(5) horz_dat(CW_MAX_LOC), hsub_dat(CW_MAX_LOC),
data hsub_dat /
n = ILNBLNK(hsub_dat(ihsub))
name((ntot+1):(ntot+n)) = hsub_dat(ihsub)(1:n)