Lucy24, the code worked great! Thanks so much, help is much appreciated.
Now, if I could just get msnbot-media to realize that my robots.txt file doesn't change every ten minutes I could reduce my server logs by 5%.
Thanks for the welcome. It's great to have folks willing to spend their time helping others.