selregion function

Select horizontal regions