The Middle Digit

An interesting pattern involving the middle digit appears in the square of numbers whose digits are all 1’s (12, 112, 1112, 11112, etc.). How does the number of 1’s relate to the middle digit of the squared number? How does the number of 1’s relate to the number of digits of the squared number?

(Source: Mathematics Teaching in the Middle School, Sep-Oct 1994)