Jquery File Explorer - security and two instances

Jquery File Explorer - security and two instances

Hello,
   I have created a plugin called JQuery File Explorer (maybe I'll change the name later, who knows?) It's designed to mimic Windows Explorer-type operation. I was wondering if anyone would be willing to have a look at the code and address two glaring issues that I have:

1. It seems like something like this would be pretty insecure, so I would need to maybe put something in the ASP backend to prevent someone from arbitrarily changing the location of the root folder via Firebug or something like that. Any security concerns addressed would be well appreciated.

2. I need to be able to create two File Explorer plugins on the same page. The problem is that the var o that is created in the plugin is used again, and I'm not aware of the best way to handle that.

Any help would be greatly appreciated. Thanks to the jQuery File Tree plugin folks (http://abeautifulsite.net/blog/2008/03/jquery-file-tree/) for lots of concepts and icons!