var LAYERSET_JS = true;var LAYERSET_TYPE_MEM = new Array();var LAYERSET_DEFAULT_DISPLAY = 'block';// Easily create and work with a "Layerset" array of all the DIV children of an object// For best results, uses getelement.jsfunction ls_hide_func(element){	// To allow easy switching of the method	element.style.visibility = 'hidden';}function ls_show_func(element){	// To allow easy switching of the method	element.style.visibility = 'visible';}function ls_collapse_func(element){	element.style.display = 'none';}function ls_uncollapse_func(element){	element.style.display = LAYERSET_TYPE_MEM[element.id];}function layerset(root, tag, restore_to){	root = (typeof(root) == 'string') ? document.getElementById(root) : root;	if (!tag) { tag="div"; } // default	elements = root.getElementsByTagName(tag);		for (i=0; i<elements.length; i++) {		var restore;				if (elements[i].style.display) {			restore = elements[i].style.display;		}		else {			restore = restore_to ? restore_to : LAYERSET_DEFAULT_DISPLAY;		}				LAYERSET_TYPE_MEM[elements[i].id] = restore;	}		return elements;}function hide_all(set){	var i;	for (i=0; i<set.length; i++) {		ls_hide_func(set[i]);	}}function collapse_all(set){	var i;	for (i=0; i<set.length; i++) {		ls_collapse_func(set[i]);	}}function show_only(set, id){	var i;	for (i=0; i<set.length; i++) {		if (set[i].id != id) {			ls_hide_func(set[i]);		}		else {			ls_show_func(set[i]);		}	}}function uncollapse_only(set, id){	var i;	for (i=0; i<set.length; i++) {		if (set[i].id != id) {			ls_collapse_func(set[i]);		}		else {			ls_uncollapse_func(set[i]);		}	}}