I’m having the same exact problem, I’m running the latest version of WordPress v.2.0.5. I tried figuring the entire thing out on my own, and even went to the extent of using your exact code listed above. The only difference between the two of us is the fact, I’m running my system at 1024. Any ideas? Thanks so much!
-Matt