The pilot initiated an intersection takeoff while the fuel selector was between fuel tank detents. Shortly after takeoff, the engine experienced fuel starvation followed by a complete loss of engine power. During the forced landing, the left wing impacted a tree and the airplane subsequently nosed over and came to rest in an inverted position.