function trafficshowDiv(incDiv,swapButtons){ //appear element selectedDiv = incDiv + "graphdiv"; Effect.BlindDown(selectedDiv, {duration:1}); showSave(); d = document; if (swapButtons){ selectIntLink = selectedDiv + "-min"; textlink = d.getElementById(selectIntLink); textlink.style.display = "inline"; selectIntLink = selectedDiv + "-open"; textlink = d.getElementById(selectIntLink); textlink.style.display = "none"; } selectIntLink = incDiv + "_graph-config"; textlink = d.getElementById(selectIntLink); textlink.value = "show"; updateGraphDisplays(); } function trafficminimizeDiv(incDiv,swapButtons){ //fade element selectedDiv = incDiv + "graphdiv"; Effect.BlindUp(selectedDiv, {duration:1}); showSave(); d = document; if (swapButtons){ selectIntLink = selectedDiv + "-open"; textlink = d.getElementById(selectIntLink); textlink.style.display = "inline"; selectIntLink = selectedDiv + "-min"; textlink = d.getElementById(selectIntLink); textlink.style.display = "none"; } selectIntLink = incDiv + "_graph-config"; textlink = d.getElementById(selectIntLink); textlink.value = "hide"; updateGraphDisplays(); } function updateGraphDisplays(){ var graphs = document.getElementsByClassName('graphsettings'); var graphsdisplayed = ""; var firstprint = false; d = document; for (i=0; i