Mechanics of Offshore Pipelines