﻿function PopAnswer(file, width, height, scrolling)
//       ~~~~~~~~~
{
  leftPoint = (window.screen.availWidth - width) / 2;
  topPoint = (window.screen.availHeight - height) / 2;
  if (scrolling)
    scrollingBars = 1;
  else
    scrollingBars = 0;
  var oWindow = open(file, "PopAnswer", "scrollbars=" + scrollingBars + ",width=" + width + ",height=" + height + ",status=0,top=" + topPoint + ",left=" + leftPoint)
  oWindow.focus();
}
