Total Posts: 27
I am not sure what you actually want to do, but here is the solution on the basis that I understood from your post:
2. Add the file either to page.xml or local.xml
3. Place the file in magento->js->your_theme_name folder or magento->app->design->frontend->default->your_theme_name->js folder.
If you think that I have diverted myself from what you want, then please clarify and brief your issue.