Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
357 B
JavaScript

function toggle (name)
{
var element = document.getElementById (name);
if (element.style.display == 'none')
element.style.display = '';
else
element.style.display = 'none';
}
function highlight (element)
{
element.style.background = "#eee";
}
function unhighlight (element)
{
element.style.background = "none";
}