In an upcoming D&D encounter that I am running the party has taken command of a small ship and are trying to sail across the sea to a secret island with a lost treasure (never bean done before).
On their way they are going to get intercepted by a pirate ship. I don't really have any experience with naval encounters and don't know how to run them. What mechanics for naval combat exist in D&D 3.5 and in which books are they in?