If all you want to do is open overlay from a text link, here is the solution.
1. Between your script tags, insert this code: $("a[rel]").overlay();
2. Then on your link add your 'rel' name to the a tag like this: a href="#YourLink" rel="#YourRel"
1. Between your script tags, insert this code: $("a[rel]").overlay();
2. Then on your link add your 'rel' name to the a tag like this: a href="#YourLink" rel="#YourRel"