A century from Graham Napier dragged Essex to 226 all out against Lancashire, who lost opener Paul Horton before stumps to end the opening day on 7-1.