function ct_switch(trigger, id) { var object = document.getElementById(id); if (object.style.display == "none") { object.style.display = "table-row-group"; trigger.firstChild.nodeValue = "▴\xa0Hide"; } else { object.style.display = "none"; trigger.firstChild.nodeValue = "▾\xa0Show"; }; }; '); define("CT_FLAG", TRUE); ?> > >

Link
▴ Hide get($index, "text"); if (! CMS_TEMPLATE_EDIT) return; //not editing //initial visibility switch $url = CMS_ACTIVE_URL . cms_param(array("_" . unique_id() => "1", "range" => $index, "type" => "text", "value" => ! $hidden)); echo("" . ($hidden ? "□" : "■") . ""); ?>