You can download SQL Server 2008 Mirroring SQL Scripts for free at http://www.dbarchitechs.com/?page=script