I like it, but if I have more space, I'd want to use it again :) Hahah... Ah, the perils of having so many different types of issues!
For instance, the first section might work, but it might be inside of a function that you need to close out:
function bob() {
do_stuff("your text goes here");
}
To get around that you'd need something like:
");}alert(1)function xss(){//
- RSnake
Gotta love it.
http://ha.ckers.org