Hey kkeith29,
Big thanks for code rewrite but unfortunately it isn't writing the file at all and there are no errors being output.
When run it just shows a blank page, then when I check my js_includes folder it doesn't have the file.
I haven't tried editing any of the code as I'm sort of out of ideas.
I also had a look at what it would take to include the content directly and it isn't nice. I'm stumped.
If you've any further ideas please post but if not many thanks for the help so far.
Richard