if (classroot.height == classroot.minheight) { classroot.open.setAttribute('visible',true); newheight = classroot.maxheight; } else { classroot.open.setAttribute('visible',false); newheight = classroot.minheight; } classroot.animate('height', newheight, 300); contacts