Index: lams_central/web/includes/javascript/monitorToolSummaryAdvanced.js =================================================================== diff -u --- lams_central/web/includes/javascript/monitorToolSummaryAdvanced.js (revision 0) +++ lams_central/web/includes/javascript/monitorToolSummaryAdvanced.js (revision c91afa63b4a79fca07f67c44b82869e1c486f472) @@ -0,0 +1,17 @@ + +// Toggles whether to display advanced options in monitor summary for tools +function toggleAdvancedOptionsVisibility(div, img, imageUrl) +{ + var treeClosedIcon = imageUrl + "/images/tree_closed.gif"; + var treeOpenIcon = imageUrl + "/images/tree_open.gif"; + if (div.style.display == "block") + { + div.style.display = "none"; + img.src = treeClosedIcon; + } + else if (div.style.display == "none") + { + div.style.display = "block"; + img.src = treeOpenIcon; + } +} \ No newline at end of file