function windowopen(url,text,width,height) {
  OpenWin = window.open( url,text,'scrollbars=no,resizable=yes,toolbar=no,height='+height+',width='+width);
  if (OpenWin.opener == null)
    OpenWin.opener = self
  else
    if (OpenWin.focus) OpenWin.focus()
  setTimeout('OpenWin.focus()', 300);
  return false;
}

function windowopenscroll(url,text,width,height) {
  OpenWinScroll = window.open( url,text,'scrollbars=yes,resizable=yes,height='+height+',width='+width);

  if (OpenWinScroll.opener == null)
     OpenWinScroll.opener = self
  else
    if (OpenWinScroll.focus) OpenWinScroll.focus()
  setTimeout('OpenWinScroll.focus()', 300);
  return false;
}

function windowopen_close(url,text,width,height) {
  windowopen(url,text,width,height);
  self.close();
  return true;
}

function start_closetimer() {
  window.setTimeout("self.close()", 1);
}

function frage(confirmstr){
  return confirm(confirmstr);
}
