function NewWindow(mypage, myname, w, h, scroll) {
  var winl = (screen.width - w) / 2;
  var wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize'
  win = window.open(mypage, myname, winprops)
  if (parseInt(navigator.appVersion) >= 4) 
    { win.window.focus(); }
}

function hideElement(what){
	var elemento = document.getElementById(what);
	elemento.style.display = "none";
	elemento.style.position = "absolute";
	elemento.style.left = "-1000";
	elemento.style.top = "-1000";
}