The "Days of Our Lives" script Rachel is holding while reading lines with Joey is the actual script for the episode. If you pause and look really closely at the top of the page, you can see the title "The One With Rachel's dream," and the dialogue belongs to "Joey as Drake"
One of the episodes that was submitted from the show at the Emmys for outstanding comedy series.