function resize() {
  if (parent != null && parent != self) {
    parent.document.getElementById('contentframe').height= this.document.body.scrollHeight+25;
  }
}
function Rebuild() {
  if (parent == self) {
    location.href = 'index.php?side=' + this.location;
  }
}

