If you are viewing the standard facebook there is a link on the TOP LEFT of the facebook page. Its a logout option. And i also think that the mobile version also has this in the same place.
The mobile version has a small logout link on the bottom of every page on the right side. There is also a link to the normal page there if you prefer that version.