var splashWin

function openWin(uri,title, width, height, left, top, properties, vollbild) {

if (vollbild == 1)
{
  if (document.layers)
  {
    var width=screen.availWidth-10;
    var height=screen.availHeight-20;
  }
  else
  {
    var width=screen.availWidth-10;
    var height=screen.availHeight-29;
  }
}
else
{
  var w = window.screen.width;
  var h = window.screen.height;
}
  var l = (left != null) ? left : (w-width)/2;
  var t = (top != null) ? top : (h-height)/2;

  splashWin = window.open(uri, title, "width="+width+",height="+height+",top="+t+",left="+l+","+properties);
  splashWin.focus();
  return splashWin;
}
