Hello to all JS gurus out here !

I'm using the dhtml api provided by Walter Zorn
to make a small interface draggable.

Everything works fine when testing things in HTML (the file extension is html) and I can manage to have my interface dragged around the browser.

However when I switch to JSP (jsp file extension) I get the following javascript error :

SET_DHTML is not defined

I've tried to rewrite my jsp page multiple times and the

<script type="text/javascript">


part of my code is getting ignored ... just as if didn't exist.

Of course the interface is not draggable anymore..

Does any of you guys have had a simmilar experience ?
What workaround do you suggest ?