1) Script Title: Switch Content Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tchcontent.htm

3) Describe problem: Is it possible to put the 'invocation code' in an external .js file or inside 'switchcontent2.js' when using common settings across multiple pages?

<script type="text/javascript">
var vstext=new switchcontent("vsgroup", "p") //, "p" Limit scanning of switch contents to just "p" elements
vstext.setStatus('[less...] ', '[more...] ')
vstext.setColor('E4B1B1', '505050')
vstext.collapsePrevious(false) //Allow more than 1 content to be open simultanously