Forum Moderators: Robert Charlton & goodroi
Google discusses various issues here...
Cloaking, sneaky Javascript redirects, and doorway pages [google.com]
Here's the Matt Cutts discussion...
SEO Mistakes: sneaky JavaScript
[mattcutts.com...]
I don't think they much care how you do the redirect, or whether you use noscript, a nice redirected doorway page, or a crappy one. I think they don't like the user not getting the page that Google displayed in the serps.
Google takes many things into account that your script cannot - including personal search history, immediately previous queries and so on. And yes, they still often don't list the best page for the search phrase.
I think scripting a redirect like this is playing with fire. It might well be considered deceptive, even if you're only redirecting to what you consider to be a more appropriate page. I do understand the temptation, but I would not suggest doing this.