﻿function PopUp(url, width, height) {
  var screenWith = window.screen.width;
  var screenHeight = window.screen.height;

  var left = (screenWith - width) / 2;
  var top = (screenHeight - height) / 2;

  window.open(url,"_blank","width="+width+",height="+height+",left="+left+",top="+top+",location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no");
}