Only the quick action of Capt. Samuel B. Norton, the skill and equipment of the Edgartown Fire Department, the aid of the sprinkler system just installed and not ready to function automatically, and one or two elements of chance such as a lack of wind and the time at which smoke and flames appeared over and through the building, prevented the destruction of the Harbor View Hotel in what was so nearly a disastrous conflagration late Wednesday afternoon.