// HD Call  v1.1 Copyright 2003-2009 BCP CREATIONS. All Rights Reserved.
// MAIN FUNCTION: new switchcontent("class name", "[optional_element_type_to_scan_for]") REQUIRED
// Call Instance.init() at the very end. REQUIRED

var HDCall=new switchcontent("HDgroup1", "div") //Limit scanning of switch contents to just "div" elements
/*HDCall.setStatus('<img src="http://img242.imageshack.us/img242/5553/opencq8.png" /> ', '<img src="http://img167.imageshack.us/img167/7718/closedy2.png" /> ')
HDCall.setColor('darkgray', 'gray') //over, off*/
HDCall.setPersist(true)
HDCall.collapsePrevious(true) //Only one content open at any given time
HDCall.init()

/*
var HDCall2=new switchcontent("switchgroup2", "p") //Limit scanning of switch contents to just "p" elements
HDCall2.setStatus('[open] ', '[closed] ')
HDCall2.setColor('green', 'red')
HDCall2.collapsePrevious(false) //Allow more than 1 content to be open simultanously
HDCall2.setPersist(false)
HDCall2.defaultExpanded(0,1)
HDCall2.setContent(0, 'test.htm') //specify remote content for 1st header's content
HDCall2.setContent(1, 'test.htm')  //specify remote content for 2nd header's content
HDCall2.init()
*/
