
/***********************************************
* Switch Content script- c Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var enablepersist="off" //Enable saving state of content structure using session cookies? (on/off)
var collapseprevious="yes" //Collapse previously open content when opening present? (yes/no)

var contractsymbol='- ' //HTML for contract symbol. For image, use: <img src="whatever.gif">
var expandsymbol='+ ' //HTML for expand symbol.


if (document.getElementById){
document.write('<style type="text/css">')
document.write('.switchcontent{display:none;}')
document.write('</style>')
}

function getElementbyClass(rootobj, classname){
var temparray=new Array()
var inc=0
var rootlength=rootobj.length
for (i=0; i<rootlength; i++){
if (rootobj[i].className==classname)
temparray[inc++]=rootobj[i]
}
return temparray
}

function sweeptoggle(ec){
var thestate=(ec=="expand")? "block" : "none"
var inc=0
while (ccollect[inc]){
ccollect[inc].style.display=thestate
<!-- Original:  Benjamin Wright, Editor -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Preload Images
var topleft = new Image(); topleft.src = "img/topleft_on.gif";
var topright = new Image(); topright.src = "img/topright_on.gif";
var botleft = new Image(); botleft.src = "img/botleft_on.gif";
var botright = new Image(); botright.src = "img/botright_on.gif";
var botcleft = new Image(); botcleft.src = "img/botcleft_on.gif";
var botcright = new Image(); botcright.src = "img/botcright_on.gif";
var topleftj = new Image(); topleftj.src = "img/topleft_onj.gif";
var toprightj = new Image(); toprightj.src = "img/topright_onj.gif";
var botleftj = new Image(); botleftj.src = "img/botleft_onj.gif";
var botrightj = new Image(); botrightj.src = "img/botright_onj.gif";
var botcleftj = new Image(); botcleftj.src = "img/botcleft_onj.gif";
var botcrightj = new Image(); botcrightj.src = "img/botcright_onj.gif";
var mwound = new Image(); mwound.src = "img/mwound_on.gif";
var mhome = new Image(); mhome.src = "img/mhome_on.gif";
var mcorp = new Image(); mcorp.src = "img/mcorp_on.gif";
var mpersonal = new Image(); mpersonal.src = "img/mpersonal_on.gif";
var mconsulting = new Image(); mconsulting.src = "img/mconsulting_on.gif";
var mfeet = new Image(); mfeet.src = "img/mfeet_on.gif";
//  End -->

