function FAOpenNewWindow(URL) {
var screenWidth = screen.availWidth;
  var screenHeight = screen.availHeight
  var widthReal = screenWidth * 0.8;
  var heightReal = screenHeight * 0.6;
  var topPos = (screenHeight - heightReal)/4;
  var leftPos = (screenWidth - widthReal)/2;
  newwindow=window.open(URL,"mywindow", "toolbar=1, scrollbars=1, location=1, statusbar=1, menubar=1, resizable=1, width = 800, height=500, top=1,left=1");
   }
 


