Out of my tree

Anybody know the origin of the phrase "out of my tree", as in "I'm bored out of my tree" or "I was scared out of my tree"?

Replies