Given that he's doing this in LiveSite, doesn't he need a java based solution?
Did not notice that.. however the question itself was not clear
You never know in the wrong Forum... It might be not clear only to you
Then, I have to create a Java based solution I think...