Well thanks guys! I’m flattered!
If you need assistance, let me know!
The javascript should work regardless on which publishing system you are. Just use these lines:
<link rel="alternate stylesheet" href="/some/path/grey.css" type="text/css" title="grey" />
Then, in the .js file change the TEMPLATEDIR to wherever the alternate CSS files live (it should be /some/path/) and you should be fine!