Ok my script WAS working...then I tried making an xml to go with it. I created a new .js file and then Plus! wouldn't let me run the script saying that it's either 'defective' or I have 'limited rights'. I'm sure there's something in my script that I've overlooked...

Anyway I deleted the .js file and moved the xml file out of the directory I was using. So the script is back to how it was when it was working...only that it's not working!!
[Edit]
I made a new script just then and copied the code from the script that i've uploaded....it worked!?!? Yet still won't work in it's other form...
[/Edit]
Any help is much appreciated, I've attached what I have so far.