/*
hide.js 
(c) Ing. Jan Malý, 2006-2007 *** http://triablo.net
It is forbidden to copy and (or) publish any parts of this code withnout my permission!
*/    
  
function hideedit() {
  var id = document.getElementById('interface');
  var id2 = document.getElementById('interface2');
  id.style.visibility = "hidden";
  id2.style.visibility = "visible";
}

function showedit() {
  var id = document.getElementById('interface');
  var id2 = document.getElementById('interface2');
  id.style.visibility = "visible";
  id2.style.visibility = "hidden";
}

function recomputeHeight() {
  var id = document.getElementById('interface'); 
  var id2 = document.getElementById('interfaceinner');
  
  id.style.height = (id2.clientHeight + 60) + "px";
  if(id.offsetTop < 0) {
    id.style.marginTop = 0 + "px";
    id.style.top = 15 + "px";
  }
}

